Weblogic 10 and _wl_cls_gen.jar

Hi. When I deploy my war file to a newly created Weblogic 10 server my WEB-INF/classes directory is packed into WEB-INF/classes/_wl_cls_gen.jar which causes problems with my resources. If I unpack this jar manually back to WEB-INF/classes then it all runs ok.
I haven't been able to find any mention of this behavior in the documentation and the same war file deployed to a Weblogic 8.1SP4 doesn't have this happen.
Is there some way I can stop my classes directory from being converted to a jar on deployment to Weblogic 10???

Hi Alll,
I am facing the same problem and also same workaround for it
can anybody help in this case???

Similar Messages

  • Weblogic 10.3 _wl_cls_gen.jar not honoring resource paths

    I have simple application that utilizes ADF, and also utilizes a web service end point. I am successfully able to deploy and run within JDeveloper 11g's built in server. The issue I have is when deploying to a stand alone Weblogic 10.3 server. I have my resources packaged into a war and the folder structures are correct. The issue in particular has to do with the system looking for my wsdl.
    I get the following error while trying to run the system:
    java.io.FileNotFoundException: zip:C:/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/ewpsApplication/9gfvtn/war/WEB-INF/lib/_wl_cls_gen.jar!/com/docucorp/webservices/ewps/service/DocumentService.wsdl
    I understand that it is stating that it can't find this resource, the problem is that the resource is package in the following directory:
    /com/docucorp/webservices/ewps/service/_2005_12_01/DocumentService.wsdl
    It is like the system is ignoring the _2005_12_01 directory when looking for the resource. Can anyone help me out. By the way, I'm a novice at both Jdeveloper and WebLogic.

    I too have the same problem with the wlcls_gen.jar
    Any ideas about how to make things like resources available from here? This all works fine if I manually go in and extract this jar back into the WEB-INF/classes directory.
    Can I turn off this wlcls_gen.jar from being created?

  • Weblogic server 10gR3: regarding _wl_cls_gen.jar in the lib directory

    When I deploy my war file to a newly created Weblogic 10 server my WEB-INF/classes directory is packed into WEB-INF/classes/_wl_cls_gen.jar which is causes problems with my resources.
    Is there a way where i can tell the Servier not to wrap the classes folder into a jar file...
    Any help would would be appreciated...

    I too have the same problem with the wlcls_gen.jar
    Any ideas about how to make things like resources available from here? This all works fine if I manually go in and extract this jar back into the WEB-INF/classes directory.
    Can I turn off this wlcls_gen.jar from being created?

  • How to use both ojdbc14.jar and ojdbc6.jar in same weblogic domain(weblogic12C)

    Hi all,
    I 'm having issue of using both ojdbc14.jar and ojdbc6.jar in same weblogic application and same weblogic domain in weblogic 12C environment.
    how can i do that?
    i'm currently having application developed using jdk 1.6 and ojdbc6.jar, application developed using jdk 1.4 and ojdbc14.jar.both are currently installed at same domain.
    i want to use the both ojdbc14.jar and ojdbc6.jar in same domain.
    what i previously did was renaming /usr/weblogic/wls_server10.3.4/lib/ojdbc6.jar to /usr/weblogic/wls_server10.3.4/lib/ojdbc6.jar.bak and put ojdbc14.jar in the same path when i wanna use ojdbc14.jar.
    i haven't use both in same environment before, but to go live i wanna match about requirement.pls help.
    i know the way use this by having two domains, but in the same domain i could not find a solution yet.
    Please help

    Hey
    I have the similar requirement.. Did you managed to get an option of doing it? If yes, please provide some insights
    Thanks in Advance

  • Weblogic.jws.Policies.class is missing in weblogic.jar and wlfullclient.jar

    Hi,
    I am trying to upgrade Weblogic from 9.1 to 10.3.2 or 10.3.3
    In Weblogic 9.1, our application used weblogic.jar in our classpath.
    After we installed Weblogic 10.3.3, the new weblogic.jar can be found in: <WLS_HOME>\wlserver_10.3\server\lib
    However, some class files are missing and we realized we need to manually generate wlfullclient.jar and use this jar file instead.
    Reference: http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/jarbuilder.html
    The problem is that in Weblogic 10.3.3, the following class files are missing inside weblogic.jar and wlfullclient.jar
    - import weblogic.jws.Policies
    - import weblogic.jws.Policy
    Hence, our application is getting an "The import weblogic.jws.Policies cannot be resolved" error in our code.
    I look inside both weblogic.jar and wlfullclient.jar, weblogic.jws.Policies and weblogic.jws.Policy cannot be found.
    This is not an issue in Weblogic 10.3.2. These two classes can be found in wlfullclient.jar
    Any idea where I can find these class files for Weblogic 10.3.3 or something we are doing is incorrectly?
    Thanks
    Toan

    Hi,
    This missing classes can be found inside the JAR : *"E:\bea10_3_3\wlserver_10.3\server\lib\wseeclient.jar"* As well as inside *"E:\bea10_3_3\wlserver_10.3\server\lib\wls-api.jar"*
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic/webservices/ (WebLogic Wonders Are Here)

  • Where to download wlst.jar and python.jar for weblogic 10

    where to download wlst.jar and python.jar for weblogic 10 ? I am unable to find the links ..most of the prevoius ones point to dev2dev which are no longer valid

    Hi,
    I have written the below python script to list the user ,that was created in realms->myrealms->users.
    It's not working it.
    Kindly help to in this python script.
    from weblogic.management.security.authentication import UserReaderMBean
    from weblogic.management.security.authentication import GroupReaderMBean
    file_loc='MbeanValues.properties'
    file=java.io.File(file_loc)
    if file.exists():
         loadProperties(file_loc)
    connect(dwlusr,dwlspwd,dwlsurl)
    domain_name = cmo.getName()
    print 'UserName='+dwlusr
    print 'URL='+dwlsurl
    print 'DomainName='+ domain_name
    print 'welcome'
    print 'Checking if isMember of a group'realm=cmo.getSecurityConfiguration().getDefaultRealm()
    atns = realm.getAuthenticationProviders()
    for i in atns:
    if isinstance(i,UserReaderMBean):
    userReader = i cursor = i.listUsers("*",0)
    print 'Users in realm '+realm.getName()+' are: '
    while userReader.haveCurrent(cursor):
    print userReader.getCurrentName(cursor)
    userReader.advance(cursor)
    userReader.close(cursor)for i in atns:
    if isinstance(i,GroupReaderMBean):
    groupReader = i
    cursor = i.listGroups("*",0)
    print 'Groups in realm are: '
    while groupReader.haveCurrent(cursor):
    print groupReader.getCurrentName(cursor)
    groupReader.advance(cursor)
    groupReader.close(cursor)
    disconnect()

  • _wl_cls_gen.jar artifact is missing some resources

    After deploying an Enterprise Application Archive (EAR) to Weblogic Server, for each WAR file contained in the EAR file, a <strong>wlcls_gen.jar</strong> artifact is generated in &lt;ORACLE_SERVER&gt;\user_projects\domains\&lt;DOMAIN_NAME&gt;\servers\&lt;SERVER_NAME&gt;\tmp\_WL_user\&lt;APP_NAME&gt;\mbo9wa\war\WEB-INF\lib folder.
    This artifact contains the resources (.class , .xml , .properties , ...) that were originally located in the WEB-INF\classes of the WAR file that was deployed on the Weblogic server. During deployment, Weblogic Server moves the WEB-INF\classes resources into the generated WEB-INF\lib\_wl_cls_gen.jar file
    The problem we're facing with this approach is the fact that we have a JSF application that uses Facelets as the view technology. Using facelets, the application streams tagsource files from the JAR file where the facelets configuration file is located. Unfortunately, these resources have the jspx extension.
    It turns out that during the wlcls_gen.jar generation, all jspx files located in the WEB-INF\classes folder are ignored, in the sense that they are not added to the wlcls_gen.jar file, but kept at the WEB-INF\classes level. As Facelets tries to stream those resources from the JAR file, we get the following error :
    javax.servlet.ServletException: /test.jspx @6,22 Facelet Not Found:
    zip:C:/oracle10_3_server/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/app/mbo9wa/war/WEB-INF/<strong>lib/_wl_cls_gen.jar!/tagsource/resource/resource.jspx</strong>
    The problem here is that the file is located in the classes folder, and not in the generated JAR file.
    C:/oracle10_3_server/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/app/mbo9wa/war/WEB-INF/<strong>classes/tagsource/resource/resource.jspx</strong>
    Is there any way to override this behavior, without us having to resort to changing the extension of those files (we use the jspx extension for code completion).

    After deploying an Enterprise Application Archive (EAR) to Weblogic Server, for each WAR file contained in the EAR file, a <strong>wlcls_gen.jar</strong> artifact is generated in &lt;ORACLE_SERVER&gt;\user_projects\domains\&lt;DOMAIN_NAME&gt;\servers\&lt;SERVER_NAME&gt;\tmp\_WL_user\&lt;APP_NAME&gt;\mbo9wa\war\WEB-INF\lib folder.
    This artifact contains the resources (.class , .xml , .properties , ...) that were originally located in the WEB-INF\classes of the WAR file that was deployed on the Weblogic server. During deployment, Weblogic Server moves the WEB-INF\classes resources into the generated WEB-INF\lib\_wl_cls_gen.jar file
    The problem we're facing with this approach is the fact that we have a JSF application that uses Facelets as the view technology. Using facelets, the application streams tagsource files from the JAR file where the facelets configuration file is located. Unfortunately, these resources have the jspx extension.
    It turns out that during the wlcls_gen.jar generation, all jspx files located in the WEB-INF\classes folder are ignored, in the sense that they are not added to the wlcls_gen.jar file, but kept at the WEB-INF\classes level. As Facelets tries to stream those resources from the JAR file, we get the following error :
    javax.servlet.ServletException: /test.jspx @6,22 Facelet Not Found:
    zip:C:/oracle10_3_server/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/app/mbo9wa/war/WEB-INF/<strong>lib/_wl_cls_gen.jar!/tagsource/resource/resource.jspx</strong>
    The problem here is that the file is located in the classes folder, and not in the generated JAR file.
    C:/oracle10_3_server/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/app/mbo9wa/war/WEB-INF/<strong>classes/tagsource/resource/resource.jspx</strong>
    Is there any way to override this behavior, without us having to resort to changing the extension of those files (we use the jspx extension for code completion).

  • Getting FileNotFoundException :  _wl_cls_gen.jar!/null during deployment

    Hi,
    Please find below stack trace that I am getting when trying to deploy the application. I have searched the forums and found that the file wlcls_gen.jar is internally created for WEB-INF/classes.
    I am having difficulty in finding out the exact cause for this issue, please let me know if you have any idea.
    java.io.FileNotFoundException: file:C:/Corona/MiddlewarePS2/user_projects/domains/base_domain3/servers/AdminServer/tmp/_WL_user/oracle.communications.uimapp/s3c7lf/war/WEB-INF/lib/_wl_cls_gen.jar!/null
    at oracle.ide.net.JarIndex.openInputStream(JarIndex.java:600)
    at oracle.ide.net.JarURLFileSystemHelper.openInputStream(JarURLFileSystemHelper.java:355)
    at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
    at oracle.ide.net.ZipURLFileSystemHelper.openInputStream(ZipURLFileSystemHelper.java:233)
    at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
    at oracle.ide.net.URLFileSystem.copy(URLFileSystem.java:375)
    at oracle.ide.net.URLTempFile.maybeRefresh(URLTempFile.java:226)
    at oracle.ide.net.URLTempFile.getFile(URLTempFile.java:110)
    at oracle.ide.net.JarIndex.openJarFileImpl(JarIndex.java:1654)
    at oracle.ide.net.JarIndex.openJarFile(JarIndex.java:1627)
    at oracle.ide.net.JarIndex.run(JarIndex.java:1501)
    at oracle.ide.net.JarIndex.isDirectory(JarIndex.java:697)
    at oracle.ide.net.JarURLFileSystemHelper.isDirectory(JarURLFileSystemHelper.java:294)
    at oracle.ide.net.URLFileSystem.isDirectory(URLFileSystem.java:914)
    at oracle.jdeveloper.webapp.runtime.WebAppDesignContextFactory._jarTldSearch(WebAppDesignContextFactory.java:697)
    at oracle.jdeveloper.webapp.runtime.WebAppDesignContextFactory._recursiveTldSearch(WebAppDesignContextFactory.java:666)
    at oracle.jdeveloper.webapp.runtime.WebAppDesignContextFactory._recursiveTldSearch(WebAppDesignContextFactory.java:648)
    at oracle.jdeveloper.webapp.runtime.WebAppDesignContextFactory._recursiveTldSearch(WebAppDesignContextFactory.java:648)
    at oracle.jdeveloper.webapp.runtime.WebAppDesignContextFactory._recursiveTldSearch(WebAppDesignContextFactory.java:648)
    at oracle.jdeveloper.webapp.runtime.WebAppDesignContextFactory._recursiveTldSearch(WebAppDesignContextFactory.java:648)
    at oracle.jdeveloper.webapp.runtime.WebAppDesignContextFactory._recursiveTldSearch(WebAppDesignContextFactory.java:648)
    at oracle.jdeveloper.webapp.runtime.WebAppDesignContextFactory._recursiveTldSearch(WebAppDesignContextFactory.java:648)
    at oracle.jdeveloper.webapp.runtime.WebAppDesignContextFactory._recursiveTldSearch(WebAppDesignContextFactory.java:648)
    at oracle.jdeveloper.webapp.runtime.WebAppDesignContextFactory.findLocalTaglibDescriptors(WebAppDesignContextFactory.java:264)
    at oracle.jdeveloper.webapp.runtime.WebAppDesignContextFactory.findTaglibDescriptors(WebAppDesignContextFactory.java:429)
    at oracle.adf.share.web.mds.ServletMetadataProvider.init(ServletMetadataProvider.java:30)
    at oracle.adf.share.http.ServletADFContext.registerServletContextMDSGrammar(ServletADFContext.java:547)
    at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:432)
    at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:351)
    at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:72)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:143)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Thanks,
    Murali

    Hi Alll,
    I am facing the same problem and also same workaround for it
    can anybody help in this case???

  • _wl_cls_gen.jar

    Hi Everyone,
    i am having some issue while running my application ,Actually  i had 3 different project like test,testservice and testsericeEJB.
    Test had Actionclass,jsp,etc.. for this we had test.ear and Testservice  had  some validation ,database connection and  all the EJB(TestServiceEJB) were inlcuded in the testservice.ear
    TestServiceEJB had EJB
    And we are using weblogic10.3.5 ,while deploying the it is getting into the login page and validating username/password ,but while loading the next page it is displaying some error in my console as below:
    WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
    Jan 10, 2014 1:42:43 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
    SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: zip:C:/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_test_ear/59lh99/war/WEB-INF/lib/_wl_cls_gen.jar!/com/file/test/META-INF/wsdls/testService.wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
    +++++End point address: http://localhost:7002/testService/authoService
    Jan 10, 2014 1:42:44 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
    WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
    Jan 10, 2014 1:42:44 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
    SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: zip:C:/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_test_ear/59lh99/war/WEB-INF/lib/_wl_cls_gen.jar!/com/file/test/META-INF/wsdls/testService.wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
    +++++End point address: http://localhost:7002//testService/roleService
    log4j:WARN No appenders could be found for logger (com.xxxx.test.dao.AuthenticationFailureDAO).
    log4j:WARN Please initialize the log4j system properly.
    Jan 10, 2014 1:42:45 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
    WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
    Jan 10, 2014 1:42:45 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
    SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: zip:C:/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_test_ear/59lh99/war/WEB-INF/lib/_wl_cls_gen.jar!/com/file/test/META-INF/wsdls/activityService.wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
    please help me with this issue

    Hi Everyone,
    i am having some issue while running my application ,Actually  i had 3 different project like test,testservice and testsericeEJB.
    Test had Actionclass,jsp,etc.. for this we had test.ear and Testservice  had  some validation ,database connection and  all the EJB(TestServiceEJB) were inlcuded in the testservice.ear
    TestServiceEJB had EJB
    And we are using weblogic10.3.5 ,while deploying the it is getting into the login page and validating username/password ,but while loading the next page it is displaying some error in my console as below:
    WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
    Jan 10, 2014 1:42:43 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
    SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: zip:C:/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_test_ear/59lh99/war/WEB-INF/lib/_wl_cls_gen.jar!/com/file/test/META-INF/wsdls/testService.wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
    +++++End point address: http://localhost:7002/testService/authoService
    Jan 10, 2014 1:42:44 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
    WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
    Jan 10, 2014 1:42:44 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
    SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: zip:C:/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_test_ear/59lh99/war/WEB-INF/lib/_wl_cls_gen.jar!/com/file/test/META-INF/wsdls/testService.wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
    +++++End point address: http://localhost:7002//testService/roleService
    log4j:WARN No appenders could be found for logger (com.xxxx.test.dao.AuthenticationFailureDAO).
    log4j:WARN Please initialize the log4j system properly.
    Jan 10, 2014 1:42:45 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
    WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
    Jan 10, 2014 1:42:45 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
    SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: zip:C:/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_test_ear/59lh99/war/WEB-INF/lib/_wl_cls_gen.jar!/com/file/test/META-INF/wsdls/activityService.wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
    please help me with this issue

  • WebLogic 10 and EJB 3.0 for Message Driven Bean

    Hi,
    I am trying to deploy Message Driven Bean using EJB3.0 on weblogic 10. I am using annotations and don't want to use deployment descriptors.
    The Bean class:
    CalculatorBean.java
    import javax.ejb.*;
    import javax.jms.*;
    import java.sql.Timestamp;
    import java.util.StringTokenizer;
    @MessageDriven(activationConfig =
    @ActivationConfigProperty(propertyName="destinationType",
    propertyValue="javax.jms.Queue"),
    @ActivationConfigProperty(propertyName="destination",
    propertyValue="queue/mdb")
    public class CalculatorBean implements MessageListener {
    public void onMessage (Message msg) {
    TextMessage tmsg=null;
    try {
    if (msg instanceof TextMessage) {
    tmsg = (TextMessage) msg;
    System.out.println
    ("MESSAGE BEAN1: Message received: "
    + tmsg.getText());
    } else {
    System.out.println
    ("Message of wrong type1: "
    + msg.getClass().getName());
    catch (JMSException e) {
    e.printStackTrace();
    catch (Throwable te) {
    te.printStackTrace();
    My client:
    import javax.naming.*;
    import javax.naming.InitialContext;
    import java.text.*;
    import javax.jms.*;
    public class MsgClient {
    public static void main(String args[])
    QueueConnection cnn=null;
    QueueSender sender=null;
    QueueSession sess=null;
    Queue queue=null;
    try {
    java.util.Properties p = new java.util.Properties();
    p.put("java.naming.factory.initial","weblogic.jndi.WLInitialContextFactory");
    p.put("java.naming.provider.url","t3://10.6.74.79:7001");
    Context ctx=new InitialContext(p);
    //InitialContext ctx=new InitialContext(p);
    queue = (Queue)ctx.lookup("queue/mdb");
    QueueConnectionFactory factory = (QueueConnectionFactory)ctx.lookup("ConnectionFactory");
    cnn = factory.createQueueConnection();
    sess= cnn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
    sender = sess.createSender(queue);
    TextMessage message = sess.createTextMessage();
    message.setText("This is message by Gurumurthy" );
    System.out.println("Sending message: " +message.getText());
    sender.send(message);
    sess.close();
    catch (Exception e)
    e.printStackTrace();
    I am compiling and creating jar file for this class. Then I am creating a .ear file for this.
    The meta-inf/application.xml contains the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
    <display-name>MDBWorking1</display-name>
    <description>Application description</description>
    <module>
    <ejb>MDBWorking1.jar</ejb>
    </module>
    </application>
    I don't want to use deployment descriptor (ejb-jar.xml or weblogic-ejb-jar-xml), because I want to utilize the annotation feature of EJB3.0
    So, after creating the .ear file for this, and try to deploy on weblogic 10, I get the following error:
    An error occurred during activation of changes, please see the log for details.
    Exception preparing module: EJBModule(MDBWorking1.jar) Unable to deploy EJB: CalculatorBean from MDBWorking1.jar: [EJB:011113]Error: The Message Driven Bean 'CalculatorBean(Application: MDBWorking1, EJBComponent: MDBWorking1.jar)', does not have a message destination configured. The message destination must be set using a message-destination-link, destination-resource-link, destination-jndi-name or a resource-adapter-jndi-name.
    Substituted for missing class [EJB - 11113]Error: The Message Driven Bean 'CalculatorBean(Application: MDBWorking1, EJBComponent: MDBWorking1.jar)', does not have a message destination configured. The message destination must be set using a message-destination-link, destination-resource-link, destination-jndi-name or a resource-adapter-jndi-name.
    How to solve this?
    Note:
    I don't want to use Deployment Descriptor and all I want to use is EJB3.0's annotation feature.
    Thanks,
    Guru

    Dear gurubbc,
    I don't know if it still matters to you but you can use the javax.ejb.MessageDriven annotation to point your bean on your queue. I had the same issue like you but i could not solve it properly by switchihg to weblogic.ejb.MessageDriven.
    Use the following annotation and it should work out:
    @MessageDriven
    (mappedName = "queue/mdb",
    name = "CalculatorBean",
    activationConfig = {
    @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")
    Here you can see that the mappedName is the JNDI name of the queue you are trying to connect to. The name is the name for your Bean, and the only property passed is the destination type.
    Hope this helps.
    Cheers,
    Istvan

  • Problem using Weblogic 6 and Weblogic 8.1 thin clients from same applicatio

    We are developing a application where we require to communicate with 2 different ?Webogic Servers? running different versions.
    First server is ?Weblogic 6.1 SP7? and the other is ?Weblogic 8.1?. We use Weblogic thin client jars to connect to these servers. Protocol used to connect to ?Weblogic 8.1? is t3 and for ?Weblogic 6.1 SP7? its t3s. But the obvious problem is that both thin client can not be used simultaneously in the same class-path. Whichever jar file appears first in the class-path, classes will be loaded from that jar. This is causing breakage in our application. If we put ?Weblogic 6.1 SP7? thin client jar first in the path, our application throws exception while connecting to ?Weblogic 8.1? and if we put ?Weblogic 8.1? jar first the path, ?Weblogic 6.1 SP7? won?t connect. Is there a workaround to handle this problem. We have admin level access to Weblogic 8.1 which mean we can change the configuration here if required but we have only user level access to ?Weblogic 6.1 SP7? and can?t do any modification in server config.
    Exceptions:
    Case 1: ?Weblogic 6.1 SP7? thin client jar first in class-path.
    Result : connects successfully with ?Weblogic 6.1 SP7?.
         throws following exception while connecting to ?Weblogic 8.1?.
    weblogic.common.internal.VersioningError: Incompatible packages in CLASSPATH: (BEA Systems, WebLogic Server 6.1 SP7 08/30/2004 22:36:21 #428658 , 6.1.7.0) not compatible with (BEA Systems, WebLogic Server 8.1 SP3 Thu Jun 10 14:16:50 PDT 2004 396756 , 8.1.3.0)
         at weblogic.common.internal.VersionInfo.verifyPackages(VersionInfo.java:118)
         at weblogic.common.internal.VersionInfo.<init>(VersionInfo.java:60)
         at weblogic.common.internal.VersionInfo.initialize(VersionInfo.java:79)
         at weblogic.kernel.Kernel.initialize(Kernel.java:138)
         at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:117)
         at weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactoryDelegate.java:168)
         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 weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:195)
         at com.tpt.thresher.common.concurrent.DistributedProcessExceptionListener.connect(DistributedProcessExceptionListener.java:202)
         at com.tpt.thresher.common.concurrent.DistributedProcess.<init>(DistributedProcess.java:166)
         at com.tpt.thresher.common.concurrent.DistributedProcess.main(DistributedProcess.java:254)
    java.lang.InternalError: error initializing kernel
         at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:120)
         at weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactoryDelegate.java:168)
         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 weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:195)
         at com.tpt.thresher.common.concurrent.DistributedProcessExceptionListener.connect(DistributedProcessExceptionListener.java:202)
         at com.tpt.thresher.common.concurrent.DistributedProcess.<init>(DistributedProcess.java:166)
         at com.tpt.thresher.common.concurrent.DistributedProcess.main(DistributedProcess.java:254)
    Case 2: ?Weblogic 8.1? thin client jar first in class-path.
    Result : connects successfully with ?Weblogic 8.1?.
         throws following exception while connecting to ?Weblogic 6.1 SP7?.
    avax.naming.NamingException: Couldn't connect to any host [Root exception is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 203  completed: No]
    at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:81)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:504)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:467)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:97)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:42)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)TRWLClientBinder.InitialContext NamingException try#: 0 attempt: -1 threadID: 31505976 message: javax.naming.NamingException: Couldn't connect to any host [Root exception is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 203  completed: No]
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientBinder.getInitialContext(TRWLClientBinder.java:715)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientBinder.jndiBind(TRWLClientBinder.java:920)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientBinder.jndiBind(TRWLClientBinder.java:849)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientMessenger.initBinding(TRWLClientMessenger.java:548)
    at com.cpex.trade.domain.TRSession.<init>(TRSession.java:237)
    at com.oldlane.cxlfeeds.ICE.controller.ICEXChangeFeedController.<init>(ICEXChangeFeedController.java:113)
    at com.oldlane.cxlfeeds.ICE.controller.ICEXChangeFeedController.getController(ICEXChangeFeedController.java:63)
    at com.oldlane.cxlfeeds.ICE.controller.ICEXChangeFeedProcessController.main(ICEXChangeFeedProcessController.java:150)
    Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
    at com.sun.corba.se.internal.iiop.IIOPConnection.writeLock(IIOPConnection.java:562)
    at com.sun.corba.se.internal.iiop.BufferManagerWriteGrow.sendMessage(BufferManagerWriteGrow.java:55)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(IIOPOutputStream.java:159)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(IIOPOutputStream.java:117)
    at com.sun.corba.se.internal.iiop.ClientRequestImpl.invoke(ClientRequestImpl.java:76)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:235)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:282)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1117)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:788)
    at com.sun.corba.se.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1186)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1079)
    at com.sun.corba.se.internal.corba.ORB.resolve_initial_references(ORB.java:2436)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:490)
    ... 16 more
    Couldn't connect to any host
    Cause: {1}
    javax.naming.NamingException: Couldn't connect to any host [Root exception is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 203  completed: No]
    at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:81)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:504)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:467)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:97)01/12|15:35:54.279|TRClientBinder.jndiBind TRConnectException, try#: 0 attempt: -1 Message: Couldn't connect to any host
    Cause: {1}
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:42)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientBinder.getInitialContext(TRWLClientBinder.java:715)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientBinder.jndiBind(TRWLClientBinder.java:920)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientBinder.jndiBind(TRWLClientBinder.java:849)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientMessenger.initBinding(TRWLClientMessenger.java:548)
    at com.cpex.trade.domain.TRSession.<init>(TRSession.java:237)
    at com.oldlane.cxlfeeds.ICE.controller.ICEXChangeFeedController.<init>(ICEXChangeFeedController.java:113)
    at com.oldlane.cxlfeeds.ICE.controller.ICEXChangeFeedController.getController(ICEXChangeFeedController.java:63)
    at com.oldlane.cxlfeeds.ICE.controller.ICEXChangeFeedProcessController.main(ICEXChangeFeedProcessController.java:150)
    Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
    at com.sun.corba.se.internal.iiop.IIOPConnection.writeLock(IIOPConnection.java:562)
    at com.sun.corba.se.internal.iiop.BufferManagerWriteGrow.sendMessage(BufferManagerWriteGrow.java:55)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(IIOPOutputStream.java:159)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(IIOPOutputStream.java:117)
    at com.sun.corba.se.internal.iiop.ClientRequestImpl.invoke(ClientRequestImpl.java:76)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:235)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:282)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1117)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:788)
    at com.sun.corba.se.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1186)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1079)
    at com.sun.corba.se.internal.corba.ORB.resolve_initial_references(ORB.java:2436)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:490)
    ... 16 more

    uday naik <> writes:
    The thin-client isn't supported on 6.1, I'm not sure what you are doing.
    andy
    We are developing a application where we require to communicate with 2 different ?Webogic Servers? running different versions.
    First server is ?Weblogic 6.1 SP7? and the other is ?Weblogic 8.1?. We use Weblogic thin client jars to connect to these servers. Protocol used to connect to ?Weblogic 8.1? is t3 and for ?Weblogic 6.1 SP7? its t3s. But the obvious problem is that both thin client can not be used simultaneously in the same class-path. Whichever jar file appears first in the class-path, classes will be loaded from that jar. This is causing breakage in our application. If we put ?Weblogic 6.1 SP7? thin client jar first in the path, our application throws exception while connecting to ?Weblogic 8.1? and if we put ?Weblogic 8.1? jar first the path, ?Weblogic 6.1 SP7? won?t connect. Is there a workaround to handle this problem. We have admin level access to Weblogic 8.1 which mean we can change the configuration here if required but we have only user level access to ?Weblogic 6.1 SP7? and can?t do any modification in server config.
    Exceptions:
    Case 1: ?Weblogic 6.1 SP7? thin client jar first in class-path.
    Result : connects successfully with ?Weblogic 6.1 SP7?.
         throws following exception while connecting to ?Weblogic 8.1?.
    weblogic.common.internal.VersioningError: Incompatible packages in CLASSPATH: (BEA Systems, WebLogic Server 6.1 SP7 08/30/2004 22:36:21 #428658 , 6.1.7.0) not compatible with (BEA Systems, WebLogic Server 8.1 SP3 Thu Jun 10 14:16:50 PDT 2004 396756 , 8.1.3.0)
         at weblogic.common.internal.VersionInfo.verifyPackages(VersionInfo.java:118)
         at weblogic.common.internal.VersionInfo.<init>(VersionInfo.java:60)
         at weblogic.common.internal.VersionInfo.initialize(VersionInfo.java:79)
         at weblogic.kernel.Kernel.initialize(Kernel.java:138)
         at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:117)
         at weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactoryDelegate.java:168)
         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 weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:195)
         at com.tpt.thresher.common.concurrent.DistributedProcessExceptionListener.connect(DistributedProcessExceptionListener.java:202)
         at com.tpt.thresher.common.concurrent.DistributedProcess.<init>(DistributedProcess.java:166)
         at com.tpt.thresher.common.concurrent.DistributedProcess.main(DistributedProcess.java:254)
    java.lang.InternalError: error initializing kernel
         at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:120)
         at weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactoryDelegate.java:168)
         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 weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:195)
         at com.tpt.thresher.common.concurrent.DistributedProcessExceptionListener.connect(DistributedProcessExceptionListener.java:202)
         at com.tpt.thresher.common.concurrent.DistributedProcess.<init>(DistributedProcess.java:166)
         at com.tpt.thresher.common.concurrent.DistributedProcess.main(DistributedProcess.java:254)
    Case 2: ?Weblogic 8.1? thin client jar first in class-path.
    Result : connects successfully with ?Weblogic 8.1?.
         throws following exception while connecting to ?Weblogic 6.1 SP7?.
    avax.naming.NamingException: Couldn't connect to any host [Root exception is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 203  completed: No]
    at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:81)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:504)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:467)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:97)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:42)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)TRWLClientBinder.InitialContext NamingException try#: 0 attempt: -1 threadID: 31505976 message: javax.naming.NamingException: Couldn't connect to any host [Root exception is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 203  completed: No]
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientBinder.getInitialContext(TRWLClientBinder.java:715)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientBinder.jndiBind(TRWLClientBinder.java:920)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientBinder.jndiBind(TRWLClientBinder.java:849)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientMessenger.initBinding(TRWLClientMessenger.java:548)
    at com.cpex.trade.domain.TRSession.<init>(TRSession.java:237)
    at com.oldlane.cxlfeeds.ICE.controller.ICEXChangeFeedController.<init>(ICEXChangeFeedController.java:113)
    at com.oldlane.cxlfeeds.ICE.controller.ICEXChangeFeedController.getController(ICEXChangeFeedController.java:63)
    at com.oldlane.cxlfeeds.ICE.controller.ICEXChangeFeedProcessController.main(ICEXChangeFeedProcessController.java:150)
    Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
    at com.sun.corba.se.internal.iiop.IIOPConnection.writeLock(IIOPConnection.java:562)
    at com.sun.corba.se.internal.iiop.BufferManagerWriteGrow.sendMessage(BufferManagerWriteGrow.java:55)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(IIOPOutputStream.java:159)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(IIOPOutputStream.java:117)
    at com.sun.corba.se.internal.iiop.ClientRequestImpl.invoke(ClientRequestImpl.java:76)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:235)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:282)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1117)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:788)
    at com.sun.corba.se.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1186)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1079)
    at com.sun.corba.se.internal.corba.ORB.resolve_initial_references(ORB.java:2436)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:490)
    ... 16 more
    Couldn't connect to any host
    Cause: {1}
    javax.naming.NamingException: Couldn't connect to any host [Root exception is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 203  completed: No]
    at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:81)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:504)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:467)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:97)01/12|15:35:54.279|TRClientBinder.jndiBind TRConnectException, try#: 0 attempt: -1 Message: Couldn't connect to any host
    Cause: {1}
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:42)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientBinder.getInitialContext(TRWLClientBinder.java:715)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientBinder.jndiBind(TRWLClientBinder.java:920)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientBinder.jndiBind(TRWLClientBinder.java:849)
    at com.cpex.trade.comm.TROrm.wl.TRWLClientMessenger.initBinding(TRWLClientMessenger.java:548)
    at com.cpex.trade.domain.TRSession.<init>(TRSession.java:237)
    at com.oldlane.cxlfeeds.ICE.controller.ICEXChangeFeedController.<init>(ICEXChangeFeedController.java:113)
    at com.oldlane.cxlfeeds.ICE.controller.ICEXChangeFeedController.getController(ICEXChangeFeedController.java:63)
    at com.oldlane.cxlfeeds.ICE.controller.ICEXChangeFeedProcessController.main(ICEXChangeFeedProcessController.java:150)
    Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
    at com.sun.corba.se.internal.iiop.IIOPConnection.writeLock(IIOPConnection.java:562)
    at com.sun.corba.se.internal.iiop.BufferManagerWriteGrow.sendMessage(BufferManagerWriteGrow.java:55)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.finishSendingMessage(IIOPOutputStream.java:159)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(IIOPOutputStream.java:117)
    at com.sun.corba.se.internal.iiop.ClientRequestImpl.invoke(ClientRequestImpl.java:76)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:235)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:282)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1117)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:788)
    at com.sun.corba.se.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1186)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1079)
    at com.sun.corba.se.internal.corba.ORB.resolve_initial_references(ORB.java:2436)
    at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:490)
    ... 16 more

  • [svn:fx-trunk] 7796: get the correct locales of batik and xerces jars into the build

    Revision: 7796
    Author:   [email protected]
    Date:     2009-06-12 13:01:48 -0700 (Fri, 12 Jun 2009)
    Log Message:
    get the correct locales of batik and xerces jars into the build
    bug: https://bugs.adobe.com/jira/browse/SDK-21565
    qa: i18n team (make sure they're all there)
    checkintests: pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21565
    Modified Paths:
        flex/sdk/trunk/build.xml

    Originally posted by: rosec.messagingdirect.com
    I'll look into it; I'm a bit under the gun here and can't easily upend
    my development environment at this time, but hopefully I can look into
    it early next week. Thanks for the pointer.
    Daniel Megert wrote:
    > Chris Rose wrote:
    >> I don't know if this has been asked before (and you'd be amazed at how
    >> hard it is to find specific information when your search query is
    >> "eclipse 100% cpu usage opening class files in a jar"!) but, well,
    >> that's what I'm getting:
    >>
    >> When I open a class file in the editor that is contained in a jar file
    >> anywhere on a Java project's classpath, one of my processor pegs at
    >> 100% usage for anywhere from 15-120 seconds and eclipse becomes
    >> non-responsive for that period of time, not even redrawing the UI.
    >>
    >> This occurs for jars as large as the jboss client jar and the weblogic
    >> 80Mb uber-jar and for jars as small as a 241kb library jar.
    >>
    >> Is there anything I can do to track down WHY this is happening? I end
    >> up having to trace into third party code a lot while debugging
    >> container behaviour and this plays merry havoc with the timeouts for
    >> remote calls, so I'm quite motivated to suss out why it's happening.
    >>
    >> Eclipse details are attached.
    > There was a bug regarding big JARs on the build path. Can you try
    > whether this still happens using 3.4 M7. If so, please file a bug report
    > with steps to reproduce. Also, please create some stack dumps while
    > waiting and attach them to the bug report.
    >
    > Dani
    Chris Rose
    Developer Planet Consulting Group
    (780) 577-8433
    [email protected]

  • Using JMX to read ejb manifest jar and ejb-jar.xml in ejb jar inside ear

    Hello,
    I have an ear deployed on weblogic console. I need to check contents of manifest file and ejb-jar.xml of a jar that is present in the deployed ear.
    Currently I am using below code to access jar inside ear deployed :
    Hashtable env = new Hashtable(5);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL,
    url);
    env.put(Context.SECURITY_PRINCIPAL, user);
    env.put(Context.SECURITY_CREDENTIALS, password);
    Context ctx = new InitialContext(env);
    mBeanHome = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    String type = "EJBComponentRuntime";
    Set beans = mBeanHome.getMBeansByType(type);
    try{
    for(Iterator it=beans.iterator();it.hasNext();)
    EJBComponentRuntimeMBean rt = (EJBComponentRuntimeMBean)it.next();
    if(rt.getParent().getName().equals("xxx")){
    System.out.println(rt.getName());
    l.add(rt.getName());
    Here xxx is the ear. Now I need to get inside the jar (represented) by variable rt and access its manifest file,ejb-jar.xml
    Does anyone have an idea how to do this?
    regards
    Sameer

    Isn't it possible to put them there manually? :)

  • Capturing weblogic username and password for use in my console extension

    Hi,
    I have developed a console extension as a war file and it needs to capture the Weblogic username and password so internally it can use the class MBeanServerConnection that needs these during connection. I have therefore created the standard <login-config> <auth-method>FORM</auth-method> ... stuff in the web.xml to output a logon.jsp when my war is accessed in the hope of capturing username and password. My intention is that these would appear in addition to the standard logon that appears when the Weblogic console is 1st accessed.
    However, my console extension logon.jsp does not appear and I think it’s because there is only one logon needed and this is when the main Weblogic console is accessed because my console extension is subordinate to the main Weblogic console.
    Therefore, how can I get my console extension logon.jsp to appear so I can capture the Weblogic username and password?
    Thanks,
    Dave.

    One approach that might work is to write a look and feel console extension that modifies the console's login jsp (vs trying to have a second login jsp).
    http://download.oracle.com/docs/cd/E15523_01/web.1111/e13745/rebrand.htm#i1070459 describes how to write look and feel extensions.
    Basically, you instantiate the look and feel extension template, hand-edit login/LoginForm.jsp, then build and deploy the extension.
    One tricky part is figuring out how to pre-compile the jsps. Here's part of a build script I've used for look and feel extensions. Let me know if you need a sample look and feel extension.
    <project name="sample-look-and-feel" default="build">
    <dirname property="this.dir" file="${ant.file.sample-look-and-feel}" />
    <property environment="env" />
    <property name="src.dir" value="${this.dir}/src" />
    <property name="build.dir" value="${this.dir}/build" />
    <property name="webapp.dir" value="${build.dir}/webapp" />
    <property name="jspc.dir" value="${build.dir}/jspc" />
    <property name="samplename" value="sample-look-and-feel" />
    <property name="wlhome.dir" value="${env.WL_HOME}" />
    <property name="consoleapp.dir" value="${wlhome.dir}/server/lib/consoleapp" />
    <property name="deployment" value="${build.dir}/${samplename}.war" />
    <target name="build">
    <!--
    Make a temporary directory that we will compile the jsps from.
    It includes the console's web.xml (which has the jspc configuration),
    the sample's jsps, and any console taglibs the sample's jsps use.
    -->
    <copy todir="${jspc.dir}">
    <fileset dir="${consoleapp.dir}/webapp">
    <include name="**/struts.jar" />
    <include name="**/standard.jar" />
    <include name="**/beehive-netui-tags.jar" />
    <include name="**/skeleton_taglib.jar" />
    <include name="**/render_taglib.jar" />
    <include name="**/l10n_taglib.jar" />
    <include name="**/*.tld" />
    <include name="**/web.xml" />
    </fileset>
    <fileset dir="${webapp.dir}">
    <include name="**/*.jsp" />
    </fileset>
    </copy>
    <!--
    Compile the jsps out of the temporary directory.
    Put the generate files into the extension's wabapp.
    -->
    <java classname="weblogic.servlet.jsp.jspc20" fork="true" failonerror="false">
    <arg line="-noexit" />
    <arg line="-d ${webapp.dir}/WEB-INF/classes" />
    <arg line="-webapp ${jspc.dir}" />
    <!--
    <arg line="-verboseJspc"/>
    <arg line="-debug"/>
    <arg line="-keepgenerated"/>
    -->
    <classpath>
    <pathelement path="${wlhome.dir}/server/lib/wlw-langx.jar" />
    <fileset dir="${consoleapp.dir}/APP-INF/lib">
    <include name="*.jar" />
    </fileset>
    <fileset dir="${consoleapp.dir}/webapp/WEB-INF/lib">
    <include name="*.jar" />
    </fileset>
    <pathelement path="${java.class.path}" />
    </classpath>
    </java>
    <!-- Remove the temporary directory now that we're done with it. -->
    <delete dir="${jspc.dir}" />
    <!-- Package the extension -->
    <jar destfile="${deployment}" basedir="${webapp.dir}" />
    <!-- remove the webapp directory now that the webapp is built -->
    <delete dir="${webapp.dir}" />
    </target>
    </project>

  • Weblogic webservices and JSP

    Hi Folks,
    I have been stuck with this issue for quite sometime now. I have developed a simple webservice using a java class. It looks something like this..
    public class ReceiveMessageClass{
       public void receiveMessage(String msg){
          logIt(msg);
          //Store 'msg' in a memory variable so that the JSP can ping it every 10 sec and read it..
    }Now, I need a webpage to look at all the messages I recieve at this webservice. Sounds pretty easy? I have done this with Axis. I can create a WAR and my webservice and my JSP can co-exist and share a variable in memory. But with weblogic, a EAR is created and I am not sure how to get my JSP into the EAR. I am not sure how I can store this 'msg' into memory(some static vbl) and then have my JSP read it and display it.
    Any suggestions?

    I do not see any weblogic classes in the stack trace. So could this
    be something to do with tomcat?
    If you are just using the client side of the web services stack, you
    only need the Client.jar and webserviceclient.jar file in your war.
    Regards,
    -manoj.
    http://manojc.com
    "Stephen Zeng" <[email protected]> wrote in message
    news:3ef1d72c$[email protected]..
    >
    I have packed Client.jar, weblogic.jar, webservices.jar and jsp as aseperated
    war to call web sevice and run sucessfully in WLS7.0. But when I ran inTomcat
    4.0.1, I got the following error. I try set javax.xml.rpc.ServiceFactoryas context
    param in web.xml, but no use. <p>
    java.lang.ClassCastException <br>
    atjavax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
    java:93)<br>
    atorg.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)<
    br>
    atorg.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa
    che.java:165)<br>
    atorg.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
    atorg.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:324)
    at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
    atorg.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
    atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
    va:214)
    atorg.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
    66)
    atorg.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    Stephen

Maybe you are looking for

  • Difference between SQL Explain and SP Explain

    What is the difference between SQL Explain and SP Explain? And why would they suggest a different index is being used for the same statement in the same trace?

  • Not updating

    "songs on the ipod ~robo~ cannot be updated because all of the playlists selected for updating no long exist" how do i select a playlist for updating? or is there something else wrong? i have about 500 songs on itunes but zero on my ipod now...

  • Lightroom Sharpening vs. TopazLabs InFocus

    InFocus is very much like a TopazLabs version of FocusMagic: i.e. well done (but you have to get the sliders right, and I think using in conjunction with a layer mask is a smart move, to "remix" some of the areas that are overly sharp and/or have art

  • How to enable server-side include in OS X 10.8

    Do I need to modify apache2/httpd.conf directly, or is there a higer level way to do this? If need to modify httpd.conf, exactly how? thanks.

  • Why does text color change when exporting to PDF?

    I have a white background.  In a textbox, I have black text and white text.  When I export to a PDF, the black text stays black but the white text changes to black.  Any idea why that happens? I have a similar situation with shapes.  I have a black c