Java.lang.NoClassDefFoundError: org/apache/axis/client/Service
Hi,
I am developing a WebService Client and for that i am using the Apache axis client. but when i am trying to instnatiate the org.apache.axis.client.Service class it says a NoClassDefinition Found error.
Can anyone tell me the reason for this? Is there any settings for axis client in the Portal-App.xml or any other place?
Thanks
Kiran
Have you included all the Axis client jars in your /dist/PORTAL-INF/lib folder and added them to to .classpath?
axis.jar , commons-discovery.jar , commons-logging.jar , crimson.jar , jaxp.jar , jaxrpc.jar , log4j.jar , saaj.jar , wsdl4j.jar , xalan.jar , xerces.jar .
Similar Messages
-
I have a simple server program and a simple client program to test axis - soap-rpc style method using Topcat Apache 4.1.
I am getting errors while running my client program (for both methods - .jws as well as .wsdd)
Here is the errors:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton
at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
at org.apache.axis.utils.Options.<clinit>(Options.java:35)
==================================
I AM USING FOLLOWING CLASSPATH:
c:\Axis\lib\axis.jar;
c:\Axis\lib\axis-ant.jar;
c:\Axis\lib\commons-discovery-0.2.jar;
c:\Axis\lib\commons-logging-1.0.4.jar;
c:\Axis\lib\jax-1_1-fr-qname-class.jar;
c:\Axis\lib\jaxrpc.jar;
c:\Axis\lib\log4j-1.2.8.jar;
c:\Axis\lib\saaj.jar;
c:\Axis\lib\wsdl4j-1.5.1.jar;
c:\Axis\lib\activation.jar;
C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar
==================================
Based on the others recommendation I read I have changed some other version of "COMMANS-LOGGING.JAR", but still I am getting same errors.
Can anyone help me what may be wrong?
Help me!commons-discovery-0.2.jar was fine in my classpath.
Here is the solution:
My classpath did not include . (dot) for the default classpath.
After adding .; (dot) in the beginning of the classpath, the issue was solved.
Thanks -
I'm rather new to jsp. I'm using myeclipse and I'm deploying my site on tomcat. I've been slowly working away on the errors in my log files. Most of the problems that I've run into have been missing jar files. The log error that I'm stuck on follows:
10:14:40,359 ERROR [Faces Servlet]:253 - Servlet.service() for servlet Faces Servlet threw exception
java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUpload
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.wolverinecrane.view.util.SecurityFilter.doFilter(SecurityFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
In my buildpath I have commons-fileupload-1.0.jar which includes org.apache.commons.fileupload which has the class FileUpload.class in it.
Any help on what may be going wrong here would be appreciated.
DanSolved:
http://javalive.com/modules/newbb/viewtopic.php?topic_id=355&post_id=1013&order=0&viewmode=flat&pid=0&forum=4#forumpost1013 -
Hi,
I am trying to create a AIA Service Component Project using 11.1.1.5 jdev.
The following error occured while executing this line: C:\XXX\Developement\AIA\build.xml:78: Could not create type evaluateFTL due to java.lang.NoClassDefFoundError:org/apache/log4j/Logger.
do I have to put some jar files anywhere in jdeveloper ? Please advice.
Thanks
SaiHi,
The jar to be added is com.bea.core.apache.log4j_1.2.13.jar located in $MIDDLEWARE_HOME/modules
Cheers,
Vlad -
Java.lang.NoClassDefFoundError: org/apache/jsp/login_jsp
sorry once again to hijack earlier .
i am using jboss 4.2 and jsf1.1,Authenticating to restrict user to direct acces of every page here i've used filters concept when user comes from other page
he will be redirected to login page
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException {
HttpServletRequest httpRequest = (HttpServletRequest) request;
String requestURI = httpRequest.getRequestURI();
HttpSession session = httpRequest.getSession();
String loginPage=filterConfig.getInitParameter("login");
if (!requestURI.endsWith(loginPage) ) {
HttpServletResponse httpServletResponse = (HttpServletResponse) response;
httpServletResponse.sendRedirect("/ConnectVendorsWeb/faces/login.jsp");
return;
else{
System.out.println(requestURI.toString());
HttpServletResponse httpServletResponse = (HttpServletResponse) response; httpServletResponse.sendRedirect("/faces/login.jsp");
//chain.doFilter(request, response);
here is the exception what i am getting
03:08:01,015 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
java.lang.NoClassDefFoundError: org/apache/jsp/login_jsp (wrong name: org/apache/jsp/Login_jsp) -
Comms6 IM java.lang.NoClassDefFoundError: org/apache/log4j/Layout
Hi,
After install (and configure) Comms6 Instant Messaging Server I cannot turn on IM services:
bash-3.00# svcadm enable sunim
bash-3.00# svcs -xv
svc:/application/sunim:default (Sun Instant Messaging Server)
State: offline since Thu Sep 18 18:57:15 2008
Reason: Start method is running.
See: http://sun.com/msg/SMF-8000-C4
See: /var/svc/log/application-sunim:default.log
Impact: This service is not running.
(I added some debug lines to the /opt/sun/comms/im/sbin/imadmin)
bash-3.00# tail /var/svc/log/application-sunim:default.log
at com.iplanet.im.server.Watchdog.main(Watchdog.java:224)
[TIMEOUT]
[ Sep 18 18:41:57 Method "start" exited with status 1 ]
[ Sep 18 18:44:57 Leaving maintenance because disable requested. ]
[ Sep 18 18:44:57 Disabled. ]
[ Sep 18 18:57:15 Enabled. ]
[ Sep 18 18:57:15 Executing start method ("/opt/sun/comms/im/sbin/imadmin start") ]
Starting Watchdog /opt/sun/comms/im/sbin/../lib/execdaemon /usr/jdk/entsys-j2se/bin/java -Dlogdir=/var/opt/SUNWiim/default/log -Djava.awt.headless=true -cp /opt/sun/comms/im/sbin/../lib/imcommon.jar:/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar:/opt/SUNWmfwk/lib/mfwk_agent.jar:/opt/SUNWmfwk/lib/rmi2rpc.jar:/opt/SUNWmfwk/lib/xml-apis.jar:/opt/SUNWmfwk/lib/javax77.jar:/opt/SUNWmfwk/lib/jdom.jar:/opt/SUNWmfwk/lib/xercesImpl.jar:/opt/SUNWjdmk/5.1/lib/jmx.jar:/opt/SUNWjdmk/5.1/lib/jmxremote.jar:/opt/SUNWjdmk/5.1/lib/jmxremote_optional.jar:/opt/SUNWjdmk/5.1/lib/jdmkrt.jar:/usr/share/lib/xmpp/improvider.jar:/usr/share/lib/imservice.jar:/opt/sun/comms/im/sbin/../lib/xmppd.jar:/usr/share/lib/jso.jar:/usr/share/lib/xp.jar:/usr/share/lib/log4j.jar:/usr/share/lib/jaxen-core.jar:/usr/share/lib/saxpath.jar com.iplanet.im.server.Watchdog -m noncluster -c /opt/sun/comms/im/sbin/../config/iim.conf
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Layout
at com.iplanet.im.server.Watchdog.main(Watchdog.java:224)
Anyway,
When I try to start it manually I get the same error:
bash-3.00# /opt/sun/comms/im/lib/execdaemon /usr/jdk/entsys-j2se/bin/java -Dlogdir=/var/opt/SUNWiim/default/log -Djava.awt.headless=true -cp /opt/sun/comms/im/sbin/../lib/imcommon.jar:/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar:/opt/SUNWmfwk/lib/mfwk_agent.jar:/opt/SUNWmfwk/lib/rmi2rpc.jar:/opt/SUNWmfwk/lib/xml-apis.jar:/opt/SUNWmfwk/lib/javax77.jar:/opt/SUNWmfwk/lib/jdom.jar:/opt/SUNWmfwk/lib/xercesImpl.jar:/opt/SUNWjdmk/5.1/lib/jmx.jar:/opt/SUNWjdmk/5.1/lib/jmxremote.jar:/opt/SUNWjdmk/5.1/lib/jmxremote_optional.jar:/opt/SUNWjdmk/5.1/lib/jdmkrt.jar:/usr/share/lib/xmpp/improvider.jar:/usr/share/lib/imservice.jar:/opt/sun/comms/im/sbin/../lib/xmppd.jar:/usr/share/lib/jso.jar:/usr/share/lib/xp.jar:/usr/share/lib/log4j.jar:/usr/share/lib/jaxen-core.jar:/usr/share/lib/saxpath.jar com.iplanet.im.server.Watchdog -m noncluster -c /opt/sun/comms/im/sbin/../config/iim.conf
bash-3.00# Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Layout
at com.iplanet.im.server.Watchdog.main(Watchdog.java:224)
It comes from non global zone on Solaris 10u5.The package SUNWiimdv was not installed.
bash-3.00# pwd
/install/SunOS_i386/IMAPI/Packages
bash-3.00# pkgadd -d . SUNWiimdv
Processing package instance <SUNWiimdv> from </export/install/comms/SunOS_i386/IMAPI/Packages>
Sun Java System Instant Messaging and Presence APIs(i386) 7.3,REV=2008.01.14
Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved.
PROPRIETARY/CONFIDENTIAL
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
3 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing Sun Java System Instant Messaging and Presence APIs as <SUNWiimdv>
## Installing part 1 of 1.
/usr/share/lib/imservice.jar
/usr/share/lib/jaxen-core.jar
/usr/share/lib/jso.jar
/usr/share/lib/log4j.jar
/usr/share/lib/saxpath.jar
/usr/share/lib/xmpp/improvider.jar
/usr/share/lib/xmpp/xmppd
/usr/share/lib/xmpp/xmppd.conf
/usr/share/lib/xp.jar
[ verifying class <none> ]
Installation of <SUNWiimdv> was successful.
bash-3.00# /opt/sun/comms/im/sbin/imadmin stop
Stopping IM services using SMF. Please see the SMF logs for progress messages
bash-3.00# /opt/sun/comms/im/sbin/imadmin start
Starting IM services using SMF. Please see the SMF logs for progress messages
bash-3.00# /opt/sun/comms/im/sbin/imadmin status
Server [UP]
Multiplexor [UP]
Agent:calendar [UP]
Watchdog [UP] -
i have a servlet for the upload of the files...I compile and it's ok, but in esecution i've this error:
java.lang.NoClassDefFoundError: org/apache/commons/fileupload/DiskFileUpload
Why? Any idea?
The classpath it's ok...
Thanx !Ah...I use package commons-fileupload-1.0.jar
I hope in your answer...Thanx! -
I am using JDeveoper10.1.2 with JHeadStart
I am developing the OrderEntry application using ADF with Struts. Whenever i make the "Gender" field as Radio Group Button i get the following error message
Error: java.lang.NoClassDefFoundError: org.apache.struts.taglib.html.BaseHandlerTag
Please help what could be the cause.I have another way to solve this problem!
When these errors happened, u double clicked on the error line in Embedded OC4J Server log window. The error will lead to the blue marked line, may be:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> (1)
or
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> (2)
If line (1) marked, change the prefix="html" to prefix="html1"
If line (2) marked, find the lines like <bean:message key="link.something_here"/>
and change to <bean:message key="link.something_here1"/> and the correspond line of this key in the ApplicationResources.properties file of the project
I successfully using this way but only if one error happend at a time or two errors from two kinds of error
This way is not as good as the previous way mentioned in previous post. -
Hi all,
I get the following stack trace when deploying an app where I added some JSF stuff:
<Aug 24, 2005 9:49:24 AM PDT> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 0 for the application appsdircg_war.
java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
at java.lang.Class.getConstructor0(Class.java:1930)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
at weblogic.servlet.internal.WebAppServletContext.registerEventListener(WebAppServletContext.java:2785)
at weblogic.servlet.internal.WebAppServletContext.activateFromDescriptors(WebAppServletContext.java:2373)
at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:5600)
at weblogic.servlet.internal.WebAppServletContext.setActive(WebAppServletContext.java:5578)
at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:838)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3012)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2076)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2057)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2624)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2547)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet]
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2523)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
The relevant jar file, commons-digester.jar is in the the WEB-INF/lib folder, just like all the other commons-*.jar files.
My CLASSPATH variable doesn't contain anything except a an XMLSpy jar file.
I'm running WLS 8.1 SP2.
Any help/hints are greatly appreciated.I would set "prefer-web-inf-classes" to "true" in your "weblogic.xml" file. Without this, you may be getting classloader confusion with some of the commons jars that are used within WebLogic.
-
hi,
firstly, i should introduce what i am doing now.
I want to write a Jeanbean, which can invoke 2 web services.
I found in tomcat, when I submitted the parameters from a web page form, there was Internal Server Error.
The problem is I can not created an instance of org.apache.axis.client.Service, or an instance of org.apache.axis.client.AxisClient.
But very stange, I tried to create an instance of org.apache.axis.client.Transport, which should exist in the same package with Service and AxisClien, there was no exceptions.
can anyone give me some hints?Is it a "class not found" error? Have you tried viewing the jar file that you think org.apache.axis.client.Service is in to be sure that it's really in there?
jar tvf <filename> -
We are trying to evaluate Weblogic 6.1 Beta version.
We have tried a setup that is working in WebLogic 6.0 sp1 version,
but the same setup fails in the Beta version.
We get ...
java.lang.NoClassDefFoundError:
org/apache/xerces/parsers/SAXParser
We had not specified any addl. jars in the classpath
in 6.0 sp1 version. But this fails in the Beta version.
Could someone tell if this is a known bug in the Beta release and
suggest a solution or tell if this will be fixed in the actual version
when it is
released in July?
Thanks.
-Arvind"Jeeva" <[email protected]> wrote in message
news:3b40ecb5$[email protected]..
>
Alternatively u can set the parameters to look at the right parser when uneed
it. This can be done by:
System.setProperty("javax.xml.parsers.SAXParserFactory","org.apache.xerces.jaxp.SAXParserFactoryImpl");
System.setProperty("javax.xml.parsers.DocumentBuilderFactory","org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
System.setProperty("javax.xml.parsers.SAXParser","org.apache.xerces.jaxp.SAXParserImpl");
This is far from being recommended for the following reason:
The JAXP factories cache the classes used to instantiate the factories,
therefore you cannot changed dynamically these properties at runtime, you
will have absolutely NO guarantee that this will work. If a factory is
instantiated before yours, it will use this one. Additionaly, Weblogic
already defines these properties at startup so that they refer to their own
factories that can look into the XML registry.
Consider these properties as being read-only. Chance are that you will mess
up everything if you modify them.
If you need to define a specific parser (such as crimson), then put crimson
in your system classpath and set the XML registry appropriately.
If you want to take a look at jaxp strategy. Use the JVM
property -Djaxp.debug=true.
As well use -Dweblogic.xml.debug=true for Weblogic XML related info.
Stéphane Bailliez
Software Engineer, Paris - France
iMediation - http://www.imediation.com
Disclaimer: All the opinions expressed above are mine and not those from my
company. -
Test.java NoClassDefFoundError java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpException
Can any one explain what is the cause of this error?? not able to understand what jar file to be uploaded??http://forum.java.sun.com/thread.jspa?threadID=5156615&tstart=0
Duplicate post! -
hi All
please help me in solving that problem, this error occurs when running my project, its for generating report using jasper report tool, exact at the line
"JRXlsExporter exporter = new JRXlsExporter();"
her is the code
try
JasperCompileManager.compileReport("E:/jasper_template/report2.jrxml");
tteset = JasperFillManager.fillReport(jasperReport, new HashMap(),new JRResultSetDataSource(rset));
JasperExportManager.exportReportToPdfFile(tteset,"E:/test.pdf");
JRXlsExporter exporter = new JRXlsExporter();
exporter.setParameter(JRExporterParameter.JASPER_P RINT,tteset);
exporter.setParameter(JRExporterParameter.OUTPUT_F ILE_NAME,"E:/test.xls");
exporter.exportReport();
catch (JRException e)
e.printStackTrace();
}I think you have to include jasperreports-1.2.7.jar in the classpathWhat?
exporter.setParameter(JRExporterParameter.OUTPUT_F ILE_NAME,"E:/test.xls");mentions a file test.xls which I assume naturally is an excel file.
POI can be used to modify/read excel files in java.
HSSFColor is used in POI
This leads me to the conclusion that POI is missing from the classpath.
How on earth did you come to your conclusions? -
JNDI subsystem is not ready to use and java.lang.NoClassDefFoundError: org
Hi,
I am installing Access point management system on WebLogic Server 9.2 MP3.In the Admin server logs i am facing the following error:
Sep 25, 2011 6:29:33 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
Sep 25, 2011 6:29:33 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
Sep 25, 2011 6:30:03 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
Sep 25, 2011 6:30:03 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
Sep 25, 2011 6:30:03 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
Sep 25, 2011 6:30:03 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
Sep 25, 2011 6:31:20 AM net.sf.ehcache.config.ConfigurationFactory parseConfiguration
WARNING: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: zip:/opt/hdmres_HAserver1/domains/HDMDomain/servers/necapms01-s0
9_7204/tmp/_WL_user/nec-res-femto-1_3_0/r4j89a/APP-INF/lib/ehcache-1.6.0.jar!/ehcache-failsafe.xml
My access point is not able to communicate with the Application.I am not sure due to above error or nor but this is the error i am getting.
Another error is related to log4j due to which trace logs are not generating
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Error> <JMSClientExceptions> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Defa
ult (self-tuning)'> <<anonymous>> <> <> <1316911802433> <BEA-055165> <The following exception has occurred:
java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:145)
at org.apache.log4j.Category.forcedLog(Category.java:379)
at org.apache.log4j.Category.error(Category.java:310)
at motive.serversupport.jms.SubscriberConnection.onException(SubscriberConnection.java:280)
at weblogic.jms.client.JMSExceptionContext$1.run(JMSExceptionContext.java:54)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.jms.client.JMSExceptionContext.invokeListener(JMSExceptionContext.java:50)
at weblogic.jms.client.JMSSession.onException(JMSSession.java:2610)
at weblogic.jms.client.JMSConsumer.pushException(JMSConsumer.java:736)
at weblogic.jms.client.JMSConsumer.invoke(JMSConsumer.java:753)
at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:759)
at weblogic.messaging.dispatcher.DispatcherImpl.dispatchAsyncInternal(DispatcherImpl.java:129)
at weblogic.messaging.dispatcher.DispatcherImpl.dispatchNoReply(DispatcherImpl.java:160)
at weblogic.jms.dispatcher.DispatcherAdapter.dispatchNoReply(DispatcherAdapter.java:27)
at weblogic.jms.frontend.FESession.pushException(FESession.java:3072)
at weblogic.jms.frontend.FEConsumer.pushException(FEConsumer.java:361)
at weblogic.jms.frontend.FEConsumer.invoke(FEConsumer.java:824)
at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:759)
at weblogic.messaging.dispatcher.DispatcherImpl.dispatchAsyncInternal(DispatcherImpl.java:129)
at weblogic.messaging.dispatcher.DispatcherImpl.dispatchNoReply(DispatcherImpl.java:160)
at weblogic.jms.dispatcher.DispatcherAdapter.dispatchNoReply(DispatcherAdapter.java:27)
at weblogic.jms.backend.BESessionImpl.removeConsumerWithError(BESessionImpl.java:1453)
at weblogic.jms.backend.BEConsumerImpl.closeWithError(BEConsumerImpl.java:662)
at weblogic.jms.backend.BEDestinationImpl.closeAllConsumers(BEDestinationImpl.java:1048)
at weblogic.jms.backend.BETopicImpl.closeAllConsumers(BETopicImpl.java:757)
at weblogic.jms.backend.BEDestinationImpl.shutdownInternal(BEDestinationImpl.java:851)
at weblogic.jms.backend.BEDestinationImpl.shutdown(BEDestinationImpl.java:824)
at weblogic.jms.backend.BackEnd.removeDestination(BackEnd.java:1476)
at weblogic.jms.backend.BEDestinationRuntimeDelegate.unprepare(BEDestinationRuntimeDelegate.java:269)
at weblogic.jms.backend.udd.UDDEntity.unprepare(UDDEntity.java:466)
at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1695)
at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1667)
at weblogic.jms.module.JMSModule$EntityState.access$100(JMSModule.java:1608)
at weblogic.jms.module.JMSModule.unprepare(JMSModule.java:462)
at weblogic.jms.module.ModuleCoordinator.unprepare(ModuleCoordinator.java:313)
at weblogic.application.internal.flow.ModuleListenerInvoker.unprepare(ModuleListenerInvoker.java:136)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.previous(DeploymentCallbackFlow.java:366)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:52)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:42)
at weblogic.application.internal.flow.DeploymentCallbackFlow.unprepare(DeploymentCallbackFlow.java:107)
at weblogic.application.internal.flow.DeploymentCallbackFlow.unprepare(DeploymentCallbackFlow.java:98)
at weblogic.application.internal.BaseDeployment$1.previous(BaseDeployment.java:621)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:52)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:42)
at weblogic.application.internal.BaseDeployment.unprepare(BaseDeployment.java:255)
at weblogic.application.internal.DeploymentStateChecker.unprepare(DeploymentStateChecker.java:196)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.unprepare(AppContainerInvoker.java:118)
at weblogic.deploy.internal.targetserver.BasicDeployment.unprepare(BasicDeployment.java:284)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doUnprepare(DeploymentAdapter.java:84)
at weblogic.management.deploy.internal.DeploymentAdapter.unprepare(DeploymentAdapter.java:210)
at weblogic.management.deploy.internal.AppTransition$7.transitionApp(AppTransition.java:75)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.unprepare(ConfiguredDeployments.java:204)
at weblogic.management.deploy.internal.ConfiguredDeployments.undeploy(ConfiguredDeployments.java:192)
at weblogic.management.deploy.internal.DeploymentServerService.shutdownApps(DeploymentServerService.java:188)
at weblogic.management.deploy.internal.DeploymentServerService.shutdownHelper(DeploymentServerService.java:120)
at weblogic.application.ApplicationService.halt(ApplicationService.java:142)
at weblogic.t3.srvr.ServerServicesManager.haltInternal(ServerServicesManager.java:417)
at weblogic.t3.srvr.ServerServicesManager.halt(ServerServicesManager.java:264)
at weblogic.t3.srvr.T3Srvr.shutdown(T3Srvr.java:865)
at weblogic.t3.srvr.T3Srvr.forceShutdown(T3Srvr.java:773)
at weblogic.t3.srvr.ServerRuntime.forceShutdown(ServerRuntime.java:330)
at weblogic.server.RemoteLifeCycleOperationsImpl.forceShutdown(RemoteLifeCycleOperationsImpl.java:57)
at weblogic.server.RemoteLifeCycleOperationsImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:553)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:443)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:439)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:61)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:983)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
'> <hdm_admin> <> <> <1316911802443> <BEA-040324> <JMSServer "necapms01-s09_7204_jms" is suspending.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
'> <hdm_admin> <> <> <1316911802456> <BEA-040325> <JMSServer "necapms01-s09_7204_jms" is suspended.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802467> <BEA-001514> <Destroying Data Source HDMJDBCPool.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802471> <BEA-001515> <Data Source HDMJDBCPool has been successfully destroyed.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802471> <BEA-001508> <Destroying Connection Pool HDMJDBCPool.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802478> <BEA-001128> <Connection for pool "HDMJDBCPool" closed.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802480> <BEA-001128> <Connection for pool "HDMJDBCPool" closed.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Warning> <Common> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-t
uning)'> <hdm_admin> <> <> <1316911802480> <BEA-000632> <Resource Pool "HDMJDBCPool" shutting down, ignoring 1 resources still in use by applications..>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802483> <BEA-001126> <Destroyed Connection Pool named HDMJDBCPool.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802489> <BEA-001514> <Destroying Data Source DashboardJDBCDataSource4HDMJDBCDataSource.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802489> <BEA-001515> <Data Source DashboardJDBCDataSource4HDMJDBCDataSource has been successfully destroyed.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802490> <BEA-001508> <Destroying Connection Pool DashboardJDBCDataSource4HDMJDBCDataSource.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802492> <BEA-001128> <Connection for pool "DashboardJDBCDataSource4HDMJDBCDataSource" closed.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802492> <BEA-001126> <Destroyed Connection Pool named DashboardJDBCDataSource4HDMJDBCDataSource.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802498> <BEA-001514> <Destroying Data Source CPEAuthDataSource.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802498> <BEA-001515> <Data Source CPEAuthDataSource has been successfully destroyed.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802498> <BEA-001508> <Destroying Connection Pool CPEAuthDataSource.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802500> <BEA-001128> <Connection for pool "CPEAuthDataSource" closed.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802501> <BEA-001126> <Destroyed Connection Pool named CPEAuthDataSource.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <MessagingBridge> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (
self-tuning)'> <hdm_admin> <> <> <1316911802594> <BEA-200001> <The messaging bridge service has successfully shut down.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
'> <hdm_admin> <> <> <1316911802596> <BEA-040308> <JMS service is suspending.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
'> <hdm_admin> <> <> <1316911802599> <BEA-040107> <Undeployed 8 default connection factories.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
'> <hdm_admin> <> <> <1316911802600> <BEA-040015> <JMS shutdown is complete.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802601> <BEA-001144> <Force Suspending the JDBC service.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802601> <BEA-001146> <Force suspend of the JDBC service completed.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802601> <BEA-001147> <Shutting down the JDBC service.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
)'> <hdm_admin> <> <> <1316911802602> <BEA-001149> <Shutdown of the JDBC service completed.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <Cluster> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
ing)'> <hdm_admin> <> <> <1316911802604> <BEA-000103> <Disconnecting from cluster HDMCluster>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Notice> <Server> <necapms01-s09> <necapms01-s09_7204> <DynamicSSLListenThread[DefaultAdministration]> <<WLS Kernel>> <> <> <131
6911802605> <BEA-002607> <Channel "DefaultAdministration" listening on 10.66.12.212:9203 was shutdown.>
####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <WebLogicServer> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (s
elf-tuning)'> <hdm_admin> <> <> <1316911802605> <BEA-000236> <Stopping execute threads.>
####<Sep 25, 2011 6:25:52 AM GMT+05:30> <Notice> <WebLogicServer> <> <> <main> <> <> <> <1316912152282> <BEA-000395> <Following extensions directory contents added to t
he end of the classpath:
/opt/hdmres_HAserver1/weblogic92/platform/lib/p13n/p13n-schemas.jar:/opt/hdmres_HAserver1/weblogic92/platform/lib/p13n/p13n_common.jar:/opt/hdmres_HAserver1/weblogic92/
platform/lib/p13n/p13n_system.jar:/opt/hdmres_HAserver1/weblogic92/platform/lib/wlp/netuix_common.jar:/opt/hdmres_HAserver1/weblogic92/platform/lib/wlp/netuix_schemas.j
ar:/opt/hdmres_HAserver1/weblogic92/platform/lib/wlp/netuix_system.jar:/opt/hdmres_HAserver1/weblogic92/platform/lib/wlp/wsrp-common.jar>
####<Sep 25, 2011 6:25:52 AM GMT+05:30> <Info> <WebLogicServer> <> <> <main> <> <> <> <1316912152587> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Serve
r VM Version 1.5.0_15-b04 from Sun Microsystems Inc.>
####<Sep 25, 2011 6:27:38 AM GMT+05:30> <Notice> <Security> <> <> <main> <> <> <> <1316912258744> <BEA-090169> <Loading trusted certificates from the jks keystore file
/opt/hdmres_HAserver1/weblogic92/server/lib/DemoTrust.jks.>
####<Sep 25, 2011 6:27:38 AM GMT+05:30> <Notice> <Security> <> <> <main> <> <> <> <1316912258775> <BEA-090169> <Loading trusted certificates from the jks keystore file
/opt/hdmres_HAserver1/jdk150_15/jre/lib/security/cacerts.>
####<Sep 25, 2011 6:29:28 AM GMT+05:30> <Info> <Management> <> <> <main> <> <> <> <1316912368207> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR370311 Tu
e Jun 03 14:20:55 IST 2008
Please suggest your valuable opinion to resolve these issues.
Thanks,
Harish Chowdhary
>Hello,
I recommend not the xmlpull jar file, but the xpp3-*.jar file found with your Enterprise installation. It's in the "external" subfolder where you got your other Enterprise jar files.
You'll have to remove the xmlpull jar, since they'd version conflict.
Sincerely,
Ted Ueda -
I have built a EAR file (using ANT build.xml from eclipse) and deploy it to WebLogic server, when I test the web service with a Test Client, I will receive the exception:
java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration
Anything wrong with my build.xml file below? Why I get this exception?
<?xml version="1.0" encoding="UTF-8"?>
<project name="MyWebServices" default="all">
<!-- set global properties for this build -->
<property name="wls.username" value="weblogic" />
<property name="wls.password" value="abcd1234" />
<property name="wls.hostname" value="localhost" />
<property name="wls.port" value="7001" />
<property name="wls.server.name" value="AdminServer" />
<property name="ear.deployed.name" value="MyWebServicesEar" />
<property name="example-output" value="output" />
<property name="ear-dir" value="${example-output}/MyWebServicesEar" />
<property name="clientclass-dir" value="${example-output}/clientclasses" />
<path id="client.class.path">
<pathelement path="${clientclass-dir}" />
<pathelement path="${java.class.path}" />
</path>
<taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" />
<taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
<taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy" />
<target name="build-service">
<jwsc srcdir="src" destdir="${ear-dir}">
<classpath>
<pathelement path="${java.class.path}" />
<pathelement path="WebContent/WEB-INF/lib"/>
</classpath>
<module contextPath="MyWebServices" name="MyWebServicesModule">
<jws file="/hk/com/my/webservices/servicefacade/CustomerWS.java" type="JAXWS" />
<jws file="/hk/com/my/webservices/servicefacade/LoginWS.java" type="JAXWS" />
<jws file="/hk/com/my/webservices/servicefacade/PaymentWS.java" type="JAXWS" />
<!-- <jws file="/hk/com/my/webservices/servicefacade/RedemptionWS.java" type="JAXWS" /> -->
</module>
</jwsc>
</target>
<target name="deploy">
<wldeploy action="deploy" name="${ear.deployed.name}" source="${ear-dir}" user="${wls.username}" password="${wls.password}" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />
</target>
<target name="undeploy">
<wldeploy action="undeploy" name="${ear.deployed.name}" failonerror="false" user="${wls.username}" password="${wls.password}" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />
</target>
<target name="all" depends="clean,build-service,deploy" />
<target name="clean" depends="undeploy">
<delete dir="${example-output}" />
</target>
<target name="run">
<java classname="hk.com.my.webservices.servicefacade.client.Main" fork="true" failonerror="true">
<classpath refid="client.class.path" />
<arg line="http://${wls.hostname}:${wls.port}/MyServices" />
</java>
</target>
</project>The problem was because I did not include my web-inf into the ear in my build.xml, i added it using the zipfileset tag and it worked like a charm:
<target name="build-service">
<jwsc srcdir="src" destdir="${ear-dir}" debug="on">
<!-- "contextPath" is like a folder to contain the Web Services, "name" is the name of the WAR file -->
<module contextPath="MyWebServices" name="MyWebServicesModule">
<jws file="/my/webservices/servicefacade/CustomerWS.java" type="JAXWS" />
<jws file="/my/webservices/servicefacade/LoginWS.java" type="JAXWS" />
<!-- include and copy the required files to the ear directory -->
<zipfileset dir="WebContent/WEB-INF/lib" prefix="WEB-INF/lib">
<include name="*.jar"/>
</zipfileset>
</module>
</jwsc>
</target>
Maybe you are looking for
-
I inadvertantly deleted my Acorobat Pro version 9. How can I get a download from Adobe to recover the application?
-
Syncing Korg Prophecy to MIDI clock issues
I have a Korg Prophecy with one of the earlier chipsets. There is a known issue whereby its arpeggiator locks to MIDI but does not synchronise to Song Position Pointer. As a result, although it runs at the tempo set by Logic Express, it is often 'off
-
Password required for Mail?
I open up my Mail icon, and a window pops up that says, Cannot Send Mail, no password provided for user (my email address) of server (my server address). Please go to Mail Account Settings and enter a password. Question-How do I go to Mail Account Se
-
I can't find a way as simple as IE has to "print preview" enabling me to just print what I highlight. Thanks
-
After loading the new OS my songs do not play correctly, is anyone else having this issue? Titles are wrong on songs and it just doesn't play certain songs in random play or even if you select them individually. What's up? Kind of frustrating!!!