Weblogic JndiDataSource problem

Hi,
I am trying to use JndiDataSource in Weblogic 9.1 Express edition. Everything is configured, but when I am using jdbc datasource and if the connection pool exceeds the limit, i am getting error:
<Notice> <WebLogicServer> <BEA-000388> <JVM called
WLS shutdown hook. The server will force shutdown now>
and the server is shutting down, how can i avoid this, where do i need to configure such that the server does not shut down, even it the connection pool limit reachs??
Thanks in advance

Hi kota_balaji ,
Did you solve the problem?
I'm having the same error, the server shuts down,
Thanks,
Edgar Torres

Similar Messages

  • Kodo 4.1.2 in Weblogic 10 Problem

    I was told by BEA that Kodo/openJPA is included in Weblogic 10. However, now I have Weblogic 10 but I could not located much Kodo classes from Weblogic libraries. I searched all the JARs under BEA_HOME\wlserver_10.0\server\lib.
    I also tried to migrate Kodo/JPA application from Weblogic 9.2 to Weblogic 10. My application depends on Kodo JCA deployment in managed environment. The application and Kodo JCA deployed fine into Weblogic 10. But when I test any application, the test failed when I tried to create EntityMaanger from EntityManagerFactory:
    Caused by: <4|false|0.9.7> org.apache.openjpa.persistence.ArgumentException: config-error
         at weblogic.kodo.event.ClusterRemoteCommitProvider.endConfiguration(ClusterRemoteCommitProvider.java:112)
         at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:447)
         at org.apache.openjpa.conf.RemoteCommitProviderValue.instantiate(RemoteCommitProviderValue.java:122)
         at org.apache.openjpa.conf.RemoteCommitProviderValue.instantiateProvider(RemoteCommitProviderValue.java:103)
         at org.apache.openjpa.conf.RemoteCommitProviderValue.instantiateProvider(RemoteCommitProviderValue.java:95)
         at org.apache.openjpa.conf.OpenJPAConfigurationImpl.newRemoteCommitProviderInstance(OpenJPAConfigurationImpl.java:708)
         at org.apache.openjpa.event.RemoteCommitEventManager.(RemoteCommitEventManager.java:56)
         at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getRemoteCommitEventManager(OpenJPAConfigurationImpl.java:720)
         at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:177)
         at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:139)
         at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:187)
         at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:140)
         at kodo.persistence.jdbc.JPAConnectionFactory.createEntityManager(JPAConnectionFactory.java:144)
         at kodo.persistence.jdbc.JPAConnectionFactory.createEntityManager(JPAConnectionFactory.java:23)
         at com.psi.vida.ejb.JPASessionBean.list(JPASessionBean.java:165)
         at com.psi.vida.ejb.JPASessionEJB_lvtqkz_EOImpl.list(JPASessionEJB_lvtqkz_EOImpl.java:134)
         at com.psi.vida.ejb.JPASessionEJB_lvtqkz_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         ... 17 more
    Caused by: java.lang.Exception: <0|true|0.9.7> org.apache.openjpa.persistence.PersistenceException: no-trasport
         at org.apache.openjpa.util.Exceptions.replaceNestedThrowables(Exceptions.java:230)
         at org.apache.openjpa.persistence.ArgumentException.writeObject(ArgumentException.java:104)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
         at weblogic.rmi.extensions.server.CBVOutputStream.writeObject(CBVOutputStream.java:84)
         at weblogic.rmi.internal.ServerRequest.unmarshalThrowable(ServerRequest.java:349)
         at weblogic.rmi.internal.ServerRequest.getThrowable(ServerRequest.java:62)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:203)
         ... 17 more

    I was told by BEA that Kodo/openJPA is included in
    Weblogic 10. However, now I have Weblogic 10 but I
    could not located much Kodo classes from Weblogic
    libraries. I searched all the JARs under
    BEA_HOME\wlserver_10.0\server\lib. They're in the (new) modules directory. weblogic.jar refers to stuff in the modules directory via its manifest classpath.
    I also tried to migrate Kodo/JPA application from
    Weblogic 9.2 to Weblogic 10. My application depends
    on Kodo JCA deployment in managed environment. The
    application and Kodo JCA deployed fine into Weblogic
    10. But when I test any application, the test failed
    when I tried to create EntityMaanger from
    EntityManagerFactory:Interesting. I do not know what the status of Kodo JCA testing is in WebLogic 10, but it sounds like something is a bit wonky.
    Basically, in a WLS environment, the default remote commit provider is automatically set to the new weblogic.kodo.event.ClusterRemoteCommitProvider, which uses the WLS clustering protocol to communicate cache notifications. The error that you're seeing indicates that cluster services are not available in the execution context. You can probably get around this by explicitly setting the 'kodo.RemoteCommitProvider' option to 'sjvm' (if you're not running in a cluster), or to whatever you had it set to in the past. (I'm guessing that it was unset in the past, as otherwise, the configuration should be picking up that instead of the new default.)
    However, personally, I much prefer the new persistence.xml configuration file format, compared to JCA configuration. (You can trivially use the persistence.xml format with Kodo JDO, even though it's a JPA-specified feature.) You might want to look into moving away from JCA and to the persistence.xml style instead.
    If you do this, you'll end up putting a META-INF/persistence.xml file in your EAR (and possibly a META-INF/persistence-configuration.xml file, if you want to use the strongly-typed Kodo XML configuration format), and replacing your JNDI lookups with java:comp/env/persistence/<persistence-unit-name>. (I think that's the right location. I might be mistaken, though.)
    Also, I can't guarantee that WebLogic 10 really handles JCA configuration all that well; some bits of that exception make it look like maybe some resources are not available in the classloader, which is surprising. So, it's possible that there is some sort of more fundamental JCA problem here (and not just a problem with the new remote commit provider).
    -Patrick

  • Oracle weblogic 12c problem

    Hello,
    After you install the 32bit version of Oracle WebLogic 12c , jdevstudio11115install (Windows 7 32 bit platform) . These actions come after the installation of the domain ADF 's and then completed the installation.
    I receive the following error when I run startWebLogic.cmd. ( What is the solution. )
    WARNING: Opening of file based farm keystore failed.
    oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06514: Openin
    g of file based farm keystore failed.
    at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKe
    yStore(FileKeyStoreManager.java:351)
    at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.do
    Init(FileKeyStoreServiceImpl.java:101)
    at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
    nit>(FileKeyStoreServiceImpl.java:73)
    at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
    nit>(FileKeyStoreServiceImpl.java:63)
    at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
    yStoreProvider.java:157)
    at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
    yStoreProvider.java:64)
    at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServ
    iceInstance(ContextFactoryImpl.java:139)
    at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getConte
    xt(ContextFactoryImpl.java:170)
    at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getConte
    xt(ContextFactoryImpl.java:191)
    at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getCo
    ntext(JpsContextFactoryImpl.java:132)
    at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getCo
    ntext(JpsContextFactoryImpl.java:127)
    at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
    java:850)
    at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
    java:844)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
    tore(PolicyUtil.java:844)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:291)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:284)
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
    vaPolicyProvider.java:270)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.lo
    adOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
    itialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:148)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    <Dec 12, 2011 11:43:27 AM EET> <Error> <Security> <BEA-090892> <The loading of O
    PSS java security policy provider failed due to exception, see the exception sta
    ck trace or the server log file for root cause. If still see no obvious cause, e
    nable the debug flag -Djava.security.debug=jpspolicy to get more information. Er
    ror message: oracle.security.jps.JpsException: [PolicyUtil] Exception while gett
    ing default policy Provider>
    <Dec 12, 2011 11:43:27 AM EET> <Critical> <WebLogicServer> <BEA-000386> <Server
    subsystem failed. Reason: weblogic.security.SecurityInitializationException: The
    loading of OPSS java security policy provider failed due to exception, see the
    exception stack trace or the server log file for root cause. If still see no obv
    ious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more in
    formation. Error message: oracle.security.jps.JpsException: [PolicyUtil] Excepti
    on while getting default policy Provider
    weblogic.security.SecurityInitializationException: The loading of OPSS java secu
    rity policy provider failed due to exception, see the exception stack trace or t
    he server log file for root cause. If still see no obvious cause, enable the deb
    ug flag -Djava.security.debug=jpspolicy to get more information. Error message:
    oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default p
    olicy Provider
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.lo
    adOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
    itialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:148)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsExcep
    tion: [PolicyUtil] Exception while getting default policy Provider
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:293)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:284)
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
    vaPolicyProvider.java:270)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsException: [PolicyUtil] Exception while gettin
    g default policy Provider
    at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
    tore(PolicyUtil.java:899)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:291)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:284)
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
    vaPolicyProvider.java:270)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    Truncated. see log file for complete stacktrace
    Caused By: java.security.PrivilegedActionException: oracle.security.jps.JpsExcep
    tion: [PolicyUtil] Unable to obtain default JPS Context!
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
    tore(PolicyUtil.java:844)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:291)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:284)
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
    vaPolicyProvider.java:270)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain defau
    lt JPS Context!
    at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
    java:860)
    at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
    java:844)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
    tore(PolicyUtil.java:844)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:291)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06
    514: Opening of file based farm keystore failed.
    at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKe
    yStore(FileKeyStoreManager.java:351)
    at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.do
    Init(FileKeyStoreServiceImpl.java:101)
    at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
    nit>(FileKeyStoreServiceImpl.java:73)
    at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
    nit>(FileKeyStoreServiceImpl.java:63)
    at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
    yStoreProvider.java:157)
    Truncated. see log file for complete stacktrace
    >
    <Dec 12, 2011 11:43:30 AM EET> <Notice> <WebLogicServer> <BEA-000365> <Server st
    ate changed to FAILED.>
    <Dec 12, 2011 11:43:30 AM EET> <Error> <WebLogicServer> <BEA-000383> <A critical
    service failed. The server will shut itself down.>
    <Dec 12, 2011 11:43:33 AM EET> <Notice> <WebLogicServer> <BEA-000365> <Server st
    ate changed to FORCE_SHUTTING_DOWN.>
    Note: JDeveloper 11.1.2.1 and 11.1.1.5.0 install but it did not work.
    C:\oracle\Middleware\user_projects\domains\base_domain\config\fmwconfig\bootstrap\cwallet.sso I have full authority, but did not work folder. (permissions full controll)
    Edited by: 889612 on 12.Ara.2011 07:06

    I am having the exact same issue with Weblogic 12c on Windows Server 2003 SP1 on Intel Itanium processor with Java SE 1.6u29 and JDeveloper 11.1.2.1.0.
    Please advise!
    Thanks in advance.
    P.S.
    Unfortunately, problem also confirmed on Windows 7 64bit and JRockit-jdk1.6.0_29-R28.2.0-4.1.0 and JDeveloper 11.1.2.1.0.
    LOG
    WARNING: Failed to save farm keystore. Reason {0}
    Dec 12, 2011 10:51:29 PM oracle.security.jps.internal.keystore.file.FileKeyStore
    Manager createKeyStore
    WARNING: Failed to save farm keystore. Reason {0}
    oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06513: Failed to save farm keystore. Reason at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.create KeyStore(FileKeyStoreManager.java:309)
    Edited by: rade.radenkovic on Dec 12, 2011 1:53 PM

  • WebLogic Server - Problem encoding file MS Word in jsp

    Hi, i'm new in this forum...sorry for my english but i don't speak it very well...
    I have a problem with encoding of a MS Word file (with WebLogic Server 8.1.4).....I have this file stored in a DB Oracle like a BLOB...then I extract this file and I obtain the bytes of this file....than i write this byte in my ServletOutputStream so that i can see this word document from my jsp page in word format....until now everithing is ok...MS Word is open....but in the file the character are not encoded....are like this
    "ÐÏ à¡± á ÿÿÿÿÿÿÿÿÿÿ "....... why i can't see it correctly???
    What I don't understand is thas:
    1)in the same page with a pdf (even this extract as byte from oracle column BLOB) works fine
    2)with the same web application deployed on a tomcat server everithings work fine (with doc,xls....)
    3)I think that every settings is ok....
    in the jsp file
    response.setContentType("application/msword");
    response.setHeader("Content-Disposition", "attachment; filename=test.doc");
    in web.xml
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    in weblogic.xml (I have read this in a forum)
    <jsp-descriptor>
    <jsp-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>compilerSupportsEncoding</param-name>
    <param-value>false</param-value>
    </jsp-param>
    </jsp-descriptor>
    The file that i obtain is not encode but is corret....infact if i make a compare (with a program "Beyond Compare" that meka a compare with the character not encoded like "ÐÏ à¡± á ÿÿÿÿÿÿÿÿÿÿ ") between the file that I obtain and the original file....everithing is equal...so the file is ok....but i can't open this correctly and visualize it correctly in word format!
    Please help me.....thanks so much

    i was able to solve it by clearing the output stream (jsp page - out.clear() ) before using it, even resetting the jsp response does the trick..
    thanks,
    prakash.m
    Edited by message2prakash at 02/08/2008 10:35 AM
    Edited by message2prakash at 02/08/2008 10:36 AM

  • Weblogic webservice problem

    Hi , friends, I have a problem regarding web services in oracle weblogic workshop.
    In our application we need to create 2 web services. We have 10 to 12 packages under src folder , i.e.,
    src(under this folder)------------------>com.abc.des.desk (like this we have couple of packages). All those packages are having different java related file, porlets etc.
    I need to create another package called com.abc.des.webservices
    under this I have to create 2 webservice (JAX-WS) with annotations.All these webservices along with remaining above mentioned packages goes to one single EAR file.
    I am unable to select JAX-WS related facets.
    When I select weblogic webservices , it is giving a warning message that "No projects found that support web services.The Standard Annotated Web Service facet must be enabled".I didn't understand where I need to enable them.
    Please suggest on this problem.
    Thanks a lot
    Peter.

    Hi Peter
    1. Since you used the words like portlets etc, I am assuming you have a PortalWeb Project. So you have like portalEAR, portalWeb and may be portalDataSync project. NOW under portalWeb project src you have your own packages. This is where you need to create a new WebService also under a new package. FIRST of all, you need to add Web Services Project Facet to this portalWeb pojrect. Still it may NOT work. But I will give you an idea. Select your portalWeb project. Right clikc mouse, select Properties. From Properties window on left side, select Project Facets. On right side you will see list of Facets already selected. Click on Modify Project button on bottom right hand corner. This opens up Project Facets window. Check the Facet named Web Services. NOW immediately in the bottom you may see some Errors like "Standard Annotated Web Services 2.0 and Beehive Controls 1.0.1 cannot both be selected" etc. I am talking about WLP 10.3 version. This means by default portalWeb project will have Beehive stuff facets Enabled to allow use of Pageflow Portlets. So you cannot add Web Services Facet to this Same portalWeb project. Unless you want to manully remove Beehive Facets (means you cannot use Pageflow portlets), then may be Web Services Facets can be added.
    One work around or more elegant solution is create a another brand new project like myWebServices project and enable Web Services for this. Nothing but create a new WebServices project with all Web Services Facets. Add this to the same portalEAR project. Then add all your webservices to this new project. NOW you can always invoke these Web Services from portalWeb project src code like utility classes or Pageflows etc. Incase if you want to use some utility classes across both portalWeb and webServices project, then you need to add all these classes into another simple Java Project. Then import this into both portalWeb and webServices projects.
    I saw another opotion also. When you select Web Services Project Facet, it has 2 child facets. Standard Annotated Web Services whose default version is 2.0. If you choose version 1.0, look like there are no dependencies. Means poralWeb project can have Web Services Facet provided you use Standard Annotated Web Sevices Version 1.0 (instead of default 2.0). Now using this you may loose some new features from 2.0. I am not sure to what extent this will work. But give this a shot in your dev Env. And see if you can create a simple webservice and live with that.
    portalEAR can have both portalWeb project and any other projects like webServices or Java utility porjects etc. All these projects will be bundled into one single .EAR file only for deployment.
    Thanks
    Ravi Jegga

  • Weblogic Startup Problems

    We had a problem where we started Weblogic 8.1, while receiving internet traffic(we
    did not know the web server was still accepting requests at the time). When the
    server started, it ran for a few minutes and then locked up completely(did not
    shutdown though). The JVM, UNix box and db connections were not being taxed at
    all during this period. In fact, most of the requests into the box were simply
    hung. Has anyone else experienced this problem? Could this be due to us allowing
    traffic in while Weblogic was restarting? If we have ruled out the connection
    pools and the Unix box itself, what else could cause a Weblogic server to sporadically
    hang like this? Keep in mind, once we restarted the web server and app server,
    everything ran fine(with no other changes made).
    Any ideas would be greatly appreciated.

    We had a problem where we started Weblogic 8.1, while receiving internet traffic(we
    did not know the web server was still accepting requests at the time). When the
    server started, it ran for a few minutes and then locked up completely(did not
    shutdown though). The JVM, UNix box and db connections were not being taxed at
    all during this period. In fact, most of the requests into the box were simply
    hung. Has anyone else experienced this problem? Could this be due to us allowing
    traffic in while Weblogic was restarting? If we have ruled out the connection
    pools and the Unix box itself, what else could cause a Weblogic server to sporadically
    hang like this? Keep in mind, once we restarted the web server and app server,
    everything ran fine(with no other changes made).
    Any ideas would be greatly appreciated.

  • Weblogic.jar problems

    Hi,
    I am hosting an ejb web service on a different J2EE complaint application server and my security subject is coming from weblogic 10.3. When I use weblogic.jar in my application server classpath and try to start the serverr it throws the following exceptions:
    Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException:
    Exception occured in the wsgen process java.lang.ClassCastException:
    com.sun.xml.ws.api.server.Container$1 cannot be cast to
    weblogic.wsee.jaxws.WLSContainer
    at com.sun.enterprise.webservice.WsUtil.runWsGen(WsUtil.java:1848)
    at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2249)
    at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:359)
    at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:294)
    at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:207)
    at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:276)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:294)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:555)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
    at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
    at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:564)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:545)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:492)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:267)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
    |#]
    [#|2008-06-29T18:45:24.172-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Timer-9;Exception
    occured in the wsgen process java.lang.ClassCastException:
    com.sun.xml.ws.api.server.Container$1 cannot be cast to
    weblogic.wsee.jaxws.WLSContainer
    ;_RequestID=7cfc908b-f335-439c-b9e8-ac83c5f744b3;|"DPL8011:
    autodeployment failure while deploying the application : Exception
    occured in the wsgen process java.lang.ClassCastException:
    com.sun.xml.ws.api.server.Container$1 cannot be cast to
    weblogic.wsee.jaxws.WLSContainer
    "|#]
    It seems that weblogic.jar contains lot of files which either I don't need it or have some problems. I also tried using wlclient.jar instead of weblogic.jar but I am getting different exceptions related to missing class files. Is there a true .jar file from weblogic that I (as a client application) could use to access the weblogic server from a different application server using t3:// protocol.
    Any help would be really appreciated.
    john

    Hello Sir
    Did u solve the problem
    i am also getting the same problem
    please help me if u found the solution

  • Weblogic GC Problem - Please assist

    Hi,
    I am working on WebLogic(for the first time) with a sun JVM on a 8 CPU solaris machine, we have set the GC algorithm as,
    "-Xms2048m -Xmx2048m -XX:NewSize=576m -XX:MaxNewSize=576m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:SurvivorRatio=8 -Xverify:none -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+PrintTenuringDistribution -XX:+UseParallelGC "
    The problem is The FULL GC takes consistently between 15 - 20 sec, firstly is that a concern?
    We see that the heap is used up to 1.9 GB before it GC's
    The CPU Utilzation on box is not high below 40% on an average.
    Is using the "Concurrent Low Pause Collector" a good option in this case?
    Please assist.
    Thanks in advance.
    Following GC trace,
    4028.217: [GC 1425000K->1003932K(2012352K), 0.4191734 secs]
    4028.637: [Full GC[Unloading class sun.reflect.GeneratedMethodAccessor655]
    [Unloading class jsp_servlet._web_45_inf._apcwp._ptrck._jsp.__ptstatementpdf]
    [Unloading class sun.reflect.GeneratedMethodAccessor1726]
    [Unloading class jsp_servlet._web_45_inf._apfa._opnac._jsp.__ocainput]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__main]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__job]
    [Unloading class jsp_servlet._web_45_inf._apcwp._ptrck._jsp.__ptstatement]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor290]
    [Unloading class sun.reflect.GeneratedMethodAccessor1725]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor356]
    [Unloading class sun.reflect.GeneratedMethodAccessor2253]
    [Unloading class sun.reflect.GeneratedMethodAccessor653]
    [Unloading class jsp_servlet._web_45_inf._jba._common._jsp.__cantdo]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor357]
    [Unloading class jsp_servlet._web_45_inf._apeba._ebrk_reg._rsp._jsp.__screen100]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor355]
    [Unloading class jsp_servlet._web_45_inf._apcwp._myprf._jsp.__profilesummary]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor323]
    [Unloading class jsp_servlet._web_45_inf._jba._ada._jsp.__adaprintfriendly]
    [Unloading class sun.reflect.GeneratedMethodAccessor654]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor335]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._itvisa._jsp.__itvisaempdet]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__generic]
    [Unloading class sun.reflect.GeneratedMethodAccessor652]
    [Unloading class sun.reflect.GeneratedMethodAccessor1966]
    [Unloading class jsp_servlet._web_45_inf._aptc._fxrates._jsp.__fxrateview]
    [Unloading class sun.reflect.GeneratedMethodAccessor2252]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._itvisa._jsp.__dummy]
    [Unloading class jsp_servlet._web_45_inf._jso._uidn._jsp.__successcinpin]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__service]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__job_list_category_unit]
    [Unloading class jsp_servlet._web_45_inf._aptc._fxrates._jsp.__calculate]
    [Unloading class jsp_servlet._web_45_inf._jba._scdp._jsp.__displaynopayeeinlistscreen]
    1003932K->862215K(2015232K), 15.3721435 secs]

    I am guessing from your question that you are concerned about the full GC pauses.
    1.5.0_06 onwards there is a parallel old gc option available -XX:+UseParallelOldGC
    which can help on an 8-way. I'd expect (much handwaving and guessing here)
    that your full GC pauses might reduce from the current 15 sec range to the 2 second
    range.
    The concurrent GC would also help, albeit might require a bit of tuning to get
    right -XX:+UseConcurrentMarkSweepGC, available since 1.4.2, and made
    much more efficient and scalable in 5.0 and 6.0.
    For tuning guidance, look at the tuning guides and white papers available
    off of http://java.sun.com/docs/hotspot ,
    especially http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
    and the associated FAQ (at the end of the tuning guide referenced above).

  • Weblogic Clustering Problem

    Hi,
    I am tring to set up clustering on my laptop(Windows XP home OS) using Medrec Tutorials for Weblogic SP4.Its giving me SocketException.Same had worked when tried on Win2000 OS.I tried with SP2 also but its giving the same exception.
    Please let me know if anyone encountered similar pbm and resolved it.Thanks in advance.
    Please find the log below:
    <Jul 29, 2006 11:22:01 PM IST> <Notice> <WebLogicServer> <BEA-000328> <Starting WebLogic Managed Server "MedRec2" for domain "clusterdomain">
    <Jul 29, 2006 11:22:03 PM IST> <Error> <Cluster> <BEA-000116> <Failed to join cluster MedRecCluster at address 230.0.0.1 due to: java.net.SocketException: error setting options.
    java.net.SocketException: error setting options
    at java.net.PlainDatagramSocketImpl.join(Native Method)
    at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:134)
    at java.net.MulticastSocket.joinGroup(MulticastSocket.java:274)
    at weblogic.cluster.FragmentSocket.initializeMulticastSocket(FragmentSocket.java:92)
    at weblogic.cluster.FragmentSocket.start(FragmentSocket.java:109)
    at weblogic.cluster.MulticastManager.startListening(MulticastManager.java:172)
    at weblogic.cluster.ClusterCommunicationService.initialize(ClusterCommunicationService.java:43)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:924)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    at weblogic.Server.main(Server.java:32)
    >
    <Jul 29, 2006 11:22:03 PM IST> <Critical> <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:weblogic.server.ServerLifecycleException: Failed to listen on multicast address
    weblogic.server.ServerLifecycleException: Failed to listen on multicast address
    at weblogic.cluster.ClusterCommunicationService.initialize(ClusterCommunicationService.java:48)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:924)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    at weblogic.Server.main(Server.java:32)
    Caused by: java.net.SocketException: error setting options
    at java.net.PlainDatagramSocketImpl.join(Native Method)
    at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:134)
    at java.net.MulticastSocket.joinGroup(MulticastSocket.java:274)
    at weblogic.cluster.FragmentSocket.initializeMulticastSocket(FragmentSocket.java:92)
    at weblogic.cluster.FragmentSocket.start(FragmentSocket.java:109)
    at weblogic.cluster.MulticastManager.startListening(MulticastManager.java:172)
    at weblogic.cluster.ClusterCommunicationService.initialize(ClusterCommunicationService.java:43)
    ... 4 more
    >
    <Jul 29, 2006 11:22:03 PM IST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: weblogic.server.ServerLifecycleException: Failed to listen on multicast addresserror setting options>
    The WebLogic Server did not start up properly.
    Exception raised: 'java.net.SocketException: error setting options'
    Reason: weblogic.server.ServerLifecycleException: Failed to listen on multicast addresserror setting options
    Thanks
    Raju

    Hi,
    Actually i tried with Weblogic 8.1 sp2 and sp4 but same problem.I just tried setting up clusters on Windows 2000 it works fine.Seems to be a problem with windows XP home.
    Any idea if same problem occurs with Win XP professional?
    Anyway thanx for the reply.
    Thanks
    Raju

  • VAJ3.5.3 Weblogic Bridge problems SP10?

    Hi,
    There seems to be some progressive memory leak in Visual-Age when looking up for
    EJB on Weblogic, anybody faced such problems?
    AND ...
    In VAJ3.5.3 Weblogic Bridge documentation ... The docs/userguide.pdf says that
    (In service-PAck for Integration-Kit) Import VAJ35weblogic510spX.zip where 'X'
    is the service-pack number BUT...I don't find VAJ35weblogic510sp10.zip Anywhere
    on BEA site. Please let me know where to get it from if it is ever available.
    How do you upgrade the bridge to SP10?
    Thanks, Harish.

    Harish,
    SP10 for the VAJ I-Kit is available at -
    http://commerce.bea.com/downloads/weblogic_server_tools.jsp.
    Thanks,
    Nirav.
    Harish SK wrote:
    Hi,
    There seems to be some progressive memory leak in Visual-Age when looking up for
    EJB on Weblogic, anybody faced such problems?
    AND ...
    In VAJ3.5.3 Weblogic Bridge documentation ... The docs/userguide.pdf says that
    (In service-PAck for Integration-Kit) Import VAJ35weblogic510spX.zip where 'X'
    is the service-pack number BUT...I don't find VAJ35weblogic510sp10.zip Anywhere
    on BEA site. Please let me know where to get it from if it is ever available.
    How do you upgrade the bridge to SP10?
    Thanks, Harish.--
    Nirav Chanchani
    BEA Systems, Inc.

  • Apache-weblogic bridge problems with virtual hosting

    Hi,
    Can we set apache-weblogic bridge where apache webserver is configured
    as virtual hosts and each Virtual Host is mapped to a WebLogic server
    instance running on separate port ?
    Please provide doc or reference or your comments if you have solved this
    problem
    Thanks
    Shriniwas

    The above comments notwithstanding, there's one outstanding line in your post that seems crucial:
    Also if I type on my browser the name of another secondary (or virtual) domain name in the form http://domain2.com it brings the website hosted under the primary domain which is domain1.com. In case I type http://www.domain2.com than it works as it should and displays the website hosted under this domain name.
    As far as Apache is concerned, 'domain2.com' and 'www.domain2.com' are completely separate entities. They have to be otherwise if all domain2.com traffic went to this site you'd never be able to host different sites within the domain (e.g. blogs.domain2.com, wiki.domain2.com, blah.domain2.com, etc.). In other words, there is no automatic relationship between a hostname and sub-records of that hostname.
    So what's happening here is Apache is seeing a request for 'domain2.com' which does not match any of its configured virtual hosts, so it handles the request via the default site. If you request www.domain2.com this matches your virtual host configuration so Apache serves the alternate content.
    The fix is simple - trivial, even - you just need to tell Apache all the hostnames that match this site - in this case if you've configured the site's primary address as 'www.domain2.com' and you want it to also respond to requests to 'domain2.com' then add 'domain2.com' to the list of Server Aliases in Server Admin.

  • Shared Services / WebLogic Installation Problem

    Hi,
    I'm starting an install of 11.1.1.3 on a Windows 2003 EE R2 and have run into problems with the automatic deployment of the HSS application server. It appears that the config tool cannnot "reach" or start the WebLogic admin console.
    Details:
    WebLogic 9.2 MP3
    hyperion has been created as a WL Admin
    Node Manager is running on port 5556
    Any thoughts or suggestions would be welcome.
    Thanks
    Mark

    Are you just trying to do a standard automatic deployment? If so, the node manager doesn't really have much to do with that -- has anything been deployed on this box already?
    The first thing the config tool is going to do is deploy the admin server, then Shared Services; has the admin server itself been deployed at this point?
    Check your Hyperion Home directory and see if there's a .\deployments\Weblogic9 directory; if there is, go to .\bin under there, and look for 'startWebLogic.cmd'.
    Before running that file, open a command prompt and type:
    netstat -an | findstr 7001
    7001 is the admin server port; if it's already running, you'll see a LISTEN entry there. If you don't see a LISTEN, run startWebLogic.cmd, wait for it to start, then run the above netstat command in another command prompt. If you now see a LISTEN command, try logging into the admin server:
    http://<wlhost>:7001/console
    Login is just 'hyperion'.
    If that works, great! Try your Shared Services deployment again.
    If there is no HYPHOME\deployments directory (this is created when the admin server is deployed), clear out the config tool log (HYPHOME\logs\config\configtool.log), try the deployment again, and then copy the pertinent sections here.
    Remember also, the config tool -- in an automatic deployment scenario -- is going to create its own weblogic profile, called hyslProfile. If you already have existing weblogic domains running on this box, Hyperion isn't going to use them -- if you do, and they aren't in use by anything, it would probably be best to just remove them. It's possible that if there's another non-hyslProfile admin server running on :7001 on that machine, the config tool could be getting confused.
    Edited by: Dr. Bloodmoney on Jul 8, 2011 1:07 PM

  • Weblogic toolkit problem

    I am using weblogic(7.0)webservices toolkit for parsing the xml response through toolkit generated java classes. Please look at the schema I am using.
    *******************SCHEMA******************************
    <xs:complexType name="person">
    <xs:sequence>
    <xs:element name="relationships" type="n:split" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="split">
    <xs:sequence>
    <xs:element name="relationship" type="n:splitInfo" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    splitInfo contains all the elements as optional minoccurs=0.
    *******************Response********************
    <person>
         <relationships>
         </relationships>
    </person>
    Above is the response I am getting but toolkit generated classes are unable to parse this response. Looking at the schema this looks a valid response. I get:
    ****************ERROR*************************
    javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: element ['http://www.me.com/rep']:relationship did not meet minOccurs constraint of 1 -- found only 0 Trace: javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: element ['http://www.me.com/rep']:relationship did not meet minOccurs constraint of 1 -- found only 0
    But it works fine if the response doesn't contain a relationships tag at all.
    Please suggest?

    Hi Vivek,
    I have exactly the same problem as you have, did you find a solution yet?
    Thank you.
    Celia

  • EAS  - Weblogic Configuration Problems

    I have bothe Shared Services and Essbase installed under 64bit AIX. They are on separate lpars. I have started to have problems when working on the outline that require me to start and stop the application (right click on the application start - stop...) before I make even the smallest changes to the outline. The outline is an ASO cube. I have upped the cache memory to 100 Mb. Occasionally when I save the outline and during it's restructuring, the outline completely blanks out and I have to re-edit it again, losing all of my changes. The outline is about 65MB in size. There are very few MDX scripts and most of the calculations are not very complex. The problem is worse when I use the web based console versus the windows installed client console. Does someone have any experience tuning Weblogic and Essbase under AIX? I know that Weblogic can be a beast unto itself. Sometimes an error message is thrown, and sometimes no message is thrown. I don't have the error message, but it was related to a memory issue, hence my concern that Weblogic and shared services may need some tuning. Thanks for everyone's help.
    Paul

    hmm... it's very very difficult to answer your question.. ;-)
    but probably you mean the configuration console???
    http://yourhost:yourport/console (e.g. http://localhost:7001/console)
    then enter username and password you choosed when installing weblogic.
    cheers

  • Weblogic handler problem?

    Hello,
    We are trying to write a custom local authentication handler for a java application deployed on weblogic server 9.1.
    My problem is this:
    - If I use agent authentication provider, local auth handler is not processed. The log tells me that the principal is already set, so no need for local auth handler.
    Indeed, there is a need for some handler since the silly application doesn't rely solely on web-tier declarative security but also it utilizes another form based login.
    Basically we need to set a request attribute after agent authenticates the user. If that was a string that would be no problem but this is an object of a class that the application vendor uses.
    So could you advice me some handler or any place to set that object?
    Best,
    Kirpi

    Hello,
    We are trying to write a custom local authentication handler for a java application deployed on weblogic server 9.1.
    My problem is this:
    - If I use agent authentication provider, local auth handler is not processed. The log tells me that the principal is already set, so no need for local auth handler.
    Indeed, there is a need for some handler since the silly application doesn't rely solely on web-tier declarative security but also it utilizes another form based login.
    Basically we need to set a request attribute after agent authenticates the user. If that was a string that would be no problem but this is an object of a class that the application vendor uses.
    So could you advice me some handler or any place to set that object?
    Best,
    Kirpi

Maybe you are looking for