Struts deployment NoClassDefFoundError

I am using weblogic 8.1 on Windows XP for testing my deployment model.
I have a struts application deployed in an ear file.
All my struts specific classes are in the web-inf/lib directory. The directory
also has struts.jar and struts-legacy.jar. All the other apache libs such has
common*.jar eat are in the app-inf/lib directory of my J2EE application. app-inf/lib
also have other classes which do not refer to struts classes.
I am going to have one more web application deployed in the same ear.
I do not have any extra library on the system class path.
I am getting an error while jsp page compileation.
Is there any document which discribe how one should deploy struts based web applications
in the weblogic 8.1.
Forward ForwardConfig[name=success,path=/SecuredLogin.do,redirect=false,contextR
elative=false]
Forward ForwardConfig[name=success,path=loginDef,redirect=false,contextRelative=
false]
<Nov 11, 2003 4:29:09 PM EST> <Error> <HTTP> <BEA-101017> <[ServletContext(id=15
8446,name=StrutsApplication1,context-path=/StrutsApplication1)] Root cause of
ServletExc
eption.
java.lang.NoClassDefFoundError: org/apache/struts/taglib/html/OptionsTag
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:431)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:169)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAw
areClassLoader.java:52)
at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:12
71)
at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1215)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:290)
at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:49
91)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4829)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4675)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2093)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1879)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1752)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:962)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:105)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:228)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:120)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:364)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:220)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:504)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:349)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:431)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:305)
at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(Req
uestDispatcherImpl.java:342)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
97)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:246)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
rocessor.java:274)
at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(
TilesRequestProcessor.java:254)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
lesRequestProcessor.java:309)
at com.mycompany.common.struts.GeneralRequestProcessor.process(GeneralRequest
Processor.java:198)
at com.mycompany.common.struts.GeneralActionServlet.process(GeneralActionServ
let.java:273)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:305)
at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(Req
uestDispatcherImpl.java:342)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
97)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:246)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
rocessor.java:274)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:455)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
lesRequestProcessor.java:320)
at com.mycompany.common.struts.GeneralRequestProcessor.process(GeneralRequest
Processor.java:198)
at com.mycompany.common.struts.GeneralActionServlet.process(GeneralActionServ
let.java:273)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6291)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
97)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3575)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2573)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
>

I am making sure that my classes are loading from web-inf/lib first.
I got the same results without setting this parameter to true.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application
8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
"javajuggler" <[email protected]> wrote:
>
I am using weblogic 8.1 on Windows XP for testing my deployment model.
I have a struts application deployed in an ear file.
All my struts specific classes are in the web-inf/lib directory. The
directory
also has struts.jar and struts-legacy.jar. All the other apache libs
such has
common*.jar eat are in the app-inf/lib directory of my J2EE application.
app-inf/lib
also have other classes which do not refer to struts classes.
I am going to have one more web application deployed in the same ear.
I do not have any extra library on the system class path.
I am getting an error while jsp page compileation.
Is there any document which discribe how one should deploy struts based
web applications
in the weblogic 8.1.
Forward ForwardConfig[name=success,path=/SecuredLogin.do,redirect=false,contextR
elative=false]
Forward ForwardConfig[name=success,path=loginDef,redirect=false,contextRelative=
false]
<Nov 11, 2003 4:29:09 PM EST> <Error> <HTTP> <BEA-101017> <[ServletContext(id=15
8446,name=StrutsApplication1,context-path=/StrutsApplication1)] Root
cause of
ServletExc
eption.
java.lang.NoClassDefFoundError: org/apache/struts/taglib/html/OptionsTag
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:431)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:169)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAw
areClassLoader.java:52)
at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:12
71)
at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1215)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:290)
at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:49
91)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4829)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4675)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2093)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1879)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1752)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:962)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:105)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:228)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:120)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:364)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:220)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:504)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:349)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:431)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:305)
at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(Req
uestDispatcherImpl.java:342)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
97)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:246)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
rocessor.java:274)
at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(
TilesRequestProcessor.java:254)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
lesRequestProcessor.java:309)
at com.mycompany.common.struts.GeneralRequestProcessor.process(GeneralRequest
Processor.java:198)
at com.mycompany.common.struts.GeneralActionServlet.process(GeneralActionServ
let.java:273)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:305)
at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(Req
uestDispatcherImpl.java:342)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
97)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:246)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
rocessor.java:274)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:455)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
lesRequestProcessor.java:320)
at com.mycompany.common.struts.GeneralRequestProcessor.process(GeneralRequest
Processor.java:198)
at com.mycompany.common.struts.GeneralActionServlet.process(GeneralActionServ
let.java:273)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6291)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
97)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3575)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2573)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
>

