Deploying a .war file - outside of Tomcat default webapps?

I would like to deploy a war file outside of the [tomcat]/webapps directory.
How can I get tomact to recognize AND unpack a war file in a location other then the default webapps directory?
I have tried the following;
altering server.xml -
added context pointing directly to .war in other directory.
adding context.xml entry to my war -
added context.xml to META-INF of my war file, indicating that the docBase should be in outside directory.
Neither of these created the desired result.
Any suggestions?

The following is from tomcat docs
- http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
appBase : The Application Base directory for this virtual host. This is the pathname of a directory that may contain web applications to be deployed on this virtual host. You may specify an absolute pathname for this directory, or a pathname that is relative to the $CATALINA_BASE directory. Going by that. try making the change as below in your server.xml
<Host name="localhost" appBase="your_directory"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false" deployXML="true">I am going by what the doc says.
I havent tried it out myself, so do let us know if that worked.
cheers,
ram.

Similar Messages

  • Unable to deploy the war file generated from jdeveloper to tomcat

    Hi
    I was able to deploy the war file after modification in the web.xml but unable to run the servlet application
    Please Help
    Dolphy

    After going thru all the steps specified in online help to deploy the web application in Tomcat server.
    I am getting the following error
    first the webapps could not be deployed because of url pattern
    <servlet-mapping>
    <servlet-name>mypackage1.BIController1</servlet-name>
    <url-pattern>mypackage1.BIController1</url-pattern>
    </servlet-mapping>
    which when i change to
    <servlet-mapping>
    <servlet-name>mypackage1.BIController1</servlet-name>
    <url-pattern>\mypackage1\BIController1</url-pattern>
    </servlet-mapping>
    deploys the application
    but i get the following errors in the tomcat log file
    2004-05-03 10:34:12 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2004-05-03 10:34:12 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2004-05-03 10:34:12 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2004-05-03 10:34:13 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2004-05-03 10:34:13 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2004-05-03 10:34:13 StandardContext[webapp1]Marking servlet uix as unavailable
    2004-05-03 10:34:13 StandardContext[webapp1]Error loading WebappClassLoader
    delegate: false
    repositories:
    /WEB-INF/classes/
    ----------> Parent Classloader:
    StandardClassLoader
    delegate: true
    repositories:
    file:C:\tomcat\shared\classes\
    ----------> Parent Classloader:
    StandardClassLoader
    delegate: true
    repositories:
    file:C:\tomcat\common\classes\
    file:C:\tomcat\common\endorsed\xercesImpl.jar
    file:C:\tomcat\common\endorsed\xmlParserAPIs.jar
    file:C:\tomcat\common\lib\ant.jar
    file:C:\tomcat\common\lib\commons-collections.jar
    file:C:\tomcat\common\lib\commons-dbcp-1.1.jar
    file:C:\tomcat\common\lib\commons-el.jar
    file:C:\tomcat\common\lib\commons-pool-1.1.jar
    file:C:\tomcat\common\lib\jasper-compiler.jar
    file:C:\tomcat\common\lib\jasper-runtime.jar
    file:C:\tomcat\common\lib\jmx.jar
    file:C:\tomcat\common\lib\jsp-api.jar
    file:C:\tomcat\common\lib\naming-common.jar
    file:C:\tomcat\common\lib\naming-factory.jar
    file:C:\tomcat\common\lib\naming-java.jar
    file:C:\tomcat\common\lib\naming-resources.jar
    file:C:\tomcat\common\lib\servlet-api.jar
    ----------> Parent Classloader:
    sun.misc.Launcher$AppClassLoader@4afa9e
    oracle.cabo.servlet.UIXServlet
    java.lang.ClassNotFoundException: oracle.cabo.servlet.UIXServlet
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1383)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:979)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3959)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:727)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
         at org.apache.catalina.core.StandardService.start(StandardService.java:519)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    2004-05-03 10:34:13 StandardContext[webapp1]Servlet /webapp1 threw load() exception
    javax.servlet.ServletException: Wrapper cannot find servlet class oracle.cabo.servlet.UIXServlet or a class it depends on
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:989)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3959)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:727)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
         at org.apache.catalina.core.StandardService.start(StandardService.java:519)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    ----- Root Cause -----
    java.lang.ClassNotFoundException: oracle.cabo.servlet.UIXServlet
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1383)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:979)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3959)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:727)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
         at org.apache.catalina.core.StandardService.start(StandardService.java:519)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    Thanks
    Dolphy

  • Error while deploying a war file:Urgent

    Hi,
    I am trying to deploy a war file and i am getting the followinig error on the emd console.
    "Failed to deploy application 'xxxx'. No config data persisted for component apache, transaction ID 192.168.40.44.5789f3......"
    The opmn log file in the oracle directory is showing the following exceptioin
    java.net.ConnectException: Connection refused
    Can any one please help me resolve this issue.
    Regards
    Badari

    Hi,
    For a tutorial with source on how to create and deploy a simple quickstart JEE5 JPA enterprise 3-tier application on your Oracle WebLogic 10.3 server - see the following example that uses the EclipseLink JPA provider. You should be able to transition all of your mapping information (the @ManyToOne and table/column overrides and named queries for example) using either JPA via entity annotations or native extensions if you do not want to implement EJB3.
    see...
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    We also have a similar version for Tomcat 6 except the JPA entity beans run outside a container-managed JTA transaction on the web container - for reference.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial
    thank you
    /michael
    www.eclipselink.org

  • Unable to deploy a WAR file in Linux

    Hi Every one
    I am trying to deploy the war file from a remote machine.If server is running
    in windows environment it deploying properlly.
    If i tried to deploy the war file Server is running in Linux machine i am
    getting foilloeing error while deploying.
    Can any one sujjest me how to do this one.
    I am using Weblogic 7.0 with service pack 2
    The fillowing Error I am getting in the builder
    weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException
    java.io.EOFException
         at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVMConnection.java:643)
         at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:359)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested
    exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException]
         at weblogic.management.internal.RemoteMBeanServerImpl_WLStub.invoke(Unknown Source)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
         at $Proxy2.remove(Unknown Source)
         at weblogic.marathon.server.DeployPanel.runRemove(DeployPanel.java:322)
         at weblogic.marathon.server.DeployPanel.runDeploy(DeployPanel.java:342)
         at weblogic.marathon.server.DeployPanel.run(DeployPanel.java:248)
         at java.lang.Thread.run(Thread.java:484)
    weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException
    java.io.EOFException
         at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVMConnection.java:643)
         at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:359)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested
    exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException]
         at weblogic.management.internal.RemoteMBeanServerImpl_WLStub.invoke(Unknown Source)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
         at $Proxy2.remove(Unknown Source)
         at weblogic.marathon.server.DeployPanel.runRemove(DeployPanel.java:322)
         at weblogic.marathon.server.DeployPanel.runDeploy(DeployPanel.java:342)
         at weblogic.marathon.server.DeployPanel.run(DeployPanel.java:248)
         at java.lang.Thread.run(Thread.java:484)

    Mona,
    You have to keep in mind that virtual URL (like servlet context) does not always directly match paths on disk. As you can see http://hostname:7778/j2ee/ maps to C:\Infra10_1_2\j2ee\home\default-web-app. home is the name of the oc4j server. Create another oc4j server and see where its top directory is created.
    About your questions:
    1. Use the Application Server Control "Deploy Web App", like you tried before, but...
    2. It does not work because you have archived the whole directory for oc4j.
    Instead create a directory outside of the oracle home, with structure suggested by the Servlet Primer chapter:
    "Here is the structure of the WAR file for the examples in this chapter:
    EmpInfo.html
    WEB-INF/
    classes/
    HelloWorldServlet.class
    GetEmpInfo.class"
    Then cd to that directory and do
    jar cvf mywebapp.war .
    Deploy like you did before:
    Web Application: pick war file
    App Name: mywebapp
    Map to URL: /mona
    If succesful, check where files end up so you know both url paths and disk paths and how they fit together.

  • Problem in deploying Application War file on weblogic 8.1.

    Hi All,
    <BR><BR>
    I am getting folowing error while deploying a war file in weblogic server.
    <BR><BR>
    <b>####<May 9, 2006 4:35:43 AM BST> <Error> <HTTP> <dygenint01> <admin_dyressit> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101018> <[ServletContext(id=6530739,name=OneViewWriteback,context-path=/OneViewWriteback)] Servlet failed with ServletException
    java.lang.Throwable: Servlet class: 'com.corizon.ps.oneview.servlet.OneViewWritebackResultServlet' doesn't have a default constructor
         at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1032)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:904)
         at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:883)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)</b>
    <BR><BR>
    I am using weblogic version 8.1 .
    <BR><BR>
    How can I get rid of this error ?
    <BR><BR>
    Can any body Please guide me on this ?
    <BR><BR>
    Thanks in advance.
    <BR><BR>
    Ninad

    dkarr, Thanks for your reply.<BR>
    here is the constructor I got for the class 'com.corizon.ps.oneview.servlet.OneViewWritebackResultServlet'
    <BR><BR>
    <b> public OneViewWritebackResultServlet()<BR>
    {<BR>
    senderThread = null;<BR>
    jmsConnectionHandler = null;<BR>
    closureManager = null;<BR>
    mRequestSenderThread = null;<BR>
    connected = false;<BR>
    }</b><BR>
    <BR>
    Is this ok ?
    <BR>
    Thanks,<BR>
    -Ninad<BR>

  • Deploying a war file on Oracle's ApacheJServ

    Hi all,
    I am attempting to deploy a war file on Oracle 9i's Apache JServ. The docs from Oracle are immense and I haved searched them to no avail.
    Does anyone know how to deploy a war file(that I have created with netbeans) to JServ?
    Specifically what directory to drop the war file into(Tomcat it is webapps and then restart and the app is ready)
    I am hoping it is this easy in JServ.
    Thanks in advance!!!

    I love precise questions like this. :)
    My understanding is that JServ does not automatically unpack WAR files, which might be why you're running into problems. I do notice that Sun Microsystems at this point recommends Tomcat over JServ so I seriously doubt you'll ever get that functionality. You will have to manually unpack the WAR and place the files where they should go.
    I do remember that servlets must go into the c:/JServ/servlets directory, and the zone.properties file in that directory must be modified to recognize the presence of the servlets you are adding.
    This was before JSPs so I'm not certain where they go. The Oracle documentation I just looked at implies that you can place JSP files in the c:/Apache Group/Apache/htdocs directory as if they were normal HTML files. They do not mention whether you have to configure Apache to redirect JSPs to JServ. I would think this is the case, and suggest looking at the JServ specific documentation.
    If you're still stuck, let us know and we'll help you research it further.

  • Urgent - java.lang.NullPointerException when deploying a WAR file

    Hello
    I am trying to deploy a WAR file on 9iAS rel 2 using the Enterprise Manager. On the web page, I provide the .war file along with application name and url mapping. When I click on deploy, i get an error back which just says java.lang.NullPointerException. There is no stack trace.
    Until now, I have been working on my own PC using tomcat, and the war file works fine in tomcat.
    I am presuming that there will be a log file where more information will be available, but I do not know where the log file is kept. The Oracle 9iAS is installed on Solaris.
    Any help with this would be greatly appreciated.
    Thanks.
    Jay

    Problem Solved
    The problem was the web.xml file which contained some elements that are only valid for servlet 2.4 (used on tomcat) but not on 2.2(used in oracle).
    Jay.

  • How to deploy a war file from a different app server to the SAP one

    Hello,
    I hve recieved a war file from Tomcat that needs to be deployed on the SAP Java App server. As far as I know the SDM only allows to deploy ear files. How can I deploy this war to the app server?

    Hi Roy,
    in order to deploy the WAR file you have to wrap an EAR around it. I had the same problem.
    You can do this using Netweaver Developer studio.
    Perform the following steps:
    - Start NWDS
    - Create a New Enterprise Application Project
    - Create a New Web Module Project (name it like your war file => e.g. your war file is called myApp.war => call your Web Module myApp)
    - Edit the application.xml of your Enterprise App if necessary (description, Displayname etc.)
    - Link your Web Archive to your application archive (right Mouse click on Application Archive and from the Context Menu choose "Add Modules" => In the list choose your Web Module)
    => You can also perform a right mouse click on your web Module and from the context menu choose "Add to EAR Project" => In the list choose your Enterprise Application!
    - Build Web Archive (right mouse click on your Web Module and from the context menu choose "Build Web Archive" => This will create a war file that has the same name as your war file! => If you do not see it try to switch to resource perspective!)
    - Build Application archive (right mouse click on Application archive => from the context menu choose "Build Application Archive")
    You are done
    The EAR file is generated and will be created in your workspace.
    Now browse to your workspace. Unpack the EAR using WinZip or any other Archiver program.
    Replace the contained war with your war and repack the ear file (You can also use tools like Total Commander to directly replace the war file in the EAR with your war without having to unpack the war). You can also import your war into NWDS and rebuild it so you won't have to replace the WAR in the EAR but as your WAR is already built I would just replace it as described!
    You can now deploy the ear file to SAP J2EE
    Hope this helps (Reward points for helpful answers are appreciated!)
    Cheers

  • Problem deploying a War file to server

    Hi,
    I'm trying to deploy my war file a simple servlet program given by Google Webtookit to my Resin server v2.1.13.
    I created a war file and dropped it into the webapps folder. When I try to launch the application, I get the following error. My class is in the right directory, I am able to launch it on my local resin server on my machine. When I try to deploy it onto a 3rd party server, is when I get the error. I have checked my web.xml file and made sure they are pointing correctly to the class I want it to point to. Where am I going wrong?
    Thanks,
    Harry
    500 Servlet Exception
    javax.servlet.ServletException: Class `com.bc.server.GreetingServiceImpl'
    was not found in classpath.
    Classes normally belong in /ExGWT/WEB-INF/classes.
    at com.caucho.server.http.Application.instantiateServlet(Application.java:3198)
    at com.caucho.server.http.Application.createServlet(Application.java:3104)
    at com.caucho.server.http.Application.loadServlet(Application.java:3065)
    at com.caucho.server.http.QServletConfig.loadServlet(QServletConfig.java:435)
    at com.caucho.server.http.Application.getFilterChainServlet(Application.java:2809)
    at com.caucho.server.http.Application.buildFilterChain(Application.java:2765)
    at com.caucho.server.http.Invocation.service(Invocation.java:313)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
    at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346)
    at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274)
    at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
    at java.lang.Thread.run(Thread.java:595)
    Resin 2.1.13 (built Thu Apr 1 10:57:42 PST 2004)

    I am trying to deploy my application on Lunarpages. (not the best support in the world). They have Resin v 2.1.13 running on their end. I have tried everything I know, but the classpath is still an issue. I have even printed out the list of classpath through my code and everything seems to be right. I can deploy the same war file on any server Tomcat, Jetty, Resin 3.x (my local), but just not on lunarpages. I am stumped. Please help.
    Thanks
    Harry

  • I didn't get log statements in console after deploying the war file IN WAS6

    I am new to web sphere 6.o server, I didn't get log statements in console after deploying the war file into the WAS

    Albenn
    Welcome to the Apple user discussion forums
    I'll hit a few of your questions - others will have to do others since I'm not up on some of the issues you ask about
    4) is there an easy way to review/delete items (in 6, i run a basic slideshow and delete on the fly -- is this still workable in 7?)?
    Yes
    5) Are there significant functionality benefits of 7 over 6 (e.g., does the noise function or shadow/highlight really offer significant benefits? The Events seems obvious, but I'm more interested in "under the hood" experience
    Yes
    Loseless editing - web galleries - events
    a) Is import any faster? As my library is growing in size, the import is getting overly slow
    It is fine for me (only you can compare to your current) - I have 20542 items using 26.3 GB in 271 events
    7) Is there a full-screen edit mode?
    yes
    8) Can you configure events so that it's not just by day?
    yes
    9) Is 6's "roll" structure as mirrored in the file system still available in the Events approach, or is the database structure that once you've converted a library, there's no going back?
    Events replace rolls (if your rolls are named - NOT the default rollxxx name - they will come across as is - to me events are rolls with much more capability and a new name - some people are VERY putoff by the change (but most love it) for reasons that I simply do not comprehend
    10) What is the effective (or advised) maximum library size? I've probably got over 60GB of images in my libraries now, with 20,000 images or so. If 7 can readily digest them (and preserve all my albums, etc.), then I'd love to combine them into one, unless that will kill performance, make the database unstable, drive backups into interminable waits, etc.
    The advertised max is 250,000 photos - I have about the same number of photos as you in about 1/3 the space - there are a few users here with libararies your size. With iPhoto Library Manager it is easy to maintain multiple libraries if you choose
    LN
    Message was edited by: LarryHN

  • How can I deploy the WAR application in the Tomcat

    How can I deploy the WAR application in the Tomcat. Do I have to do any manifest file.
    Thanks
    S. Nikov

    First of all, which version of Tomcat are you using?
    Deploying a WAR file in Tomcat is very easy. Just put the WAR file in the %TOMCAT_HOME%\webapps directory and start Tomcat. It will automatically find the WAR.
    Please read the Tomcat documentation: start Tomcat and point your browser to http://localhost:8080
    Jesper

  • Deploy a war file

    hi,
    can some one please guide me through deploying a war file to application server8.1 ,
    by suggesting perhaps atutorial or link ,
    thanks inadvance

    hi,
    this what the server.log shows:
    [#|2006-06-21T08:58:22.453+0300|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=17;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2006-06-21T08:58:22.484+0300|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=17;|Total Deployment Time: 31 msec, Total EJB Compiler Module Time: 0 msec, Portion spent EJB Compiling: 0%|#]
    [#|2006-06-21T08:58:24.453+0300|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=18;|WEB0783: Error commiting response
    java.io.IOException: An existing connection was forcibly closed by the remote host
         at sun.nio.ch.SocketDispatcher.write0(Native Method)
         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
         at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
         at sun.nio.ch.IOUtil.write(IOUtil.java:75)
         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
         at java.nio.channels.Channels.write(Channels.java:60)
         at java.nio.channels.Channels.access$000(Channels.java:47)
         at java.nio.channels.Channels$1.write(Channels.java:134)
         at org.apache.coyote.http11.InternalOutputBuffer.commit(InternalOutputBuffer.java:602)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.action(ProcessorTask.java:749)
         at org.apache.coyote.Response.action(Response.java:186)
         at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:570)
         at org.apache.coyote.Response.doWrite(Response.java:548)
         at org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:404)
         at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:294)
         at org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:241)
         at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
         at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
         at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408)
         at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
         at org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:190)
         at org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:133)
         at org.apache.coyote.tomcat5.OutputBuffer.realWriteChars(OutputBuffer.java:606)
         at org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:261)
         at org.apache.coyote.tomcat5.OutputBuffer.write(OutputBuffer.java:511)
         at org.apache.coyote.tomcat5.CoyoteWriter.write(CoyoteWriter.java:136)
         at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:137)
         at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:345)
         at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:356)
         at org.apache.jasper.runtime.JspWriterImpl.print(JspWriterImpl.java:481)
         at com.iplanet.jato.taglib.TagBase.writeOutput(TagBase.java:630)
         at com.sun.web.ui.taglib.header.CCHtmlHeaderTag.doEndTag(CCHtmlHeaderTag.java:359)
         at org.apache.jsp.jsp.webApplications_jsp._jspx_meth_cc_header_0(webApplications_jsp.java:170)
         at org.apache.jsp.jsp.webApplications_jsp._jspService(webApplications_jsp.java:108)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at com.sun.enterprise.tools.admingui.servlet.HandlePrecompiledJsp.doPost(HandlePrecompiledJsp.java:57)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
         at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
         at com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:340)
         at com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:186)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    |#]
    [#|2006-06-21T08:58:32.734+0300|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=19;|DPL5109: EJBC - START of EJBC for [WebApplication4]|#]
    [#|2006-06-21T08:58:32.750+0300|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=19;|Processing beans ...|#]
    [#|2006-06-21T08:58:32.750+0300|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=19;|DPL5110: EJBC - END of EJBC for [WebApplication4]|#]
    [#|2006-06-21T08:58:32.765+0300|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=19;|Total Deployment Time: 344 msec, Total EJB Compiler Module Time: 16 msec, Portion spent EJB Compiling: 4%
    Breakdown of EJBC Module Time: Total Time for EJBC: 16 msec, CMP Generation: 0 msec (0%), Java Compilation: 0 msec (0%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 0 msec (0%),
    |#]
    [#|2006-06-21T08:58:32.812+0300|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=19;|deployed with moduleid = WebApplication4|#]
    [#|2006-06-21T08:58:32.859+0300|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=20;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- reference-added WebApplication4]|#]
    [#|2006-06-21T08:58:32.906+0300|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=20;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2006-06-21T08:58:32.906+0300|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=20;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- deploy web/WebApplication4]|#]
    [#|2006-06-21T08:58:32.921+0300|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=20;|WEB0100: Loading web module [WebApplication4] in virtual server [server] at [WebApplication4]|#]
    [#|2006-06-21T08:58:33.171+0300|WARNING|sun-appserver-pe8.1_02|org.apache.commons.digester.Digester|_ThreadID=20;|[ComponentRule]{faces-config/component} Merge(com.sun.rave.web.ui.Time)|#]
    [#|2006-06-21T08:58:33.187+0300|WARNING|sun-appserver-pe8.1_02|org.apache.commons.digester.Digester|_ThreadID=20;|[ConverterRule]{faces-config/converter} Merge(null,java.math.BigDecimal)|#]
    [#|2006-06-21T08:58:33.187+0300|WARNING|sun-appserver-pe8.1_02|org.apache.commons.digester.Digester|_ThreadID=20;|[ConverterRule]{faces-config/converter} Merge(null,java.math.BigInteger)|#]
    thanks,

  • Error in deploying the war file on to the weblogic server(6.1)

    Hi,
    I created the war file and tried to deploy it on the weblogic server 6.1 it is unable to deploy and is give these errors i am unable to find out the problem.Can any one help me out in finding why this is so.
    Help will be appreciated
    java.lang.NullPointerException
         at weblogic.management.internal.MBeanProxy.getAttribute(MBeanProxy.java:253)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:187)
         at $Proxy65.isDeployed(Unknown Source)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:744)
         at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy5.update(Unknown Source)
         at weblogic.management.console.webapp._domain.__upload_app._jspService(__upload_app.java:149)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:241)
         at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
         at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         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:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Thanks,
    Reji

    Hi jmendelak,
    In the warfile i have jsp,servlets,java classes.
    In my working directory i have jsp and html files and in web-inf folder i have a folder by name classes in which i have the servlets and java classes.
    I made the war file and when i tried to deploy i was getting this error.
    I had previously deployed this war file on weblogic6.1 it was working fine.
    I have upgraded my operating sytem to Windows2000 professional from WinNT 4.0.I reinstalled the weblogic again and had set up the environment variables.
    After going through the error could you find out the reason?Is it because some seeting is missing?
    Raji

  • How to deploy a war file on Weblogic Server 7.0??

    Hello Everyone
    I am trying to deploy a servlet on Weblogic Server 7.0 as a WAR file. Can anyone of u plz tell me the steps required to do that. I am posting this question on EJb forum and not on servlets coz this is not a servlet problem, rather this is something which is related to J2EE, ie how to deploy a war file on J2EE Server.
    This is how i have done it, but this is not working---
    (1) First i created a directory structure for the web application according to J2EE Specification.
    C:\Work\
    myServletWAR\
    META-INF\
    WEB-INF\
    classes\
    HelloServlet.class
    web.xml
    i.e within work directory, there is a dic called myServletWAR which is my application directory which contains 2 sub directories viz META-INF which contains the mainifest file being generated by the jar utility. the second directory in the myServletWAR application dir is WEB-INF, which contains one file called web.xml for servlet mapping and one directory classes which contains HelloServlet.class
    (2) I used following command for creating war file from myServletWAR director(i.e from my web application's directory).
    jar -cvf TestServletWAR.war .
    This creates the TestServletWAR.war file in myServletWAR dir.
    Here is how my Servlet and web.xml looks like...
    Servlet code
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloServlet extends HttpServlet
    public void doPost ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    doGet( req, res );
    public void doGet ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    res.setContentType( "text/html" ); // Can also use "text/plain" or others.
    PrintWriter out = res.getWriter();
    // Get the requestor's IP address (See JavaDocs to see how to get other info):
    String addr = req.getRemoteAddr();
    // Create output (the response):
    out.println( "<HTML><HEAD><TITLE>HelloServlet in myServletWAR</TITLE></HEAD>" );
    out.println( "<BODY><H1 ALIGN=\"CENTER\">" );
    out.println( "Hello " + addr + ", from HelloServlet in myServletWAR!" );
    out.println( "</H1></BODY></HTML>" );
    out.close();
    ************************Servlet Ends Here **************************
    web.xml
    ---------------------------------------------------------- <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <display-name>myServletWAR, a first Web Application</display-name>
    <description>
    This is a simple web application containing a single servlet
    of the "Hello, World" variety.
    </description>
    <servlet>
    <servlet-name>myHello</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>myHello</servlet-name>
    <url-pattern>/myHello</url-pattern>
    </servlet-mapping>
    </web-app>
    ****************************web.xml file ends here********************
    After deploying the TestServletWAR.war file on the weblogic 7.0, i tried to execute the servlet from the browser by the following URL
    http://localhost:7001/myServletWAR/myHello
    I am getting the HTTP 404 Error, which is an indication that weblogic was unable to find the resourse, which it was requested for. Can anybody plz tell me what i m doing worng?? do i need to use weblogic related xml file (i.e weblogic.xml) also along with web.xml. If yes, then what all i need to include that. I m not very sure. A sample weblogic.xml file for this HelloWorld example will help me a lot.
    Looking forward for your help
    Thanx in advance
    Nisha

    hi i have read ur answer regarding deploing a servlet in weblogic 7.0
    i am facing another problem
    when i try to access the servlet inside my classes directory it throwa an error stating this :
    IT DOES NOT FOUND THE CLASSES ON WHICH MY SERVLET DEPENDS.WHAT DOEES ATHIS MEAN
    KINDLY TELL ME
    PUNEET JAIN
    <May 28, 2003 1:46:25 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Se
    rvlet class myclasses.Wservlet for servlet welcome could not be loaded because a class on which it depends was not found
    in the classpath D:\bea\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\W
    ebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)>
    <May 28, 2003 1:46:26 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)] Ser
    vlet failed with ServletException
    javax.servlet.ServletException: [ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Servlet class myclasses.W
    servlet for servlet welcome could not be loaded because a class on which it depends was not found in the classpath D:\be
    a\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\WebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

  • Deploying a .war file on WLP 8.1

    Hi Folks,
    I have installed BEA WLP 8.1 with Service Pack 2 on a Linux RedHat 9 machine(this
    service pack comes with the installer). Created a domain using JDBC. I used "BEA's
    Oracle Driver (Type 4) version 8.1.7, 9.0.1, 9.2.0" driver to configure oracle
    database onto domain. The settings for Distributed Domain, JMS and MultiPool were
    set to 'No' so did'nt used it. After that I edited the setDomainEnv.sh file to
    add classpath for my application's jar files. Started the server. Opened up console
    http://<machine ip>:7001/console, deployed three .war files that are required
    to integrate BEA with my application module. It successfully deployed. The files
    were uloaded in domainserver/upload folder. After that I restarted the server
    and it throws following exceptions:
    <Servlet: "startAgent" failed to preload on startup in Web application: "clickmarks".
    javax.servlet.ServletException
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:884)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3209)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3195)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    >
    <May 25, 2004 6:14:07 PM PKST> <Error> <HTTP> <BEA-101216> <Servlet: "PatternsServlet"
    failed to preload on startup in Web application: "clickmarks".
    javax.servlet.ServletException
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:884)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    >
    <May 25, 2004 6:14:09 PM PKST> <Error> <HTTP> <BEA-101216> <Servlet: "PortalServlet"
    failed to preload on startup in Web application: "portal".
    javax.servlet.ServletException
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:884)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    >
    The StartAgent, PatternsServlet and PortalServlet are some class instances that
    this war file need to initialize first. Can anyone please help me in this regard
    how to solve this problem? I need it urgently ASAP...

    dkarr, Thanks for your reply.<BR>
    here is the constructor I got for the class 'com.corizon.ps.oneview.servlet.OneViewWritebackResultServlet'
    <BR><BR>
    <b> public OneViewWritebackResultServlet()<BR>
    {<BR>
    senderThread = null;<BR>
    jmsConnectionHandler = null;<BR>
    closureManager = null;<BR>
    mRequestSenderThread = null;<BR>
    connected = false;<BR>
    }</b><BR>
    <BR>
    Is this ok ?
    <BR>
    Thanks,<BR>
    -Ninad<BR>

Maybe you are looking for

  • CRM 6.0 ERMS OLTP Report set up

    Has anyone used the CRM ERMS OLTP reports available?   Appreciate any comments or advice for set up based on our simple scenario for processing email.   We are on CRM 2007(s) Version 6.0 and at Support Pack Level 5 Our CRM ERMS system is configured t

  • AUC related conceptual problems?

    Hi, I have some question in my mind: Que: We have asset classes with Investment measure checked but system can't let us make the Asset master if we want to. why? Que: How do we collect the cost as investment measure, how do we convert it to AUC and h

  • Google Map is showing another company along with ours

    My goggle maps file seems fine until you zoom in. There is another company named Advanced Agricultural "pinned" in our spot. The company is no longer here. How do I get this corrected?

  • Hi Any body guide me for Advance pricing setups and implementation manual with screen shots

    Hi Any body guide me for Advance pricing setups and implementation manual with screen shots Regards Guru

  • Recover a wrong cold backup

    Hi, I had a 9i database in NO ARCHIVELOG mode in a W2003 enviromente. OS hard disk was broken with Oracle instalatión and instance was fallen. After, I can recover all datafiles, redo, controlfiles and parameter file. I´m trying recover database in a