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

Similar Messages

  • Weblogic.jar vs wlclient.jar problems

    Hi,
    I have a swing client and am trying to get authentication working correctly.
    A problem i am running across occurs when i try to login using empty strings.
    new LoginContext("Sample", new SampleCallbackHandler("", "", server));
    With weblogic.jar, no exceptions are thrown.
    With wlclient.jar, this is thrown: "UsernamePasswordLoginModule Error: NamingException on authenticate, Unhandled exception in lookup"
    Is this a bug, or am i doing something wrong? Thanks in advance.
    Chetan

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

  • Problem building application with weblogic.jar placed out of bea install.

    Weblogic version: 10.3
    EJB Version: 2.x
    Method for generating webservices fomr EJBs: servicegen task.
    Application Build steps:
    Step1) Maven to build the complete application and generate ejb-jar.jar and other projects jars and wars.
    Step2) Post maven build success there is an ant script used to generate webservices using ejb’s in the project using servicegen task. Attached is build.xml for ant.
    Following is the class path :
    .;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar;C:\Program Files\IBM\RationalSDLC\ClearQuest\cqjni.jar;C:\bea10.3\wlserver_10.3\server\lib\weblogic.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\webservices.jar;%JAVA_HOME%\lib\tools.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\libslf4j-log4j12-1.5.2.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\struts.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\bootstrap.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\db2jcc.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\db2jcc_license_cu.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\ehcache-core-2.0.0.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\j2ee.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\jdom.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\log4j-1.2.9.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\slf4j-api-1.5.8.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\ulc-dto.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\ulc-jar.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\scheduler-ejb.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\com.bea.core.xml.beaxmlbeans_2.0.0.0_2-5-1.jar;
    Problem Area:
    As you could notice in the yellow highlighted one that am referring to weblogic.jar from bea installation folder. Now if I use the weblogic.jar from the installation folder then build happens successfully.
    However if I copy weblogic.jar to some other location say : C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\weblogic.jar
    And include this path in the class path in place of weblogic.jar from the installation path, then I get the following errors: Please refer red highlighted part below…
    C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\ulc-ear>ant
    Buildfile: build.xml
    ejbwebservice:
    [servicegen] weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed D
    OCTYPE header
    [servicegen] at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:301)
    [servicegen] at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:241)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:320)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:295)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:265)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:118)
    [servicegen] at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:47)
    [servicegen] at weblogic.webservice.util.WebServiceEarFile.init(WebServiceEarFile.java:177)
    [servicegen] at weblogic.webservice.util.WebServiceEarFile.readDD(WebServiceEarFile.java:235)
    [servicegen] at weblogic.webservice.util.WebServiceEarFile.<init>(WebServiceEarFile.java:74)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:177)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [servicegen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [servicegen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [servicegen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [servicegen] at java.lang.reflect.Method.invoke(Method.java:597)
    [servicegen] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:348)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:357)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [servicegen] at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [servicegen] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    [servicegen] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    [servicegen] --------------- nested within: ------------------
    [servicegen] Error processing file 'META-INF/ejb-jar.xml'. weblogic.xml.process.XMLProcessingException: XML document doe
    s not appear to contain a properly formed DOCTYPE header - with nested exception:
    [servicegen] [weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed
    DOCTYPE header]
    --------------- nested within: ------------------
    weblogic.webservice.util.WebServiceJarException: Could not process ejb-jar C:\DOCUME~1\ac30416\LOCALS~1\Temp\ulc-ear.ear
    -86826932\ejb.jar - with nested exception:
    [weblogic.webservice.dd.EJBProcessingException: Can read in ejb DD files. - with nested exception:
    [Error processing file 'META-INF/ejb-jar.xml'. weblogic.xml.process.XMLProcessingException: XML document does not appear
    to contain a properly formed DOCTYPE header - with nested exception:
    [weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed DOCTYPE heade
    r]]]
    at weblogic.webservice.util.WebServiceEarFile.init(WebServiceEarFile.java:183)
    at weblogic.webservice.util.WebServiceEarFile.readDD(WebServiceEarFile.java:235)
    at weblogic.webservice.util.WebServiceEarFile.<init>(WebServiceEarFile.java:74)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:177)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    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 org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Please help as its urgent for me as we cannot have local installation of weblogic. We may just use the required jars.

    Weblogic version: 10.3
    EJB Version: 2.x
    Method for generating webservices fomr EJBs: servicegen task.
    Application Build steps:
    Step1) Maven to build the complete application and generate ejb-jar.jar and other projects jars and wars.
    Step2) Post maven build success there is an ant script used to generate webservices using ejb’s in the project using servicegen task. Attached is build.xml for ant.
    Following is the class path :
    .;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar;C:\Program Files\IBM\RationalSDLC\ClearQuest\cqjni.jar;C:\bea10.3\wlserver_10.3\server\lib\weblogic.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\webservices.jar;%JAVA_HOME%\lib\tools.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\libslf4j-log4j12-1.5.2.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\struts.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\bootstrap.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\db2jcc.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\db2jcc_license_cu.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\ehcache-core-2.0.0.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\j2ee.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\jdom.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\log4j-1.2.9.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\slf4j-api-1.5.8.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\ulc-dto.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\ulc-jar.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\scheduler-ejb.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\com.bea.core.xml.beaxmlbeans_2.0.0.0_2-5-1.jar;
    Problem Area:
    As you could notice in the yellow highlighted one that am referring to weblogic.jar from bea installation folder. Now if I use the weblogic.jar from the installation folder then build happens successfully.
    However if I copy weblogic.jar to some other location say : C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\weblogic.jar
    And include this path in the class path in place of weblogic.jar from the installation path, then I get the following errors: Please refer red highlighted part below…
    C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\ulc-ear>ant
    Buildfile: build.xml
    ejbwebservice:
    [servicegen] weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed D
    OCTYPE header
    [servicegen] at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:301)
    [servicegen] at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:241)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:320)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:295)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:265)
    [servicegen] at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:118)
    [servicegen] at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:47)
    [servicegen] at weblogic.webservice.util.WebServiceEarFile.init(WebServiceEarFile.java:177)
    [servicegen] at weblogic.webservice.util.WebServiceEarFile.readDD(WebServiceEarFile.java:235)
    [servicegen] at weblogic.webservice.util.WebServiceEarFile.<init>(WebServiceEarFile.java:74)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:177)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [servicegen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [servicegen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [servicegen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [servicegen] at java.lang.reflect.Method.invoke(Method.java:597)
    [servicegen] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:348)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:357)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [servicegen] at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [servicegen] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    [servicegen] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    [servicegen] --------------- nested within: ------------------
    [servicegen] Error processing file 'META-INF/ejb-jar.xml'. weblogic.xml.process.XMLProcessingException: XML document doe
    s not appear to contain a properly formed DOCTYPE header - with nested exception:
    [servicegen] [weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed
    DOCTYPE header]
    --------------- nested within: ------------------
    weblogic.webservice.util.WebServiceJarException: Could not process ejb-jar C:\DOCUME~1\ac30416\LOCALS~1\Temp\ulc-ear.ear
    -86826932\ejb.jar - with nested exception:
    [weblogic.webservice.dd.EJBProcessingException: Can read in ejb DD files. - with nested exception:
    [Error processing file 'META-INF/ejb-jar.xml'. weblogic.xml.process.XMLProcessingException: XML document does not appear
    to contain a properly formed DOCTYPE header - with nested exception:
    [weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed DOCTYPE heade
    r]]]
    at weblogic.webservice.util.WebServiceEarFile.init(WebServiceEarFile.java:183)
    at weblogic.webservice.util.WebServiceEarFile.readDD(WebServiceEarFile.java:235)
    at weblogic.webservice.util.WebServiceEarFile.<init>(WebServiceEarFile.java:74)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:177)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    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 org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Please help as its urgent for me as we cannot have local installation of weblogic. We may just use the required jars.

  • URG! problem with wls 9.2. DynamicMBeanImpl Class no exists in weblogic.jar

    Hi all,
    I have a problem instalating in startupclass and shutdownclass to uses jolt connections.
    Theses classes are PoolManagerStartUp and PoolManagerShutdown.
    it looks like the problem is in the joltwls.jar library (it contains the classes previously mentioned, bea.jolt.pool.servlet.weblogic.PoolManagerStartUp and bea.jolt.pool.servlet.weblogic.PoolManagerShutdown)
    These classes uses a method that is in weblogic.jar version 7.0 but not in weblogic.jar version 9.2.
    the class that hasn´t been found is weblogic/management/internal/DynamicMBeanImpl
    this is the log :
    <Dec 20, 2008 6:29:27 PM CET> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NoClassDefFoundError: weblogic/management/internal/DynamicMBeanImpl
    java.lang.NoClassDefFoundError: weblogic/management/internal/DynamicMBeanImpl
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:246)
    at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)
    at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
    at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)
    Truncated. see log file for complete stacktrace
    thanks in advance!!
    Edited by: user5481292 on 20-dic-2008 10:21
    Edited by: user5481292 on 20-dic-2008 10:37

    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)

  • RMI problem with weblogic.jar

    We have a pure Java client that connects to the Weblogic server.
    While trying to connect we receive the error message below.
    I have unjarred the weblogic.jar file and discovered that the
    Stub.class is actually in weblogic/rmi/extensions/server/
    while it expects it to be in weblogic/rmi/extensions .
    Is there a fix for this as we are trying to upgrade from a previous version of weblogic and go live in Jan.
    Thanks
    Dave F
    java.lang.NoClassDefFoundError: weblogic/rmi/extensions/Stub(

    I'd suggest that you run the vm with the debug flag (-verbose) and see where the classes are being loaded; and examine the classpath to determine where the old jar or classes are occurring.
    Rita wrote:
    We have re-jarred the Stub.class and put it under weblogic/rmi/extensions, but when the java app runs, it still tries to look in weblogic/rmi/extensions/server. So, I think somewhere in the weblogic.jar, the path specified is still weblogic/rmi/extensions. Do you know what need to be done?
    Thanks,
    Rita
    Eduardo Ceballos <[email protected]> wrote:
    Yes, please regenerate your stub classes. That is, re-run rmic or ejbc.
    David Furlong wrote:
    We have a pure Java client that connects to the Weblogic server.
    While trying to connect we receive the error message below.
    I have unjarred the weblogic.jar file and discovered that the
    Stub.class is actually in weblogic/rmi/extensions/server/
    while it expects it to be in weblogic/rmi/extensions .
    Is there a fix for this as we are trying to upgrade from a previous version of weblogic and go live in Jan.
    Thanks
    Dave F
    java.lang.NoClassDefFoundError: weblogic/rmi/extensions/Stub(

  • How to find out version of Jakarta-ORO in Weblogic.jar

    Our environment is Weblogic 6.1 SP3 on Win2k professional with JDK 1.3.1_03 (build
    1.3.1_03-b03). We use Protomatter Syslog in our application and it uses Jakarta
    ORO classes for regexp parsing. Since Weblogic jar already has the classes we
    do not have a separate jar for ORO in our classpath.
    We have seen ArrayIndexOutOfBounds exceptions in ORO code and the bug is listed
    as solved in version 2.0.7 & later versions. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17707
    I appreciate someone letting me know how to find the version of ORO in Weblogic
    6.1 SP3. I could try placing the Jakarta jar before Weblogic jar on my classpath,
    but I would like to figure out the problem instead of trial and error.
    Thanks,
    Nitin
    [ArrayIndexOutOfBounds.txt]

    I don't find it with a quick scan of the src610 code line, you might have to
    open a support case, unless you can give me a class name for some more
    hints.
    mbg
    "Nitin Shenoy" <[email protected]> wrote in message
    news:[email protected]..
    >
    Our environment is Weblogic 6.1 SP3 on Win2k professional with JDK1.3.1_03 (build
    1.3.1_03-b03). We use Protomatter Syslog in our application and it usesJakarta
    ORO classes for regexp parsing. Since Weblogic jar already has the classeswe
    do not have a separate jar for ORO in our classpath.
    We have seen ArrayIndexOutOfBounds exceptions in ORO code and the bug islisted
    as solved in version 2.0.7 & later versions.http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17707
    >
    I appreciate someone letting me know how to find the version of ORO inWeblogic
    6.1 SP3. I could try placing the Jakarta jar before Weblogic jar on myclasspath,
    but I would like to figure out the problem instead of trial and error.
    Thanks,
    Nitin

  • 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

  • A webservice dont want to deploy and run (because of weblogic.jar)

    Good Afternoon!
    I have a JDeveloper 11g Release 1 (11.1.1.3.0)
    And I have a simple webservice. (A simple Class i converted to webservice.)
    Trying to test it (RMC on file -> Test Web Service) i got a fail like this:
    [Running application SimpleWSApll on Server Instance IntegratedWebLogicServer...]
    [04:45:16 PM] ---- Deployment started. ----
    [04:45:16 PM] Target platform is (Weblogic 10.3).
    [04:45:16 PM] Retrieving existing application information
    [04:45:17 PM] Running dependency analysis...
    [04:45:17 PM] Deploying 2 profiles...
    [04:45:17 PM] Wrote Web Application Module to C:\Users\andrejsg\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SimpleWSApll\SimpleWSProjectWebApp.war
    [04:45:17 PM] Wrote Enterprise Application Module to C:\Users\andrejsg\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SimpleWSApll
    [04:45:17 PM] Deploying Application...
    <2011.25.2 16:45:22 EET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1298645117434' for task '12'. Error is: 'weblogic.management.DeploymentException: Error encountered during prepare phase of deploying WebService module 'SimpleWSProjectWebApp.war'. When processing WebService module 'SimpleWSProjectWebApp.war'. Can't find wsdl /wsdls/wsat11/wstx-wsat-1.1-wsdl-200702.wsdl'
    weblogic.management.DeploymentException: Error encountered during prepare phase of deploying WebService module 'SimpleWSProjectWebApp.war'. When processing WebService module 'SimpleWSProjectWebApp.war'. Can't find wsdl /wsdls/wsat11/wstx-wsat-1.1-wsdl-200702.wsdl
         at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:146) and bla-bla-bla....
    After some experiments i found:
    1. A deployment error reason is because i have a weblogic.jar (C:\Oracle\Middleware\wlserver_10.3\server\lib) library - if i remove it - webservice deploys successfully (but i cant do this, because i need it for LocatorFactory.createLocator() in my webservice)
    2. I googled for this wsdl and added it to project. On the next test there were an error again - with the same text, only with another wsdl needed (wsdls\wsc10\wscoor.wsdl). I found it and added. Then i was asked for next and next and next...
    So, where can be a problem? And how i can fix it?

    Hi,
          You've probably figured this out by now; if not, maybe this will help!
    Message Edited by tbd on 07-12-2006 11:07 PM
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
    Attachments:
    Main.vi ‏17 KB
    SubVI.vi ‏8 KB

  • Minimizing size of weblogic.jar for JavaWebStart

    We have a number of in-house client-server Swing applications. They run through
    JavaWebStart and talk to WebLogic EJB's on the backend. I'm working on a new app,
    the first on WL7, and the sheer mass of weblogic.jar is a big problem: close to
    40MB! It's so big that when I made the JWS web client into a WAR inside our app's
    ear, I got an OutOfMemoryError deploying unless I gave the weblogic.Deployer at
    least 256mb of memory! It also takes a long time to download, a long time to deploy,
    etc.. I imagine only a fraction of those classes are actually needed at runtime,
    but which ones?!? I have found nothing on Google or dev2dev, because I guess this
    sort of config is a lot less common than a JSP/servlet type set-up. Help!
    --kd

    I guess you should search for VerboseToZip utility in WLS. Search on dev2dev
    site. I saw a white paper. Title is something like "thin client jar..."
    "Kyle Downey" <[email protected]> wrote in message
    news:[email protected]..
    >
    We have a number of in-house client-server Swing applications. They runthrough
    JavaWebStart and talk to WebLogic EJB's on the backend. I'm working on anew app,
    the first on WL7, and the sheer mass of weblogic.jar is a big problem:close to
    40MB! It's so big that when I made the JWS web client into a WAR insideour app's
    ear, I got an OutOfMemoryError deploying unless I gave theweblogic.Deployer at
    least 256mb of memory! It also takes a long time to download, a long timeto deploy,
    etc.. I imagine only a fraction of those classes are actually needed atruntime,
    but which ones?!? I have found nothing on Google or dev2dev, because Iguess this
    sort of config is a lot less common than a JSP/servlet type set-up. Help!
    --kd

  • Get server instance name without deploying weblogic.jar to client

    I use wlclient.jar with my client. Using weblogic.jar instead causes the
    size of the deployment package of my client to go from 4 meg to 34 meg
    (roughly). I don't want full MBean functionality, all I want to do is find
    out what the server instance name is. Surely there's a way to do this.

    Hi,
    Weblogic provides you a way to create client jar files so that the complete weblogic.jar
    doesn't need to be downloaded to the client. The tool is called verboseToZip.
    See
    http://e-docs.bea.com/wls/docs70/adminguide/utils.html#1117405
    hope this helps, pat
    "BEA" <[email protected]> wrote:
    I am trying to deploy my client application on a standalone windows machine
    and do not wish to deploy weblogic.jar with the client deployment. Is
    there
    any way of allowing my clients to use Weblogic JNDI without having to
    deploy
    weblogic.jndi.WLInitialContextFactory.class (and its associated classes.
    I find it hard to believe that everyone who is developing on weblogic
    distributes this JAR file to their customers with their client
    applications....?
    Can you use something other than weblogic.jndi.WLInitialContextFactory
    such
    as the sun jndi provider instead....?
    If anyone can shed some light on this deployment problem it would be
    much
    appreciated.....even if its simply 'thats just the way you have to do
    it
    !......will save me time trying to get other solutions to work...!
    TIA

  • Jar not loaded Error when deploying weblogic.jar in tomcat

    Hi experts,
    This time i have one more problem,
    i have deployed my application in tomcat such that when tomcat starts my java program also gets started, for my java program i had to use a weblogic library which is in "web-inf / lib / weblogic.jar" . but when i start tomcat i get error like
    INFO: validateJarFile (C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\MyApp\WEB-INF\lib\weblogic.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Dec 4, 2006 8:27:18 PM org.apache.catalina.core.StandardPipeline registerValve
    INFO: Can't register valve org.apache.catalina.core.StandardContextValve@1362012
    org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1bc82e7 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1bc82e7
    for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category))
            at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
    what could be the problem in loading weblogic.jar
    my platform configuations are
    TOMCAT 5.5
    OS - windows 2000                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

              have u done the servlet naminga and mapping in the web.xml file??
              Kumar Allamraju <[email protected]> wrote:
              ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              ><html>
              >Have you registered the servlet in web.xml?
              ><p>--
              ><br>Kumar
              ><p>Deepak Balakrishna wrote:
              ><blockquote TYPE=CITE>Hi.
              ><p>I am having trouble deploying a servlet to WLS 6.1
              ><p>a) The name of the servlet is HaServlet and it's duly noted in web.xml
              ><br>b) I created a directory
              ><br>config/examples/applications/cluster-servlet/WEB-INF
              ><br>c) Added web.xml under WEB-INF/. web.xml was created using the weblogic
              ><br>DDInit CLI
              ><br>d) Added the servlet classfile (HaServlet.class) under
              ><br>WEB-INF/classes/samples/cluster/servlet/.
              ><br>e) Tried to access it by http://host:port/cluster-servlet/HaServlet
              ><p>I get
              ><br>Error 404--Not Found
              ><p>What am I missing? I also tried restarting the app server to no avail.
              ><p>Thx,
              ><br>- deepak</blockquote>
              ></html>
              >
              

  • JDriver and weblogic.jar for the wlserver 6.1 sp2

    Hi all,
    After I download the jDriver for Ms sql 2000 server, I set the classpath as
    document told, I test
    it using the utils.dbping it works fine. But when I try to use it with the weblogic
    server 6.1
    I have the problem as following:
    I included the jDriver classes in the classpath of the startWeblogic.cmd as
    set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;C:\weblogic\mssqlserver4v70\classes
    saved the startWeblogic.cmd file
    Then I start the wls with startWeblogic.cmd(the new classpath). It starts fine
    Then I setup the connection sql pool using the weblogic.jdbc.mssqlserver4.Driver
    It says "No suitable driver"
    I found that in the weblogic.jar(shipped with the weblogic 6.1) and in the jDriver
    classes, there are two files which have the same name is weblogic.jdbc.mssqlserver4.Driver.
    Because in the classpath
    .\lib\weblogic.jar comes first so weblogic server takes weblogic.jdbc.mssqlserver4.Driver
    of the weblogic.jar rather than in the jDriver classes directory. So I thought
    the matter of changing the order in the classpath (.\lib\weblogic_sp.jar;C:\weblogic\mssqlserver4v70\classes;.\lib\weblogic.jar")
    will solve the problem, but when I changed the oder in the classpath the weblogic
    server did not start AT ALL with the following errror.
    ------------------Begin error----------------------------
    C:\bea\wlserver6.1>"C:\bea\jdk131\bin\java" -hotspot -ms64m -mx64m -classpath
    ;.\lib\weblogic_sp.jar;C:\weblogic\mssqlserver4v70\classes;.\lib\weblogic.jar"
    -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver -Dbea.home="C:\\bea" -Dweblogic.management.password=
    -Dweblogic.ProductionModeEnabled=true -Djava.security.policy="C:\bea\wlserver6.
    1/lib/weblogic.policy" weblogic.Server
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.NoSuchMethodError
    at weblogic.Home.getFileSource(Home.java:66)
    at weblogic.Home.<init>(Home.java:29)
    at weblogic.Home.getInstance(Home.java:81)
    at weblogic.Home.getPath(Home.java:89)
    at weblogic.security.internal.ServerAuthenticate.main(ServerAuthenticate
    .java:77)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:200)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    C:\bea\wlserver6.1>goto finish
    ------------------End error----------------------------
    I wonder how can I use the jDriver with weblogic server?
    Do you have any idea what I have done wrong or how to get around with this problem?
    Please help
    Thanks in advance

    It works now.
    Thanks Laurent.
    Tom
    Laurent Goldsztejn <[email protected]> wrote:
    Hi Tom,
    Can you please make sure that the driver is defined as
    weblogic.jdbc.mssqlserver4.Driver
    and that the url starts with jdbc:weblogic:mssqlserver4
    Thank you,
    Laurent Goldsztejn
    Developer Relations Engineer
    BEA Support

  • Issue with weblogic.jar parsing the wsdl

    Hi,
    Here is a very small program, for which i am facing the problem of getting the
    types from the wsdl. It works fine, as standalone....You do not have to deploy
    the code any where..just have weblogic.jar in the classpath. It does not work.
    It works when weblogic.jar is not in the classpath..any help is GREATLY APPRECIATED...
    java.wsdl.Types from the java.wsdl.Definition object and the schema in the types
    is null ( when weblogic.jar is present in the
    I am always getting null in the schema (
    import javax.wsdl.Definition;
    //import weblogic.soap.wsdl.binding.Definition;
    import javax.wsdl.xml.WSDLReader;
    import javax.wsdl.factory.WSDLFactory;
    public class Test {
    Definition definition = null;
    public static void main(String args[] ) {
    Test test = new Test();
    test.parseWSDL(args[0]);
    public void parseWSDL(String WSDLName)
    try
    WSDLFactory wsdlFactory = WSDLFactory.newInstance();
    WSDLReader wsdlReader = wsdlFactory.newWSDLReader();
    wsdlReader.setFeature("javax.wsdl.verbose",false);
    wsdlReader.setFeature("javax.wsdl.importDocuments",true);
    definition = wsdlReader.readWSDL(WSDLName);
    System.out.println("-----------" + definition.getTypes() );
    catch( Exception e ) {
    System.out.println("Exception" + e ); }
    Thank for your help.
    Nag

    Hi Nag,
    With little reference to Sir Walter Scott, it would be a very tangled
    web we weave in an attempt to factor out the inter-relationships of
    javax interfaces that are hindering your effort. All to say, we don't
    currently support JSR 110 (javax.wsdl.*) and it is not on the near term
    horizon.
    Have you considered using autotype [1]?
    Regards,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs81/webserv/anttasks.html#1080062
    Nag wrote:
    >
    Hi,
    Here is a very small program, for which i am facing the problem of getting the
    types from the wsdl. It works fine, as standalone....You do not have to deploy
    the code any where..just have weblogic.jar in the classpath. It does not work.
    It works when weblogic.jar is not in the classpath..any help is GREATLY APPRECIATED...
    java.wsdl.Types from the java.wsdl.Definition object and the schema in the types
    is null ( when weblogic.jar is present in the
    I am always getting null in the schema (
    import javax.wsdl.Definition;
    //import weblogic.soap.wsdl.binding.Definition;
    import javax.wsdl.xml.WSDLReader;
    import javax.wsdl.factory.WSDLFactory;
    public class Test {
    Definition definition = null;
    public static void main(String args[] ) {
    Test test = new Test();
    test.parseWSDL(args[0]);
    public void parseWSDL(String WSDLName)
    try
    WSDLFactory wsdlFactory = WSDLFactory.newInstance();
    WSDLReader wsdlReader = wsdlFactory.newWSDLReader();
    wsdlReader.setFeature("javax.wsdl.verbose",false);
    wsdlReader.setFeature("javax.wsdl.importDocuments",true);
    definition = wsdlReader.readWSDL(WSDLName);
    System.out.println("-----------" + definition.getTypes() );
    catch( Exception e ) {
    System.out.println("Exception" + e ); }
    Thank for your help.
    Nag

  • Encoding with weblogic.jar or wlclient.jar

    I am using weblogic 9.0 on jrockit 1.5.0_03 I have an application deployed using stateless session EJB’s.
    I have a webstart client that runs on jdk1.5.0_03. When using weblogic.jar on the client side, everything runs fine.
    When using wlclient.jar on the client side, I don’t get data from the server which contains umlauts. The data are lost on the client side.
    In the direction to the server I have no problems, I can store data with umlaut. I tried already setting the default encoding on server (-Dweblogic.webservice.i18n.charset=utf-16) and client (-Dfile.encoding=utf-16), with no success.
    Any help will be appreciated.
    Thanks in advance!

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

  • Source for weblogic.jar?

    I need the source for weblogic.jar.
    Where can I get it?

    Hans:
    We don't have an source avaliable policy.
    What is the problem you are trying to solve?
    mbg
    "Hans Schwäbli" <[email protected]> wrote in message
    news:[email protected]..
    I need the source for weblogic.jar.
    Where can I get it?

Maybe you are looking for

  • I-tunes will not install on 64bit Windows 7

    I've spend days literally trying to get I-tunes installed on my HP Pavilion dm4 running Windows 7 Professional. Original problem was the installer wanted to install on the F drive which I don't have. I spent 3 hours with Apple support and 2 more hour

  • Something very strange is happening with the adjustment brush

    When I brush over an area of a photo with the adjustment brush, LR does not select all of the area I brushed over, regardless how many times I go over it.  The unselected spots look like pepper sprinkled on mashed potatoes, small dots that will not s

  • Can I rename and move a catalog?

    I recently made a full backup of my LR2 catalog, (18,000 photos) which was on my PC, and transferred it to my new Mac. When I made the backup, I accidentally included a folder of personal photos, which I would have preferred to be a second catalog. S

  • Sorting In the Aperture library entitled "Photos"

    In the Aperture library entitled "Photos", is there an easy way that I can I sort all the photos according to the chronological order in which they were taken?

  • How do I disable sound when sending a text

    My iPhone has been doing this lately and it's really annoying especially when all texting sounds have been turned off. It seems this one cannot. I'm talking about the sound the iPhone makes when it finishes sending a text. I see no option to turn thi