Similar Messages

  • Weblogic crash in deployment NoClassDefFoundError

    Hi Guys
    could you please tell me how can this be fixed ?
    i use to get this exception when i deploy my project within Eclipse:
    java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase.
    here's a pastebin related to the full exception :
    http://pastebin.com/7fTHznnz
    i'm using weblogic 10.3.6.
    jre 1.6
    jdk 1.6
    eclipse 3.8
    and here's starting log related to the weblogic in eclipse:
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=c:\PROGRA~2\Java\JDK16~1.0_3\lib\tools.jar;C:\CONTAI~1\weblogic\wlserver\server\lib\weblogic_sp.jar;C:\CONTAI~1\weblogic\wlserver\server\lib\weblogic.jar;C:\CONTAI~1\weblogic\modules\features\weblogic.server.modules_10.3.6.0.jar;C:\CONTAI~1\weblogic\wlserver\server\lib\webservices.jar;C:\CONTAI~1\weblogic\modules\ORGAPA~1.1/lib/ant-all.jar;C:\CONTAI~1\weblogic\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\CONTAI~1\weblogic\wlserver\common\derby\lib\derbyclient.jar;C:\CONTAI~1\weblogic\wlserver\server\lib\xqrl.jar;C:\rims\iRIMS\Libraries\common\commons-logging-1.0.4.jar
    PATH=;C:\CONTAI~1\weblogic\wlserver\server\native\win\32;C:\CONTAI~1\weblogic\wlserver\server\bin;C:\CONTAI~1\weblogic\modules\ORGAPA~1.1\bin;c:\PROGRA~2\Java\JDK16~1.0_3\jre\bin;c:\PROGRA~2\Java\JDK16~1.0_3\bin;C:/Program Files (x86)/Java/jre6/bin/client;C:/Program Files (x86)/Java/jre6/bin;C:/Program Files (x86)/Java/jre6/lib/i386;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\oraclexe\app\oracle\product\11.2.0\server\bin;;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\DMIX;C:\Program Files (x86)\Windows Live\Shared;%JAVA_HOME%/bin;C:\Program Files (x86)\CVSNT\;C:\eclipse;;C:\CONTAI~1\weblogic\wlserver\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_37"
    Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
    Java HotSpot(TM) Client VM (build 20.12-b01, mixed mode, sharing)
    Starting WLS with line:
    c:\PROGRA~2\Java\JDK16~1.0_3\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.Name=myserver -Djava.security.policy=C:\CONTAI~1\weblogic\wlserver\server\lib\weblogic.policy -Xverify:none -da -Dplatform.home=C:\CONTAI~1\weblogic\wlserver -Dwls.home=C:\CONTAI~1\weblogic\wlserver\server -Dweblogic.home=C:\CONTAI~1\weblogic\wlserver\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= weblogic.Server
    many thanks for your help guys
    regards

    Hi Guys
    could you please tell me how can this be fixed ?
    i use to get this exception when i deploy my project within Eclipse:
    java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase.
    here's a pastebin related to the full exception :
    http://pastebin.com/7fTHznnz
    i'm using weblogic 10.3.6.
    jre 1.6
    jdk 1.6
    eclipse 3.8
    and here's starting log related to the weblogic in eclipse:
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=c:\PROGRA~2\Java\JDK16~1.0_3\lib\tools.jar;C:\CONTAI~1\weblogic\wlserver\server\lib\weblogic_sp.jar;C:\CONTAI~1\weblogic\wlserver\server\lib\weblogic.jar;C:\CONTAI~1\weblogic\modules\features\weblogic.server.modules_10.3.6.0.jar;C:\CONTAI~1\weblogic\wlserver\server\lib\webservices.jar;C:\CONTAI~1\weblogic\modules\ORGAPA~1.1/lib/ant-all.jar;C:\CONTAI~1\weblogic\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\CONTAI~1\weblogic\wlserver\common\derby\lib\derbyclient.jar;C:\CONTAI~1\weblogic\wlserver\server\lib\xqrl.jar;C:\rims\iRIMS\Libraries\common\commons-logging-1.0.4.jar
    PATH=;C:\CONTAI~1\weblogic\wlserver\server\native\win\32;C:\CONTAI~1\weblogic\wlserver\server\bin;C:\CONTAI~1\weblogic\modules\ORGAPA~1.1\bin;c:\PROGRA~2\Java\JDK16~1.0_3\jre\bin;c:\PROGRA~2\Java\JDK16~1.0_3\bin;C:/Program Files (x86)/Java/jre6/bin/client;C:/Program Files (x86)/Java/jre6/bin;C:/Program Files (x86)/Java/jre6/lib/i386;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\oraclexe\app\oracle\product\11.2.0\server\bin;;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\DMIX;C:\Program Files (x86)\Windows Live\Shared;%JAVA_HOME%/bin;C:\Program Files (x86)\CVSNT\;C:\eclipse;;C:\CONTAI~1\weblogic\wlserver\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_37"
    Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
    Java HotSpot(TM) Client VM (build 20.12-b01, mixed mode, sharing)
    Starting WLS with line:
    c:\PROGRA~2\Java\JDK16~1.0_3\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.Name=myserver -Djava.security.policy=C:\CONTAI~1\weblogic\wlserver\server\lib\weblogic.policy -Xverify:none -da -Dplatform.home=C:\CONTAI~1\weblogic\wlserver -Dwls.home=C:\CONTAI~1\weblogic\wlserver\server -Dweblogic.home=C:\CONTAI~1\weblogic\wlserver\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= weblogic.Server
    many thanks for your help guys
    regards

  • OAF: Deployment / NoClassDefFoundError

    Hi,
    Today I deployed a new page to our test environment (OA_TEST).
    Upon running my page I got the following exception:
    java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    In jDeveloper I had no problems running my page and there was no need to do anything special regarding the above mentioned class.
    Any ideas on what I need to do?
    PS: this is my first deployment :-)

    Hi Roy,
    Classpath tells location of class files. Classpath can point to a directory (which is case of JAVA_TOP directory), or to a jar. So if you have put jdev-rt.jar in $JAVA_TOP, it would not fulfill your need cause JVM is seeing there a .jar file, not a .class file which it is expecting.
    Particularly in this case we can't directly include new rt.jar in class path as many classes are same in existing rt.jar and the new one we are putting in EBS. Thats why I suggested to make a new jar with only files which are different.
    However, I feel roy you are not comfortable with .jar files, hence do this way.
    Directly take the class file oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub.class and put it in EBS on path $JAVA_TOP/oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub.class.
    Thats it.Now this file is available in your classpath. Now possibly you can get another java.lang.NoClassDefFoundError exception. Put that class also on its path.
    Abdul Wahid

  • Struts deployment error

    Hi Everyone,<br><br>
    I downloaded and installed the evaluation version of Weblogic 6.1 SP7 service pack. I deployed the struts application.
    While starting the server I'm getting exception i.e.
    <br><br>
    <Sep 14, 2005 11:35:01 AM IST> <Notice> <Management> <Application Poller not started for production server.>
    java.lang.NoSuchMethodError
    at weblogic.servlet.internal.WebAppServletContext.registerFilter(WebAppServletContext.java:2187)
    at weblogic.servlet.internal.WebAppServletContext.initFilters(WebAppServletContext.java:2161)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2417)
    at weblogic.servlet.internal.HttpServer.preloadServlets(HttpServer.java:571)
    at weblogic.servlet.internal.WebService.preloadServlets(WebService.java:450)
    at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:49)
    at java.lang.Thread.run(Thread.java:479)
    <br><br>
    When I'm trying to login into my application I got the below mentioned error and this occured because of the below statement i.e.
    <br><br>
    <b>ServletContext servletContext = session.getServletContext();</b>
    <br><br>
    java.lang.AbstractMethodError
         at com.applabs.ghx.globalbrowser.actions.UserAction.checkUserLoggedIn(UserAction.java:421)
         at com.applabs.ghx.globalbrowser.actions.UserAction.execute(UserAction.java:111)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:288)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:21)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:289)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:288)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:21)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2771)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2433)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:172)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:145)
    <br><br>
    Please help me to solve this problem.
    <br><br>
    thanks
    arvind

    It's OC4J core install for 9iAS Release 9.02. I've deployed to Solaris since there is a bug that can give this error that is patched for Solaris, but not Windows. The error occurs when navigating pages in a struts app. Sometimes it works fine, then you click on one of the image buttons to go to the next .jsp and this error comes up.
    Ruth
    What version of OC4J you are testing on ?
    Is it OC4J standalone or Oracle9iAS that you are using.
    more details would be helpful in diagnosing the problem.
    -Prasad

  • Deployment / NoClassDefFoundError

    Hi,
    Today I deployed a new page to our test environment (OA_TEST).
    Upon running my page I got the following exception:
    java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    In jDeveloper I had no problems running my page and there was no need to do anything special regarding the above mentioned class.
    Any ideas on what I need to do?
    PS: this is my first deployment

    Hi ramana
    i have similar problem.
    have u got the soln.
    Pl mail me anything about u know asap.
    Thanks in advance
    "Ramana" <[email protected]> wrote:
    Hi,
    I'm using Vcafe4.0 and weblogic 5.1.0. I created Entity Bean inherted
    from Value object(detailed object).I'm able to compile and create jar file
    successfully,thru vcafe.While deploying it to weblogic, we got an error that
    the value object class is not found, even though the class file is in same
    directory.
    We resolved this problem by putting the Value object class in the
    "ejbcgen" directory.Then We are able to create a jar file and deployed it to
    weblogic successfully.
    But while starting the weblogic server, this jar file is not deployed in
    the server.
    Thanks
    TSR
    the error message is as follows...
    <EJB> Enterprise JavaBeans initializing
    Thu Aug 17 18:45:46 PDT 2000:<E> <EJB> Could not deploy:
    'D:/weblogic/myserver/T
    estUserDataEJB.jar': file is not a valid jar file, or does not
    contain a valid bean
    weblogic.ejb.common.DeploymentException: DeploymentException opening JAR
    file D:
    \weblogic\myserver\TestUserDataEJB.jar; nested exception is:
    weblogic.ejb.deployment.JarLoadException - with nested exception:
    [weblogic.ejb.common.DeploymentException: Problem creating deployment
    D:/weblogi
    c/myserver/TestUserDataEJB.jar from
    D:\weblogic\myserver\TestUserDataEJB.jar; ne
    sted exception is:
    java.lang.NoClassDefFoundError: UserData]
    weblogic.ejb.common.DeploymentException: Problem creating deployment
    D:/weblogic
    /myserver/TestUserDataEJB.jar from D:\weblogic\myserver\TestUserDataEJB.jar;
    nes
    ted exception is:
    java.lang.NoClassDefFoundError: UserData
    java.lang.NoClassDefFoundError: UserData
    at java.lang.Class.getMethods0(Native Method)
    at java.lang.Class.getMethods(Class.java:718)

  • Can not deploy: NoClassDefFoundError

    Hi,
    i want to create a new folder in KM-Content of my Portal. Therefor i have write the following piece of code and import the libraries below. My problem is that i can not deploy my Application.
    I get the error message: Caused by: java.lang.NoClassDefFoundError: com/sapportals/wcm/repository/IResourceContext
    I have read that i have to add a Sharing reference to "knowledgemanagement" in the portaapp.xml file.
    But i use a Java Bean/Web Service (EJB) with a Application (EAR), so i have nothing with <b>dist/PORTAL-INF</b>.
    What can i do? How can i deploy my application and solve the problem?
    import bc.rf.framework_api.jar
    import bc.util.public_api.jar
    import com.sap.portal.usermanagement.admin_api.jar
    import com.sap.portal.usermanagementapi.jar
    import com.sap.security.api.ep5.jar
                 try {
                      com.sapportals.portal.security.usermanagement.IUser user = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
                   ResourceContext ctxt = new ResourceContext(user);
                   IResourceContext rContext = new ResourceContext(user);
                   IResourceFactory resourceFactory = ResourceFactory.getInstance();
                   RID aRid = RID.getRID("/documents/Test");
                   ICollection aCollection =
                        (ICollection) resourceFactory.getResource(aRid, rContext);
                   if (aCollection != null) {
                        IResource resource =
                             aCollection.createResource("myFolder", null, null);
              } catch (Exception ex) {
                   ex.printStackTrace();
    regards,
    Sharam

    Hi Sharam,
    Make sure that you have your sharing reference set properly in the portalapp.xml file. Open portalapp.xml and click on the Application tab. This is what I like to have mine set to:
    SharingReference=usermanagement,knowledgemanagement,landscape,htmlb,exportalJCOclient,exportal
    Save your changes and the recompile/deploy.
    Hope this helps!
    -StephenS

  • EJB Deployment - NoClassDefFoundError

    Dear Gurus,
    I am using Visual Age for Java 3.5.3 and WebSpehere 3.5.
    I have create a EJB which throws a Custom Exception. It works fine in Visual Age for Java Test Environment. I created a Deployed JAR to deploy it in WebSphere App Server.
    Custom Exception class package is inside a jar and command line arguments "-classpath " is set in the Web Sphere.
    While deploying this WebSphere the following Exception is thrown.
    java.lang.NoClassDefFoundError: packagename/classname
    In addition to this exception there is some other dependant classes are also available in the same package. There is no exception thrown for those classes. I dont know why.
    Please help me as this is blocking us to move forward.
    Thanks in advance,
    Goudham

    Its problem with classpath . check it up the location of classfiles and the package. Set your classpath to that specific classfiles path. This solves your problem

  • Struts deploy-time configuration

    Datasources are configured in Struts in the <data-sources> section of struts-config.xml. This is fine during development as you know the database you are connecting to. But what happens when you want to create a generic War that can be deployed on an arbitary app server, even if you specify the server type (in our case Tomcat 4.1).
    The only option appears to be to let Tomcat deploy the war, then edit struts-config and re-load the application, remembering to delete the original War so that Tomcat doesn't re-deploy from that.
    This all seems particularly clunky. What I would like to do is have the application configure itself during deploy, probably from some kind of config file, or possibly from a config page in the application itself that is disabled / removed once the app is configured.
    So, does anyone know of an elegant or approved method of doing a deploy-time configuration of a war bundled web app?
    Regards
    AndyB

    Have you looked at declaring your data source via JNDI? i.e. use web.xml to specify the JNDI resource name and then specify details on the datasource in the server deployment. Details on implementing this in Tomcat are given in
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html

  • Question about EJB deployment (NoClassDefFoundError)

    I got a "NoClassDefFoundError" when I bring up my servlet which tries
    to use a session bean. Can anyone tell me the correct way to deploy
    EJB in web logic 6.1?
    My case is:
    I have a session bean "examples.mysession" packaged in examples.jar
    and
    stored in "<wl dir>/config/mydomain/applications".
    In addition, I create an application "testapp" with a number of jsp &
    servlets.
    ("<wl dir>/config/mydomain/applications/testapp")
    The servlets' classes are stored in
    "<wl dir>/config/mydomain/applications/testapp/WEB-INF/classes/examples/myservlet.class"
    In the servlet, I am trying to use the mysession bean by calling
    "create()" on mysession's home object. This is where I got the
    "NoClassDefFoundError".
    java.lang.NoClassDefFoundError: examples/mysession
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    Is there something missing in my deployment procedure?
    Thanks in advance

    ClassNotFound exception for the ejb interfaces while accessing from servlet
    http://support.bea.com/askbea/wls/S-07398.html
    Terrence Leung wrote:
    I got a "NoClassDefFoundError" when I bring up my servlet which tries
    to use a session bean. Can anyone tell me the correct way to deploy
    EJB in web logic 6.1?
    My case is:
    I have a session bean "examples.mysession" packaged in examples.jar
    and
    stored in "<wl dir>/config/mydomain/applications".
    In addition, I create an application "testapp" with a number of jsp &
    servlets.
    ("<wl dir>/config/mydomain/applications/testapp")
    The servlets' classes are stored in
    "<wl dir>/config/mydomain/applications/testapp/WEB-INF/classes/examples/myservlet.class"
    In the servlet, I am trying to use the mysession bean by calling
    "create()" on mysession's home object. This is where I got the
    "NoClassDefFoundError".
    java.lang.NoClassDefFoundError: examples/mysession
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    Is there something missing in my deployment procedure?
    Thanks in advance

  • Nullpointerexception in struts deployment

    Hi everybody
    I am new member of this community
    and also struts teccnology
    I am getting following exception when submit my form
    java.lang.NullPointerException
         org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:384)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    plz can anybody help me
    thanks in advance

    thanks for reply Dalzhim
    But just as i mentioned i am new in struts technology
    I cant get ur solution
    can u explain where to make changes exactly
    because i was unable to find strutsconfig object
    thanks

  • Can ne one help me in installing STRUTS on Tomcat 4.1 web server

    Can ne one help me in installing STRUTS on Tomcat 4.1 web server.
    I haven't started yet.. Please Help me.
    Thanx in Advance.
    Regards,
    Ashutosh Sharma

    first try to get a file "struts-blank-1.3.8.war" from internet...
    before that we need to get certain jar files from net .. as these wud be necessary for the struts deployment on our tomcat
    antlr-2.7.2.jar
    bsf-2.3.0.jar
    commons-beanutils-1.7.0.jar
    commons-chain-1.1.jar
    commons-digester-1.8.jar
    commons-fileupload-1.1.1.jar
    commons-io-1.1.jar
    commons-logging-1.0.4.jar
    commons-validator-1.3.1.jar
    jstl-1.0.2.jar
    oro-2.0.8.jar
    standard-1.0.2.jar
    struts-core-1.3.8.jar
    struts-el-1.3.8.jar
    struts-extras-1.3.8.jar
    struts-faces-1.3.8.jar
    struts-mailreader-dao-1.3.8.jar
    struts-scripting-1.3.8.jar
    struts-taglib-1.3.8.jar
    struts-tiles-1.3.8.jar
    if u download struts 1.3.8.zip then u'll get all the files + with in the apps folder u'll get the war files that have some
    examples
    eg:-
    struts-blank-1.3.8.war
    struts-cookbook-1.3.8.war
    struts-el-example-1.3.8.war
    struts-examples-1.3.8.war
    and so on..... u mite get these files with some books ....... these war files contain the examples that u can run
    ******************* HOW TO DEPLOY STRUTS ON TOMCAT WEB SERVER ( I am Using apache-tomcat-5.5.25 ) ***********************
    copy all the .jar files that are present in the lib folder of the struts kit to the "\common\lib" folder of
    apache-tomcat-5.5.25
    Note that in Environment Variable CLASSPATH must be specified to lib folder of the tomcat than only these files will work
    Now copy the "struts-blank-1.3.8.war" file from the "apps" directory that will contain many ".war" files to "\webapps" folder
    of tomcat.
    now shutdown and then restart the tomcat webserver, now in the "webapps" folder u can see a folder as "struts-blank-1.3.8"
    now open Internet Explorer or any other Web Browser that ur using and type in
    http://localhost:8080/struts-blank-1.3.8
    if the page is coming showing u a welcome message it means struts are running fine
    Friends this mite be useful for all the beginners.. as i am a beginner so i know the problems that can come to start..
    Regards,
    Ashutosh Sharma

  • Tomcat to jboss

    i have a web application using struts deployed under tomcat server i have another web application(based onservlets) deloyed under jboss both of them have their respective login pages. i am accessing the login page of 2nd application by giving its local url address in a jsp of first appication, now i want to pass the username and password of login page my first application into the login pag of second application.........how can i do that......how can i pass the username and password? plz help

    In web.xml making the following entry:
    <web-app>
    <description>MySQL Test App</description>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    Next, add a file jboss-web.xml under WEB-INF/ folder of the web-application. This file should contain entry as:
    <jboss-web>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <jndi-name>java:/jdbc/test</jndi-name>
    <res-auth>Container</res-auth>
    </resource-ref>
    </jboss-web>
    Next, in JBOSS_HOME/server/default/deploy folder make a xx-ds.xml file or else, a similiar file can be found in that same folder with the name hsqldb-ds.xml. Make following entries in that xml file:
    <datasources>
    <local-tx-datasource>
    <jndi-name>/jdbc/test</jndi-name>
    <type-mapping>MySQL</type-mapping>
    <connection-url>jdbc:mysql://localhost:3306/shopping_cart</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>root</user-name>
    <password>root123</password>
    <min-pool-size>1</min-pool-size>
    <max-pool-size>5</max-pool-size>
    </local-tx-datasource>
    This should bind the jndi name.
    In our client application, we need to look up as:
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("java:/jdbc/test");
    Connection conn = ds.getConnection();
    This works perfectly.

  • Can ne one help???

    up untill recently my ipod has been fine but know all of a sudden it wont sync recently added songs!?!?! i have restored it and it still dosent work please some 1 help!?!!?!

    first try to get a file "struts-blank-1.3.8.war" from internet...
    before that we need to get certain jar files from net .. as these wud be necessary for the struts deployment on our tomcat
    antlr-2.7.2.jar
    bsf-2.3.0.jar
    commons-beanutils-1.7.0.jar
    commons-chain-1.1.jar
    commons-digester-1.8.jar
    commons-fileupload-1.1.1.jar
    commons-io-1.1.jar
    commons-logging-1.0.4.jar
    commons-validator-1.3.1.jar
    jstl-1.0.2.jar
    oro-2.0.8.jar
    standard-1.0.2.jar
    struts-core-1.3.8.jar
    struts-el-1.3.8.jar
    struts-extras-1.3.8.jar
    struts-faces-1.3.8.jar
    struts-mailreader-dao-1.3.8.jar
    struts-scripting-1.3.8.jar
    struts-taglib-1.3.8.jar
    struts-tiles-1.3.8.jar
    if u download struts 1.3.8.zip then u'll get all the files + with in the apps folder u'll get the war files that have some
    examples
    eg:-
    struts-blank-1.3.8.war
    struts-cookbook-1.3.8.war
    struts-el-example-1.3.8.war
    struts-examples-1.3.8.war
    and so on..... u mite get these files with some books ....... these war files contain the examples that u can run
    ******************* HOW TO DEPLOY STRUTS ON TOMCAT WEB SERVER ( I am Using apache-tomcat-5.5.25 ) ***********************
    copy all the .jar files that are present in the lib folder of the struts kit to the "\common\lib" folder of
    apache-tomcat-5.5.25
    Note that in Environment Variable CLASSPATH must be specified to lib folder of the tomcat than only these files will work
    Now copy the "struts-blank-1.3.8.war" file from the "apps" directory that will contain many ".war" files to "\webapps" folder
    of tomcat.
    now shutdown and then restart the tomcat webserver, now in the "webapps" folder u can see a folder as "struts-blank-1.3.8"
    now open Internet Explorer or any other Web Browser that ur using and type in
    http://localhost:8080/struts-blank-1.3.8
    if the page is coming showing u a welcome message it means struts are running fine
    Friends this mite be useful for all the beginners.. as i am a beginner so i know the problems that can come to start..
    Regards,
    Ashutosh Sharma

  • Strut-blank deployment failed (out of topic)

    Sorry for out of topic. But I am failed to deploy the strut-blank in tomcat.
    After installing tomcat, I try to put the struts-blank.war to the
    $CATALINA_HOME/webapps. Tomcat try to deploy the struts-blank.war but
    failed with the following error in the log. I wonder why tomcat can't
    find javax/servlet/http/HttpServlet as it is in the
    $CATALINA_HOME/common/lib and it is the path that tomcat will find.
    SEVERE: Error deploying web application archive struts-blank.war
    java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at
    java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1267)
    at
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
    ---------------------------------------------------------------------

    Hi,
    First, I recommend you install Clients, please review the link below:
    How to Install Clients on Windows-Based Computers in Configuration Manager
    http://technet.microsoft.com/en-us/library/gg712298.aspx
    To update antimalware definitions, you can use one or more of the following methods:
    How to Configure Definition Updates for Endpoint Protection in Configuration Manager
    http://technet.microsoft.com/en-us/library/jj822983.aspx
    How to Create and Deploy Antimalware Policies for Endpoint Protection in Configuration Manager
    http://technet.microsoft.com/en-us/library/hh508785.aspx
    Also, Check out this great guide by Gerry as well.
    Config Mgr 2012 Endpoint Protection: Definition Updates
    http://www.gerryhampsoncm.blogspot.ie/2013/08/config-mgr-2012-endpoint-protection_4240.html
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Deployment Problem related to filter, struts and log4j on BEA WLS 8.1 SP4

    Hi to All,
    I have a web application that uses struts 1.1, log4j, axis, filter vs. I have used WLS 8.1 SP4 for 10 months with my application without any problem. But yesterday I can not deploy application, I get the following errors;
    <pre>
    java.lang.NullPointerException
         at weblogic.servlet.internal.WebAppServletContext.destroyFilters(WebAppServletContext.java:6111)
         at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:5999)
         at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:196)
         at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:777)
         at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:761)
         at weblogic.servlet.internal.WebAppModule.rollback(WebAppModule.java:739)
    </pre>
    I research the exception and get some information; duplicate JAR file on classpath or missing JAR file. But i have another application that have two different log4j jar file, commons logging jar file in its web-inf/lib folder. And this application can be deployed without any problem. When I remove filter definition from web.xml, I get following error;
    <pre>
    - Begin event threw exception
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Caused by: java.lang.NoClassDefFoundError: org/apache/struts/validator/ValidatorForm
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    <Jun 2, 2006 4:28:54 PM EEST> <Error> <HTTP> <BEA-101216> <Servlet: "action" failed to preload on startup in Web application: "deneme".
    javax.servlet.UnavailableException: Parsing error processing resource path
         at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
         at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1014)
         at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
    <Jun 2, 2006 4:28:54 PM EEST> <Error> <HTTP> <BEA-101216> <Servlet: "init" failed to preload on startup in Web application: "deneme".
    javax.servlet.ServletException: org/apache/log4j/Logger
         at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:919)
         at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:883)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822)
    </pre>
    I can not find a solution, anyone can help me?
    Thanks for answers.
    Message was edited by:
    mucahitkurt

    Hi,
    It seems to be some of the files did not sign in the jar that may be cause for this type of error.
    Make sure that whether all files were signed or not in jar.
    Regards
    Anilkumar kari

