Deploying jdev appln to weblogic-Errors !Help Resolve
while creating a new connection and deploying to it am gettin th following error
Java Virtual Machine Launcher :Could not find the main class
java.lang.NoClassDefFoundError: weblogic/Deployer
Exception in thread "main" **** weblogic.deploy returned with non-zero exit status: 1
**** weblogic.deploy returned with non-zero exit status: 1
The weblogic.Deployer class is in the weblogic.jar file.
Is the weblogic.jar in the Classpath. Also, add <J2SDK>/lib/tools.jar to the classpath which has the main class.
thanks,
Deepak
Similar Messages
-
Deploying EJB EARs to Weblogic -- need help with descriptor file?
I posted this in a different area... maybe it will help to post here.
Hi all...
Can someone give me a hand with getting the descriptor correct? I find lots of information about the structure of the XML file, but not much on what needs to go in it.
If I deploy with it i the default state I don't get that error... but I can't dig my beans out with JNDI.
I also notice that the class is not the generated class I would expect (and see on other deployments) but is "com.java.proxy.PROXY"
Here is the top of my bean...
package f17.ejb.creditdata;
import javax.ejb.SessionContext;
import javax.ejb.Stateful;
@Stateful(name = "creditScoreData", mappedName = "f17.ejb.creditData-creditScoreData")
public class creditScoreDataBean implements creditScoreData {
This is my weblogic-ejb-jar.xml as it stands:
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-ejb-jar">
<weblogic-enterprise-bean>
<ejb-name>creditScoreDataBean</ejb-name>
<stateful-session-descriptor>
<business-interface-jndi-name-map>
<business-remote>creditScoreData</business-remote>
<jndi-name>creditScoreData</jndi-name>
</business-interface-jndi-name-map>
</stateful-session-descriptor>
<ejb-reference-description>
<ejb-ref-name>creditScoreData</ejb-ref-name>
<jndi-name>f17.ejb.creditdata.creditScoreData</jndi-name>
</ejb-reference-description>
<jndi-name>f17.ejb.creditdata.creditScoreData</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>I figure this out.. wanted to delete the thread.. but I can't find that option. lol
-
Getting an error while deploying war file into weblogic serve
Hi All,
We have build a sample war file from JDeveloper11.1.1.6.0 tool (which is java based web service).
And we are trying to deploy into the WebLogic(10.3.6) Server using Ant scripts(apache-ant-1.8.4) from command prompt.
While doing this getting an bellow error :
[wldeploy] Task 0 initiated: [Deployer:149026]deploy application ViewController
on AdminServer.
[wldeploy] Task 0 failed: [Deployer:149026]deploy application ViewController on
AdminServer.
[wldeploy] Target state: deploy failed on Server AdminServer
[wldeploy] java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
[wldeploy]
[wldeploy]
[wldeploy] Target Assignments:
[wldeploy] + ViewController AdminServer
BUILD FAILED
D:\JDeveloper_Practice\otn\otnapp\ViewController\deploy\build.xml:50: weblogic.D
eployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException:
Task 0 failed: [Deployer:149026]deploy application ViewController on AdminServe
r.
Target state: deploy failed on Server AdminServer
java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
Could you please help me on this, if anyone know the solution.
Thanks & Regards,
Ramesh.Hi Ramesh,
Try to include faces jars with in your classpath.
It talk about the " java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet"
you check for this blog which help to say about this issue using JDev.
http://andrejusb.blogspot.in/2009/10/how-to-solve-javalangclassnotfoundexcep.html
Regards,
Kal -
Facing error while deploying ADF application on weblogic
We are trying to deploy an ADF Application on weblogic server. We are facing below quoted error (java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.ResourceServlet) during deployment:
INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
<Nov 2, 2011 11:32:21 AM IST> <Warning> <J2EE> <BEA-160188> <Unresolved WebApp library references defined in weblogic.xml, of module 'CallTracker_CallTrackerUI_webapp1.war' [Extension-Name: adf.oracle.domain.webapp, exact-match: false], [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false], [Extension-Name: jsf, Specification-Version: 1.2, exact-match: false].>
java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.ResourceServlet
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:225)
at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:209)
at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:105)
at weblogic.application.compiler.WARModule.processAnnotations(WARModule.java:433)
at weblogic.application.compiler.EARModule.processAnnotations(EARModule.java:227)
at weblogic.application.compiler.WARModule.merge(WARModule.java:483)
at weblogic.sip.tools.SipToolsModule.merge(SipToolsModule.java:57)
at weblogic.application.compiler.flow.MergeModuleFlow.compile(MergeModuleFlow.java:23)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:49)
at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:88)
at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:41)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:157)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.AppMerge.merge(AppMerge.java:169)
at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:88)
at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:63)
at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:181)
at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:163)
at weblogic.deploy.api.tools.SessionHelper.initialize(SessionHelper.java:727)
Please advise. We are using weblogic 10.3.5 .Thanks, we have reinstalled the weblogic again , ensuring that Application Development Runtime is installed and we extend our domain with the JRF. So the previous error is resolved. But we are now facing a new error
weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=apps for data source XXCT
- Warning Errors were encountered while performing this operation.
Please help.
Regards, Atul -
Getting an error in deploying the SalesQuoteDemo application. Pls help.
As part of my project work, I have to understand BPM/SOA Suite. As part of this, I installed SalesQuoteDemo and all related softwares in my laptop. I have also configured the Weblogic/SalesQuotesDemo as given in the attached PDF documents. Finally, While deploying the application to Weblogic, I am getting this error. I am able to login to BPM Workspace as well as Worklist application. BPM Workspace is not showing this application (with in the application area) may be because of the error below.
I would appreciate any help/pointers from you in this regard. Many Thanks for reading through this mail and helping me.
As per HTTP error codes, this Http error (502) comes when server is overloaded. It is working fine and does not seems to be overloaded (though I have not verified CPU usage and memory graph).
Regards,
Sachin G
[07:36:41 PM] ---- Deployment started. ----
[07:36:41 PM] Target platform is (Weblogic 10.3).
[07:36:41 PM] Running dependency analysis...
[07:36:41 PM] Building...
[07:37:01 PM] Deploying profile...
[07:37:02 PM] Wrote Archive Module to C:\BPM 11g Sales Quote Demo - Setup and Run\SalesQuoteDemo\SalesQuoteProcess\deploy\sca_SalesQuoteProcess_rev1.0.jar
[07:37:02 PM] Running dependency analysis...
[07:37:02 PM] Building...
[07:37:35 PM] Deploying 4 profiles...
[07:37:39 PM] Wrote Web Application Module to C:\BPM 11g Sales Quote Demo - Setup and Run\SalesQuoteDemo\ApproveDealUI\deploy\ApproveDealUI.war
[07:37:41 PM] Wrote Web Application Module to C:\BPM 11g Sales Quote Demo - Setup and Run\SalesQuoteDemo\BPReviewUI\deploy\BPReviewUI.war
[07:37:45 PM] Wrote Web Application Module to C:\BPM 11g Sales Quote Demo - Setup and Run\SalesQuoteDemo\EnterQuoteUI\deploy\EnterQuoteUI.war
[07:37:46 PM] Wrote Enterprise Application Module to C:\BPM 11g Sales Quote Demo - Setup and Run\SalesQuoteDemo\deploy\RequestQuoteUI.ear
[07:37:46 PM] Deploying sca_SalesQuoteProcess_rev1.0.jar to partition "default" on server soa_server1 [Y.GUPTA-PC.in.oracle.com:8001]
[07:37:46 PM] Processing sar=/C:/BPM 11g Sales Quote Demo - Setup and Run/SalesQuoteDemo/SalesQuoteProcess/deploy/sca_SalesQuoteProcess_rev1.0.jar
[07:37:46 PM] Adding sar file - C:\BPM 11g Sales Quote Demo - Setup and Run\SalesQuoteDemo\SalesQuoteProcess\deploy\sca_SalesQuoteProcess_rev1.0.jar
[07:37:46 PM] Preparing to send HTTP request for deployment
[07:37:46 PM] Creating HTTP connection to host:Y.GUPTA-PC.in.oracle.com, port:8001
[07:37:47 PM] Sending internal deployment descriptor
[07:37:47 PM] Sending archive - sca_SalesQuoteProcess_rev1.0.jar
[07:37:47 PM] Received HTTP response from the server, response code=502
[07:37:47 PM] Problem in sending HTTP request to the server. Check standard HTTP response code for 502
[07:37:47 PM] Error deploying archive sca_SalesQuoteProcess_rev1.0.jar to partition "default" on server soa_server1 [Y.GUPTA-PC.in.oracle.com:8001]
[07:37:47 PM] HTTP error code returned [502]
[07:37:47 PM] No error message is returned from the server.
[07:37:47 PM] Error deploying archive sca_SalesQuoteProcess_rev1.0.jar to partition "default" on server soa_server1 [Y.GUPTA-PC.in.oracle.com:8001]
[07:37:47 PM] #### Deployment incomplete. ####
[07:37:47 PM] Error deploying archive file:/C:/BPM 11g Sales Quote Demo - Setup and Run/SalesQuoteDemo/SalesQuoteProcess/deploy/sca_SalesQuoteProcess_rev1.0.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)This issue is resolved now. All i have to do to turn off the Proxy Server Settings from my Jdeveloper. I turned off the settings and deployment went well.
Thanks to Prasen for the solution. -
Anyone please help me solve this error. I am trying to deploy an application on weblogic 12c i am getting an error but the same application gets successfully deployed on weblogic 11g. The error is
An error occurred during activation of changes, please see the log for details.
Exception preparing module: EJBModule(gsCallbackAdapterLGTX-ejb.jar) An error occurred while reading the deployment descriptor. The error was: Error processing annotations: .
[EJB:015001]Unable to link class com.aep.gridsmart.adapters.lgtx.buslogic.deliver.xform.AdapterTransfomerDeliverSession in Jar /appl/oracle/middleware/WLS/12.1.1.0/user_projects/domains/Gridsmart/servers/ManagedServer1/tmp/_WL_user/gsCallbackAdapterLGTX/34vz4d/gsCallbackAdapterLGTX-ejb.jar : java.lang.NoClassDefFoundError: com/aep/gridsmart/adapter/deliver/CommonAdapterDeliverBeanCotton please let me know what is the mistake i am
doingThe following path does not exist.
C:\Sun\AppServer7\domains\domain1\server1\
applications\j2ee-modules\task_1\WEB-INF\web.xml -
Getting following error while deploying my webservice on weblogic 10.3
hi
I am tring to deploy a webservice (spring + cxf ) in weblogic 10.3
applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
<!-- Scan for both Jersey Rest Annotations a -->
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<context:component-scan base-package="com.persistent.rest"/>
<context:annotation-config />
<jaxws:endpoint
id="accountProcess"
implementor="com.persistent.rest.GetAccountListImpl"
address="/"
bindingUri="http://apache.org/cxf/binding/http" >
<jaxws:serviceFactory>
<bean class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
<property name="wrapped" value="false" />
</bean>
</jaxws:serviceFactory>
</jaxws:endpoint>
<bean>...........</bean>
</beans>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" 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/web-app_2_4.xsd">
<display-name>springCXFWeb</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<servlet>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>
org.apache.cxf.transport.servlet.CXFServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
Getting following error while deploying my webservice on weblogic 10.3
<Dec 4, 2009 2:04:04 PM PST> <Error> <org.springframework.web.context.ContextLoader> <BEA-000000> <Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
Truncated. see log file for complete stacktrace
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
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:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
Truncated. see log file for complete stacktrace
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
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:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259964185054' for task '2'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
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:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'springCXFApp'.>
<Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'springCXFApp'.>
<Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
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:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
thankshi
I am tring to deploy a webservice (spring + cxf ) in weblogic 10.3
applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
<!-- Scan for both Jersey Rest Annotations a -->
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<context:component-scan base-package="com.persistent.rest"/>
<context:annotation-config />
<jaxws:endpoint
id="accountProcess"
implementor="com.persistent.rest.GetAccountListImpl"
address="/"
bindingUri="http://apache.org/cxf/binding/http" >
<jaxws:serviceFactory>
<bean class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
<property name="wrapped" value="false" />
</bean>
</jaxws:serviceFactory>
</jaxws:endpoint>
<bean>...........</bean>
</beans>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" 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/web-app_2_4.xsd">
<display-name>springCXFWeb</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<servlet>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>
org.apache.cxf.transport.servlet.CXFServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
Getting following error while deploying my webservice on weblogic 10.3
<Dec 4, 2009 2:04:04 PM PST> <Error> <org.springframework.web.context.ContextLoader> <BEA-000000> <Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
Truncated. see log file for complete stacktrace
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
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:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
Truncated. see log file for complete stacktrace
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
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:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259964185054' for task '2'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
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:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'springCXFApp'.>
<Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'springCXFApp'.>
<Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
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:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
thanks -
Error while deploying a application on weblogic 10.3
Hi experts,
deploy my application on weblogic 10.3
this error occurs:
java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
If I remove wstx-asl-3.2.1.jar. And the application can be deployed.
But My application really needs this wstx-asl-3.2.1.jar to connect to web service.
Can anyone tell me how to fix this problem?
ThanksHi experts,
deploy my application on weblogic 10.3
this error occurs:
java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
If I remove wstx-asl-3.2.1.jar. And the application can be deployed.
But My application really needs this wstx-asl-3.2.1.jar to connect to web service.
Can anyone tell me how to fix this problem?
Thanks -
Trying to update photoshop and repeatedly get error code U44M1P7, can you please help resolve this?
JJMack, Thanks for the info. Let this old man digest it and see if I can put the info into action. I'll give you a feedback. Thanks for your help in this matter. I am not a tech savvy person.
Rueben Rueben D. Olivas Home Ph: 1-671-969-2452
Cell Ph: 1-671-747-2453La Luz Photography
Email: [email protected]/Guam Firehouse Cook: http://guamfirehousecook.blogspot.com/BBQGuam: http://bbqguam.blogspot.com/My Photostream: http://ruebenolivas.megashot.net/photostream -
Need help - method call error cannot resolve symbol
My code compiles fine but I continue to receive a method call error "cannot resolve symbol - variable superman" - can't figure out why. Here is my code:
public static String caesar(String message, int shift)
{ [b]String result = "";
for(int i = 0; i < message.length(); ++i)
{ [b]char newChar = message.charAt(i + shift);
result += newChar;
return result.toUpperCase();
I entered "superman" for message and "3" for the shift. Can someone please help? Thanks!Your post worked great - especially since it made me realize I was going about it all wrong! I was attempting to convert "superman" to "vxshupdq" - basically a cipher shift starting at index 0 and shifting it 3 character values which would result in s changing to v. I restructured my code:
public static String caesar(String message, int shift)
{ [b]String result = "";
for(int i = 0; i < message.length(); ++i)
{ [b]char newChar = message.charAt(i);
result += (newChar + shift) % message.length();
return result.toUpperCase();
But it's displaying the result as a "60305041". How can I get it to display the actual characters? -
Oracle VM 3 Manager installation hangs Step 8 of 9 on Weblogic error
Hi all,
I am installing Oracle VM 3.0.3 Manager component for Oracle VM on RHEL 5.5 64 bit Linux OS platform.
1) The installation hangs on the following step
Step 6 of 9 : Oracle VM ...
Retrieving Oracle VM Manager Application ...
Extracting Oracle VM Manager Application ...
Installing Oracle VM Manager Core ...
Step 7 of 9 : Domain creation ...
Creating Oracle WebLogic Server domain ...
Starting Oracle WebLogic Server 11g ...
Configuring data source 'OVMDS' ...
Creating Oracle VM Manager user 'admin' ...
Step 8 of 9 : Deploy ...
Deploying Oracle VM Manager Core container ...
2) Reviewing the OVM 3.0.3 Manager installation logs shows the following errors:
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_adf_domain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
Location changed to edit tree. This is a writable tree with
DomainMBean as the root. To make changes you will need to start
an edit session via startEdit().
For more help, use help(edit)
Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_adf_domain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
Location changed to edit tree. This is a writable tree with
DomainMBean as the root. To make changes you will need to start
an edit session via startEdit().
For more help, use help(edit)
Starting an edit session ...
Started edit session, please be sure to save and activate your
changes once you are done.
Saving all your changes ...
Saved all your changes successfully.
Activating all your changes, this may take a while ...
The edit lock associated with this edit session is released
BUILD FAILED
weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application ovm_core on AdminServer.
Target state: deploy failed on Server AdminServer
java.lang.Exception: [DeploymentService:290051]The commit message for the deployment '1,331,919,570,897' could not be completed because the deployment timed out.
at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.signalCommitFailed(AdminRequestStatus.java:1007)
at weblogic.deploy.service.internal.statemachines.adminserver.AwaitingCommitResponses.requestTimedOut(AwaitingCommitResponses.java:42)
at weblogic.deploy.service.internal.adminserver.AdminRequestImpl.requestTimedout(AdminRequestImpl.java:354)
at weblogic.deploy.service.internal.RequestImpl$TimeoutMonitor.timerExpired(RequestImpl.java:242)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
3) Previous weblogic errors that caused the OVM 3.0.3 Manager installation to hang and fail:
Your environment has been set.
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
user: weblogic
timeout: 300
Connecting to t3://localhost:7001 with userid weblogic ...
This Exception occurred at Fri Mar 16 10:33:13 PDT 2012.
Connecting to t3://localhost:7001 with userid weblogic ...
This Exception occurred at Fri Mar 16 10:34:27 PDT 2012.
Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_adf_domain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)
Current status is RUNNING
Disconnected from weblogic server: AdminServer
03-16 10:34 system.process DEBUG system.process.run stderr:
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:520)
at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:573)
at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:313)
at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:61)
at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Any ideas how to resolve these issues so that I can successfully install OVM 3.0.3 Manager?Issue resolved had to disable Linux firewall
-
Deploying a Portlet into Weblogic
Hi Folks,
I have a basic question about deploying a portlet into weblogic.
I created a simple JSF/ADF application and used the Portlet Bridge to "Portletize" it.
When I run the application using JDev11 everything works fine, but If I try to deploy it into a standalone weblogic I got errors
related with missing libraries.
The question is, Do I need to have Oracle Webcenter installed in this standalone weblogic server, in order to support my application deploy?
TIA,
LuisHi Luis,
For a portletized ADF application to be deployed on webcenter, it requires even the OC4J containers to be pre-configured.
Basically, any webcenter application or the Portletized ADF applications require oracle.wsrp library to be present in the container's library.
Please check in your Weblogic container if it is present. If not, check how to Pre-Configure the weblogic container, ideally, oracle should provide an executable or some command to make it pre-configured.
I am aware of these steps to perform on Application Server 10g's Container. Oracle should have its containers pre-configured in 11g, but if they are not, you need to follow the same steps.
As far as JDeveloper iis concerned, both the Embedded OC4J as well as the in built server which is Preconfigured Server are as the name suggests pre-configured. Hence, everything works fine when you run from JDev. But same is not the case with Contianers in server. So, we need to explicitly make them pre-confgired to start running these Portletized ADF Applications.
Hope this answer helps you.
Regards,
Kunal Chheda. -
ClassCastException when deploying jsf war on Weblogic 10.3.2
Hello everybody,
We 're having an issue when deploying jsf war on Weblogic 10.3.2
The war works fine on Tomcat 6.
When deploying on Weblogic we got the following exception:
java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLReader cannot be cast to org.xml.sax.XMLReader
I've already put <prefer-web-inf-classes>true</prefer-web-inf-classes> in weblogic.xml
After "googling", people suggest to remove xml-apis jar from WEB-INF/lib, but doing so results in other exceptions.
Is there any fix for this issue? Please help it's been more than a month that we are crawling in the dark with this error.
Thanks in advance.Hello everybody,
We 're having an issue when deploying jsf war on Weblogic 10.3.2
The war works fine on Tomcat 6.
When deploying on Weblogic we got the following exception:
java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLReader cannot be cast to org.xml.sax.XMLReader
I've already put <prefer-web-inf-classes>true</prefer-web-inf-classes> in weblogic.xml
After "googling", people suggest to remove xml-apis jar from WEB-INF/lib, but doing so results in other exceptions.
Is there any fix for this issue? Please help it's been more than a month that we are crawling in the dark with this error.
Thanks in advance. -
Stange problem in deploying JSF application to weblogic 10
hi,OTN
I think this is the suitable forum for my problem,I had an ADF 10g application which I migrate to Jdeveloper 11g,I want to deploy it to A standalone weblogic server,so I made a Jar file for the model,Awar File for the viewController, and an ear file in the application Assembly of the ear File I check both the Archive and webapp,this is all the libraries which is selected for Deployment
JSF 1.2
JSTL 1.2
JSTL 1.2 Tags
BC4j Runtime
ADF Model Runtime
BC4J Tester
Oracle JDBC
BC4J Oracle Domains
MDS RunTime
MDS RunTime Dependencies
BC4J security
afc.jar
JSP RunTime
ADF Common RunTIme
ADF Faces Cache
ADF Controller RunTime
ADF Web RunTime
ADF Controller Schema
JPS Design Time
ADF Controller.jar
but when I Deploy the Ear File I got an exception
<Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'application20'
<Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Failed to load webapp: 'Reg' at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
Truncated. see log file for complete stacktrace
>
there is a problem in the webapp for this class javax.faces.webapp.UIComponentTag ? How i can solve this?thanks for help,but I try and also got the same Error:
<10/10/2010 EET 08:50:26 ع> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\application3\c2qh5c\webapp30.war. Please make sure that the annotations are valid. The error is >
<10/10/2010 EET 08:50:27 ع> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1286736611640' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'Reg''
weblogic.application.ModuleException: Failed to load webapp: 'Reg'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag
also, I did not succeed to run it from my Integrated weblogic server see this
Re: Unable to find class oracle.adf.controller.faces.lifecycle.ADFPhaseListener
so I try to deploy it in a standalone weblogic but this different problem appear to me,I think all this problems because of migration ADF faces to Apache trinanad although I fixed all my code after migration and compile it without any problems.can I deploy my app to weblogic 10 from my Jdeveloper 10g without migrating my Application To Apache?
Edited by: Miar on Oct 10, 2010 12:12 PM -
Deploying BRM JCA on Weblogic 10.3
We are trying to prototype invoking APIs through Webservices exposed by BRM JCA.
In the Oracle BRM manual it is mentioned that certain Jars need to be present in order for BRM JCA to deploy successfully.
1. J2EE application server
classes12.jar, connector15.jar, and jta.jar
2. Oracle BPEL process
bpm-infra.jar, orabpel-thirdparty.jar, orabpel.jar, and xmlparserv2.jar
3. Apache
xercesImpl.jar
We have only classes12.jar, jta.jar, xercesImpl.jar.
My question is whether it is absolutely necessary for these jars to be present, and if so where can I find it.
Right now we are getting Deployment error when we try to deploy BRM JCA on Weblogic 10.3
<Dec 10, 2010 2:17:07 PM GMT+05:30> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource a
dapter E:\BRM74Tools\JCA\jca_adapter\OracleBRMJCA15Adapter.rar resulted in the following warnings:
The ra.xml <resourceadapter-class> class 'oracle.tip.adapter.brm.BRMResourceAdapter' should implement java.io.Serializab
le but does not.>
<Dec 10, 2010 2:17:07 PM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment req
uest with ID '1291970826812' for task '0'. Error is: 'weblogic.application.ModuleException: [1] The ra.xml <connectionfa
ctory-interface> class 'oracle.tip.adapter.api.OracleConnectionFactory' was not found in the resource adapter archive/ap
plication.
[2] The ra.xml <connectionfactory-impl-class> class 'oracle.tip.adapter.brm.BRMConnectionFactory' could not be loaded fr
om the resource adapter archive/application because of the following error: java.lang.NoClassDefFoundError: oracle/tip/a
dapter/api/OracleConnectionFactory'
weblogic.application.ModuleException: [1] The ra.xml <connectionfactory-interface> class 'oracle.tip.adapter.api.OracleC
onnectionFactory' was not found in the resource adapter archive/application.
[2] The ra.xml <connectionfactory-impl-class> class 'oracle.tip.adapter.brm.BRMConnectionFactory' could not be loaded fr
om the resource adapter archive/application because of the following error: java.lang.NoClassDefFoundError: oracle/tip/a
dapter/api/OracleConnectionFactory
at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:229)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:508)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
Truncated. see log file for complete stacktrace
>
<Dec 10, 2010 2:17:07 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy ta
sk for application 'OracleBRMJCA15Adapter'.>
<Dec 10, 2010 2:17:07 PM GMT+05:30> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: [1] The ra.xml <connectionfactory-interface> class 'oracle.tip.adapter.api.OracleC
onnectionFactory' was not found in the resource adapter archive/application.
[2] The ra.xml <connectionfactory-impl-class> class 'oracle.tip.adapter.brm.BRMConnectionFactory' could not be loaded fr
om the resource adapter archive/application because of the following error: java.lang.NoClassDefFoundError: oracle/tip/a
dapter/api/OracleConnectionFactory
at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:229)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:508)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
Truncated. see log file for complete stacktrace
>
<Dec 10, 2010 2:17:07 PM GMT+05:30> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.app
lication.ModuleException: [1] The ra.xml <connectionfactory-interface> class 'oracle.tip.adapter.api.OracleConnectionFac
tory' was not found in the resource adapter archive/application.
[2] The ra.xml <connectionfactory-impl-class> class 'oracle.tip.adapter.brm.BRMConnectionFactory' could not be loaded fr
om the resource adapter archive/application because of the following error: java.lang.NoClassDefFoundError: oracle/tip/a
dapter/api/OracleConnectionFactory
at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:229)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:508)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:47)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1223)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperatio
n.java:208)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:16
0)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(Deploymen
tReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiv
erCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCal
lbackDeliverer.java:47)
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)
>Hi jamavalom,
I have exactly the same problem with deployment of JCA Adapter, except I collected all requested jar files, and put them in WEBLOGIC_CLASSPATH inside /wlserver_10.3/common/bin/commEnv.sh file, and afterward restarted the WebLogic server. Here are the contents of configuration *.xml files:
ra.xml:
<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
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/connector_1_5.xsd"
version="1.5">
<display-name>Oracle BRM Adapter</display-name>
<vendor-name>Oracle CGBU</vendor-name>
<eis-type>Oracle BRM</eis-type>
<resourceadapter-version>1.0</resourceadapter-version>
<resourceadapter>
<resourceadapter-class>oracle.tip.adapter.brm.BRMResourceAdapter</resourceadapter-class>
<outbound-resourceadapter>
<connection-definition>
<managedconnectionfactory-class>
oracle.tip.adapter.brm.BRMManagedConnectionFactory
</managedconnectionfactory-class>
<!-- protocol, hostname and port -->
<config-property>
<config-property-name>ConnectionString</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>ip hostname 12007</config-property-value>
</config-property>
<config-property>
<config-property-name>PoidID</config-property-name>
<config-property-type>java.lang.Long</config-property-type>
<config-property-value>1</config-property-value>
</config-property>
<config-property>
<config-property-name>ServiceType</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>/service/pcm_client</config-property-value>
</config-property>
<!-- Login type 1 - Authentication by username/password,
0 - authentication by service and poid id0 -->
<config-property>
<config-property-name>LoginType</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>1</config-property-value>
</config-property>
<!-- ConnectionPoolMaxsize - Pool Max size used by pfc.jar -->
<config-property>
<config-property-name>ConnectionPoolMaxsize</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>50</config-property-value>
</config-property>
<!-- ConnectionPoolMinsize - Pool Mn size used by pfc.jar -->
<config-property>
<config-property-name>ConnectionPoolMinsize</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>25</config-property-value>
</config-property>
<!-- UserName and Password for Login type 1 -->
<config-property>
<config-property-name>UserName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>root.0.0.0.1</config-property-value>
</config-property>
<config-property>
<config-property-name>Password</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>&aes|08|0D5E11BFDD97D2769D9B0DBFBD1BBF7E5D40C305EDF3D77DF111AAB8F781E92122</config-property-value>
</config-property>
<!-- Input and Output schema validation-->
<config-property>
<config-property-name>InputValidation</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<config-property>
<config-property-name>OutputValidation</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<!-- MultiDB - true - Transaction opened on the incoming database
- false- Transaction opened on default DB -->
<config-property>
<config-property-name>MultiDB</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<!-- AverageOpcodeCount - Determines number of managed connections
created on the fly. Its the average number
of opcodes executed per thread -->
<config-property>
<config-property-name>AverageOpcodeCount</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>5</config-property-value>
</config-property>
<connectionfactory-interface>
oracle.tip.adapter.api.OracleConnectionFactory
</connectionfactory-interface>
<connectionfactory-impl-class>
oracle.tip.adapter.brm.BRMConnectionFactory
</connectionfactory-impl-class>
<connection-interface>
oracle.tip.adapter.brm.IBRMConnection
</connection-interface>
<connection-impl-class>
oracle.tip.adapter.brm.BRMConnection
</connection-impl-class>
</connection-definition>
<transaction-support>XATransaction</transaction-support>
<authentication-mechanism>
<authentication-mechanism-type>
BasicPassword
</authentication-mechanism-type>
<credential-interface>
javax.resource.spi.security.PasswordCredential
</credential-interface>
</authentication-mechanism>
<reauthentication-support>false</reauthentication-support>
</outbound-resourceadapter>
</resourceadapter>
</connector>
weblogic-ra.xml:
<weblogic-connector xmlns="http://www.bea.com/ns/weblogic/weblogic-connector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-connector http://www.bea.com/ns/weblogic/weblogic-connector/1.0/weblogic-connector.xsd">
<enable-access-outside-app>true</enable-access-outside-app>
<enable-global-access-to-classes>true</enable-global-access-to-classes>
<outbound-resource-adapter>
<connection-definition-group>
<connection-factory-interface>oracle.tip.adapter.api.OracleConnectionFactory</connection-factory-interface>
<connection-instance>
<jndi-name>eis/BRM</jndi-name>
<connection-properties>
<logging>
<log-filename>eisBRM.log</log-filename>
<logging-enabled>true</logging-enabled>
<rotation-type>bySize</rotation-type>
<number-of-files-limited>true</number-of-files-limited>
<file-count>3</file-count>
<file-size-limit>100</file-size-limit>
<rotate-log-on-startup>true</rotate-log-on-startup>
<log-file-rotation-dir>c:/mylogs</log-file-rotation-dir>
<rotation-time>10:00</rotation-time>
<file-time-span>24</file-time-span>
</logging>
<properties>
<property>
<name>ConnectionString</name>
<value>ip blrhpdv3.idc.oracle.com 12011</value>
</property>
<!-- Database number, Poid ID0 and Service type -->
<property>
<name>PoidID</name>
<value>1</value>
</property>
<property>
<name>ServiceType</name>
<value>/service/pcm_client</value>
</property>
<!-- Login type 1 - Authentication by username/password,
0 - authentication by service and poid id0 -->
<property>
<name>LoginType</name>
<value>1</value>
</property>
<property>
<name>ConnectionPoolMaxsize</name>
<value>20</value>
</property>
<property>
<name>ConnectionPoolMinsize</name>
<value>10</value>
</property>
<!-- UserName and Password for Login type 1 -->
<property>
<name>UserName</name>
<value>root.0.0.0.1</value>
</property>
<property>
<name>Password</name>
<value>&aes|08|0D5E11BFDD97D2769D9B0DBFBD1BBF7E5D40C305EDF3D77DF111AAB8F781E92122</value>
</property>
<!-- Input and Output schema validation-->
<property>
<name>InputValidation</name>
<value>false</value>
</property>
<property>
<name>OutputValidation</name>
<value>false</value>
</property>
<property>
<name>MultiDB</name>
<value>false</value>
</property>
<!-- The AverageOpcodeCount parameter specifies the number of Opcode calls in a Thread -->
<property>
<name>AverageOpcodeCount</name>
<value>1</value>
</property>
</properties>
</connection-properties>
</connection-instance>
</connection-definition-group>
</outbound-resource-adapter>
</weblogic-connector>
Thank you in advance for help,
BR,
Mario
Maybe you are looking for
-
Running windows on an IMAC with a SSD
If I run my iMac in boot camp, am I right that I will get no use out of the SSD? FAQs refer to windows booting from the hard drive not the SSD, so this is the depressing conclusion I have drawn
-
Acrobat 9.0 Shared Review COMMENTS VANISH MYSTERIOUSLY
Has anyone had a problem with comments created on one day simply vanishing the next? Windows XP 2002 SP1 Acrobat 9 Pro Acrobat Reader 9 Acrobat 8 Standard How we start the review: We use Acrobat 9 Pro to create a manual shared review. This creates a
-
ITunes 7 will not open but quicktime works
I just tried upgrading and installing the new version of itunes however when i try to open iTunes, it wont open. If I try to run the setup again and 2 options come up to either repair or remove iTunes from my computer. If I select repair, it goes thr
-
Duplicate events in my calendar
I have duplicate events in my Calendar on my iPhone 6. These do not show up in my MacBook Air, on my iMac, or in iCloud.com. The duplicates only appear on my iPhone calendars. I have gone into iPhone settings and turned off Calendars under the iCloud
-
iPod "kicks me out" of apps and goes back to the home screen. This esp happens when using words with friends. Is there a solution?