facebook

adding weblogic 7.0 to myeclipse

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

    Hello techies,
    I am very new to myeclipse.
    I am trying to start weblogic server 7.0 from myeclipse.
    It is showing the following error

    Starting WebLogic Server…
    <Jun 9, 2005 5:45:03 PM GMT+05:30> <Warning> <Management> <000000> < -Dweblogic.Domain=<domainName> is no longer a required command line option, if you don’t pass it in the domain name can be be inferred from the configuration file : config.xml>
    ***************************************************************************
    The WebLogic Server did not start up properly.
    Exception raised:
    java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848
    at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
    at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:244)
    at weblogic.management.internal.Helper.getAdminOrConfigMBeanInfo(Helper.java:135)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:110)
    at weblogic.management.AdminServer.<init>(AdminServer.java:130)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:90)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:665)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
    at weblogic.Server.main(Server.java:31)

    I had given the following information

    BEA Home Directory c:\bea
    Weblogic Installation Directory C:\bea\weblogic700
    Admin userName Ramu
    AdminPassword *****
    Excution domain root C:\bea\user_projects\ramudomain
    Excution domain name ramudomain
    Excution server name myserver
    HostName: port Number localHost:7001
    Security policy C:\bea\jdk131_02 \jre\lib\security\java.policy

    JAAS login configuration file

    What is the name of JAAS login configuration file i have to give??
    where can i find this file Name??
    Is this is the problem for the server not to start properly??
    Also i did not give any information to Paths tab
    What is the path information i have to give ??

    Why the server is not started properly??

    Can any body help me. I will be very thankfull to him.

    Thanks(inadvance),
    ramu

    #230811 Reply

    Riyad Kalla
    Member

    What is the name of JAAS login configuration file i have to give??

    You don’t have to give one.

    Also i did not give any information to Paths tab

    That’s fine.

    Why the server is not started properly??

    Under your “JDK” settings, what did you select from the drop down? Also did you specify any “Optional Java VM Arguments”, if so, what were they?

    #230825 Reply

    Hi riyad,
    Thanks for u r reply.
    I had placed the following information in jdk page.

    JREType standrad Vm
    JREName bearamjdk
    JRE home directory C:\bea\jdk131_02
    DefaultVmArguments

    When i had given the jdk path which is provided by BEA(from weblogic download) it is working fine.
    The folloing jar file are included.
    C:\bea\jdk131_02\jre\lib\rt.jar
    C:\bea\jdk131_02\jre\lib\i18n.jar
    C:\bea\jdk131_02\jre\lib\sunsasign.jar

    Then the WL server is running successfully. The following is displayed on the console

    Starting WebLogic Server…
    <Jun 9, 2005 8:52:21 PM IST> <Warning> <Management> <000000> < -Dweblogic.Domain=<domainName> is no longer a required command line option, if you don’t pass it in the domain name can be be inferred from the configuration file : config.xml>
    <Jun 9, 2005 8:52:23 PM IST> <Notice> <Management> <140005> <Loading configuration C:\bea\user_projects\ramudomain\config.xml>
    <Jun 9, 2005 8:52:29 PM IST> <Notice> <Security> <090082> <Security initializing using realm myrealm.>
    <Jun 9, 2005 8:52:30 PM IST> <Notice> <WebLogicServer> <000327> <Starting WebLogic Admin Server “myserver” for domain “ramudomain”>
    <Jun 9, 2005 8:52:41 PM IST> <Notice> <Management> <141052> <Application Poller started for development server.>
    <Jun 9, 2005 8:52:42 PM IST> <Notice> <Security> <090092> <SSL will load trusted CAs from the JDK cacerts KeyStore: C:\bea\jdk131_02\jre\lib\security\cacerts for realm myrealm on server myserver.>
    <Jun 9, 2005 8:52:42 PM IST> <Alert> <WebLogicServer> <000297> <Inconsistent security configuration, java.lang.Exception: Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Wed May 31 03:08:01 IST 2000, not after = Fri May 14 03:08:01 IST 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com Email=support@bea.com , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority Email=support@bea.com , key = modulus length=65 exponent length=3>
    java.lang.Exception: Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Wed May 31 03:08:01 IST 2000, not after = Fri May 14 03:08:01 IST 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com Email=support@bea.com , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority Email=support@bea.com , key = modulus length=65 exponent length=3
    at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:537)
    at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:288)
    at weblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:1518)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:858)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:294)<Jun 9, 2005 8:52:42 PM IST> <Emergency> <Security> <090034> <Not listening for SSL, java.io.IOException: Inconsistent security configuration, java.lang.Exception: Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Wed May 31 03:08:01 IST 2000, not after = Fri May 14 03:08:01 IST 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com Email=support@bea.com , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority Email=support@bea.com , key = modulus length=65 exponent length=3.>

    at weblogic.Server.main(Server.java:31)
    <Jun 9, 2005 8:52:43 PM IST> <Notice> <WebLogicServer> <000331> <Started WebLogic Admin Server “myserver” for domain “ramudomain” running in Development Mode>
    <Jun 9, 2005 8:52:43 PM IST> <Notice> <WebLogicServer> <000354> <Thread “ListenThread.Default” listening on port 7001>
    <Jun 9, 2005 8:52:43 PM IST> <Notice> <WebLogicServer> <000365> <Server state changed to RUNNING>
    <Jun 9, 2005 8:52:43 PM IST> <Notice> <WebLogicServer> <000360> <Server started in RUNNING mode>

    Is it correct way of starting the weblogic server from myeclipse??

    Is we have to use the jdk which i had given is correct??

    If so why it is showing the following exception??

    <Jun 9, 2005 8:52:42 PM IST> <Alert> <WebLogicServer> <000297> <Inconsistent security configuration, java.lang.Exception: Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Wed May 31 03:08:01 IST 2000, not after = Fri May 14 03:08:01 IST 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com Email=support@bea.com , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority Email=support@bea.com , key = modulus length=65 exponent length=3>
    java.lang.Exception: Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Wed May 31 03:08:01 IST 2000, not after = Fri May 14 03:08:01 IST 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com Email=support@bea.com , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority Email=support@bea.com , key = modulus length=65 exponent length=3
    at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:537)
    at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:288)
    at weblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:1518)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:858)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:294)<Jun 9, 2005 8:52:42 PM IST> <Emergency> <Security> <090034> <Not listening for SSL, java.io.IOException: Inconsistent security configuration, java.lang.Exception: Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Wed May 31 03:08:01 IST 2000, not after = Fri May 14 03:08:01 IST 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com Email=support@bea.com , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority Email=support@bea.com , key = modulus length=65 exponent length=3.>

    at weblogic.Server.main(Server.java:31)

    why the JREType is showing 2 drop options
    1. standardVm
    2. standard 1.1x vm
    Is their any differenc b/w the two JRETypes??

    Actually iam having jdk1.5.0. If i had given that jdk path it is showing error.
    The following the jdk page.

    JREType StandardType
    JRE name beajdk1.5.0
    JRE home diretory C:\Program Files\Java\jdk1.5.0
    DefaultVMAruguments

    Then the following jar files are included.
    C:\Program Files\Java\jdk1.5.0\jre\lib\rt.jar
    C:\Program Files\Java\jdk1.5.0\jre\lib\jsse.jar
    C:\Program Files\Java\jdk1.5.0\jre\lib\jce.jar
    C:\Program Files\Java\jdk1.5.0\jre\lib\charsets.jar
    C:\Program Files\Java\jdk1.5.0\jre\lib\ext\dnsns.jar
    C:\Program Files\Java\jdk1.5.0\jre\lib\ext\sunjce_provider.jar
    C:\Program Files\Java\jdk1.5.0\jre\lib\ext\sunpkcs11.jar
    C:\Program Files\Java\jdk1.5.0\jre\lib\ext\localedata.jar

    Then it is showing error which i had posted previosly.

    Riyad, What is the impartence of DefaultVmArguments??
    What is the advantage of DefaultVmArguments??

    I had asked so many questions. Plz reply patiently.

    Iam very thankfull to u.

    regards,
    ramu

    #230827 Reply

    Riyad Kalla
    Member

    Is it correct way of starting the weblogic server from myeclipse??

    Is we have to use the jdk which i had given is correct??

    Yes this looks fine.

    If so why it is showing the following exception??

    Hmm, looks like the cert you are using for SSL is expired, I don’t have any experience with WL so I don’t really know. Try googling for it.

    why the JREType is showing 2 drop options
    1. standardVm
    2. standard 1.1x vm
    Is their any differenc b/w the two JRETypes??

    Yes there is, I’m not sure why but Eclipse differentiates between the two and needs to know. For most all cases you will use “Standard VM”.

    Actually iam having jdk1.5.0. If i had given that jdk path it is showing error.
    The following the jdk page.

    With WebLogic you have to use the JDK that comes with it, you cannot use JDK 1.5 that you downloaded from Sun’s site. Same goes for Websphere, you need to use the JDK that they ship with.

    Riyad, What is the impartence of DefaultVmArguments??
    What is the advantage of DefaultVmArguments??

    I don’t understand what you are asking, do you mean the “Option VM ARguments” field? You shouldn’t need to put anything there, MyEclipse handles everything for you.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: adding weblogic 7.0 to myeclipse

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