Maybe you are looking for

  • Final cut express versus Adobe Premiere Pro 1.5

    Hi Resently I bought a Mac Pro and Final cut express. In the past I used Premiere Pro 1.5. When my project was finisched i wrote it back to tape as a Microsoft DV avi file. Is it possible to create a Microsoft DV avi file in Final Cut Express ? I'll

  • Configuration steps to create New Special GL

    HI, Can any one please send me configuration steps to create New Special GL. My client required to create new special GL for Rent Advance. NOTE: hear I am not asking how configuration steps for assigning GL accounts for existing Special GL. I want ne

  • Can a vcr be hooked up to a Mac mini or do you have to have a converter?

    To get VCR taped footage into iMovie or onto a Mac PC, do you have to have a converter or can you get a cable or wire that would connect the vcr to the apple PC?

  • How to configure initial-context-factory and provider_url on Websphere MQ

    I have a few questions about WebSphere MQ. Currently, my application is able work well with other JMS provider. But I would like to move to use WebSphere instead. Can anyone suggest me how to configure the application connecting WebSphere? �     I�m

  • They do not appear

    Hello Me and my Brother both have iMac G5's, which are both connected to the same network and router. But in the Network panel in the finder window, he can see my User and access my files, but I cannot see his user at all. Is this a problem with my I