facebook

Cannot start a newly created domain with SUN Java AS 8.1

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #225607 Reply

    AlexDinamo
    Member

    I was happily evaluating MyEclipse against Sun Java Application Server Platform Edition 8.1 2005Q1 until I decided to delete my domain and recreate it using asadmin command line tool.

    From then, I was able to start my domain using the Sun tools, and deploy and work correctly, but MyEclipse was unable to bring up the domain again. On the console I could see the following error:

    [#|2005-02-22T13:18:10.502-0600|WARNING|sun-appserver-pe8.1|javax.enterprise.system.stream.err|_ThreadID=10;|java.lang.ExceptionInInitializerError
        at com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:59)
        at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:215)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:284)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    Caused by: java.lang.IllegalStateException: Keystore was tampered with, or password was incorrect
        at com.sun.enterprise.security.SecuritySupportImpl.loadStores(SecuritySupportImpl.java:80)
        at com.sun.enterprise.security.SecuritySupportImpl.<init>(SecuritySupportImpl.java:48)
        at com.sun.enterprise.security.SecuritySupportImpl.<init>(SecuritySupportImpl.java:43)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at java.lang.Class.newInstance0(Class.java:308)
        at java.lang.Class.newInstance(Class.java:261)
        at com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl.invoke(PluggableFeatureFactoryBaseImpl.java:53)
        at $Proxy0.getSecuritySupport(Unknown Source)
        at com.sun.enterprise.security.SecurityUtil.getSecuritySupport(SecurityUtil.java:338)
        at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:68)
        ... 4 more

    The software I have is:

    Eclipse Version: 3.0.1
    Build id: 200409161125

    MyEclipse Version: 3.8.4
    Build id: 200501171200-3.8.4

    Windows 2003 Server

    By the way: I had to recreate my Sun AS domain because at some moment, lots of redeployments (I was testing code), the deployment started to failed repeatedly saying “No such string” and “Cannot delete file” (sorry, I don’t have the log now). This happened to me twice, the first time I deleted the EAR project and created a new one with a new name, the second one I reinstalled the domain. I don’t think this is an issue with MyEclipse, but if anyone has any idea, please let me know.

    Thanks,
    Alejandro Escalante Medina

    #225676 Reply

    Riyad Kalla
    Member

    Alejandro,
    Did the domain name change AT ALL? Please re-verify your Sun App Server 8.1 settings in MyEclipse…. when you have the domain name wrong it can give *a lot* of really strange looking exceptions.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Cannot start a newly created domain with SUN Java AS 8.1

You must be logged in to post in the forum log in