Deploying same WAR file multiple times

I am attempting to deploy the same WAR file with different parameters [Differnt
data sources, etc.] Has anyone deployed the exact same war file multiple times?
I know one way to do this is to rename the war file, is there a way other than
this without EAR it up?

you edit your html file to embed multiple copies of your swf.
it's generally easier to control the layout if you use swfobject (but you can just copy the code published by flash pro) to embed the swf.

Similar Messages

  • Embed same SWF file multiple times in Flash file

    I want to include the same SWF file multiple times in the same flash file. I have a plain box that is clear, that becomes visible when clicked. I want to create a grid of them (about 50+). If I copy the layers and actions, they interfere with each other so I want to embed multiple SWF files into one file and then save it to embed in an interactive PDF. If I save one square and embed it into the PDF multiple times, the file becomes too big to work. How can I embed interactive SWF files over and over into 1 SWF file? I don't have a ton of knowledge with Flash....

    you edit your html file to embed multiple copies of your swf.
    it's generally easier to control the layout if you use swfobject (but you can just copy the code published by flash pro) to embed the swf.

  • Is there a way to develop the same raw file multiple times, each time keeping the final product?

    I've been working with my NEF raw files.  When I import one into LR I can start developing it right away, which I've done.  I also know that the modifications aren't made to the raw file but kept in an XMP file.  Since the I'm not actually changing the raw file do you know if there is a way to make a secondary edit of the file?
    Here's an example.  Let's say I have a raw file and I want to develop it in color.  Then when I'm all done I want to start over and develop it again and black and white but keep the color one as well.
    I know I can undo all the edits I've made but then I lose all that work too.
    Is there a way to develop an image twice and keep both final products?  I know copying the raw file and renaming it is one crude way but I have to believe there's a better, easier way.

    Yes, you can make a virtual copy at any time.
    If you want the virtual copy to be un-edited after you have done some editing to the "non-virtual copy", you could open the "non-virtual copy" in the Develop Module, click on Reset, create the virtual copy, then undo the Reset operation (click on the last real edit in the History Panel)

  • TS1474 Every time I sync my iphone with Macbook, itunes is storing the same voice files multiple times which is eating away my storage. Please offer a solution, thanks !!

    My macbook storage has almost been eaten up & has been slowed down considerably due to this problem.

    Anyone?

  • Error after deploying a war file on Portal Server 6

    Hi All,
    I have successfully deployed one war file on Sun Java System Portal Server 6.When I put a portlet using the channel mgmt. it gives the following exception in the AccessManager--->Debug--->Helloworld file::::
    TIME | LOGGER NAME | LEVEL | THREAD ID | MESSAGE | EXCEPTION
    2006/05/24 13:08:18.765 GMT+05:30 | null | LOG | service-j2ee-5 | Logger begins | -
    2006/05/24 13:08:18.765 GMT+05:30 | null | LOG | service-j2ee-5 | Logger log level set to: SEVERE | -
    2006/05/24 13:14:00.187 GMT+05:30 | null | SEVERE | Thread-97 | PortletAppEngineServlet.HandleError()() - Error: null | LifecycleManagerImpl.getPortlet(), can not get portlet.
    x -----------------------------------------------------------------------------
    X javax.portlet.PortletException: LifecycleManagerImpl.getPortlet(), can not get portlet.
    X      at com.sun.portal.portletappengine.impl.LifecycleManagerImpl.getPortlet(LifecycleManagerImpl.java:163)
    X      at com.sun.portal.portletappengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:195)
    X      at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    X      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
    X      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)
    X      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)
    X      at com.sun.portal.container.portlet.impl.PortletContainer.invokePAE(PortletContainer.java:409)
    X      at com.sun.portal.container.portlet.impl.PortletContainer.getMarkup(PortletContainer.java:180)
    X      at com.sun.portal.providers.window.WindowProvider.getPortletContent(WindowProvider.java:386)
    X      at com.sun.portal.providers.window.WindowProvider.getContentInternal(WindowProvider.java:239)
    X      at com.sun.portal.providers.window.WindowProvider.getContent(WindowProvider.java:204)
    X      at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:160)
    X -----------------------------------------------------------------------------
    2006/05/24 13:14:06.343 GMT+05:30 | null | SEVERE | Thread-98 | PortletAppEngineServlet.HandleError()() - Error: null | LifecycleManagerImpl.getPortlet(), can not get portlet.
    x -----------------------------------------------------------------------------
    X javax.portlet.PortletException: LifecycleManagerImpl.getPortlet(), can not get portlet.
    X      at com.sun.portal.portletappengine.impl.LifecycleManagerImpl.getPortlet(LifecycleManagerImpl.java:163)
    X      at com.sun.portal.portletappengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:195)
    X      at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    X      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
    X      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)
    X      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)
    X      at com.sun.portal.container.portlet.impl.PortletContainer.invokePAE(PortletContainer.java:409)
    X      at com.sun.portal.container.portlet.impl.PortletContainer.getMarkup(PortletContainer.java:180)
    X      at com.sun.portal.providers.window.WindowProvider.getPortletContent(WindowProvider.java:386)
    X      at com.sun.portal.providers.window.WindowProvider.getContentInternal(WindowProvider.java:239)
    X      at com.sun.portal.providers.window.WindowProvider.getContent(WindowProvider.java:204)
    X      at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:160)
    X -----------------------------------------------------------------------------
    2006/05/24 13:14:07.984 GMT+05:30 | null | SEVERE | service-j2ee-2 | PortletAppEngineServlet.HandleError()() - Error: null | LifecycleManagerImpl.getPortlet(), can not get portlet.
    x -----------------------------------------------------------------------------
    X javax.portlet.PortletException: LifecycleManagerImpl.getPortlet(), can not get portlet.
    X      at com.sun.portal.portletappengine.impl.LifecycleManagerImpl.getPortlet(LifecycleManagerImpl.java:163)
    X      at com.sun.portal.portletappengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:195)
    X      at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    X      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
    X      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)
    X      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)
    X      at com.sun.portal.container.portlet.impl.PortletContainer.invokePAE(PortletContainer.java:409)
    X      at com.sun.portal.container.portlet.impl.PortletContainer.getMarkup(PortletContainer.java:180)
    X      at com.sun.portal.providers.window.WindowProvider.getPortletContent(WindowProvider.java:386)
    X      at com.sun.portal.providers.window.WindowProvider.getContentInternal(WindowProvider.java:239)
    X      at com.sun.portal.providers.window.WindowProvider.getEdit(WindowProvider.java:211)
    X      at com.sun.portal.desktop.taglib.provider.GetEditTag.doStartTag(GetEditTag.java:23)
    X      at jspsC0003a._Sun._PortalServer._config._desktop._sampleportal_en_US._JSPEditContainer._html._edit_jsp._jspService(_edit_jsp.java:218)
    X      at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    X      at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    X      at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
    X      at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:896)
    X      at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:810)
    X      at com.sun.portal.providers.jsp.JSPProvider.getEdit(JSPProvider.java:630)
    X      at com.sun.portal.desktop.DesktopServlet.doGetPost(DesktopServlet.java:590)
    X      at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:281)
    X      at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    X      at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    X      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    X      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    X      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    X      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    X      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    X      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    X      at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    X      at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    X -----------------------------------------------------------------------------
    Looking at this exception if anyone has got the idea about this problem then please let me know the solution for the same.All suggestions are welcome.
    Thanx and Regards,
    Chirag.

    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

  • 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

  • Re: Running the same (Forte) application multiple times -for different

    Hi
    We had the same problem - how to deploy a number of identical applications, using each their own db.
    (for training).
    The solution we used is to wrap the entire application into different applications by using a very small
    module called KURSUS01, KURSUS02 etc, that did nothing but call the start procedure of the main app.
    Then in the dbsession connect, we made a call appname to get the application name, and appended the
    first 8 chars to the dbname. Thus our dbnames now points to logicals name: rdbdataKURSUS01, rdbdataKURSUS02 etc.
    All this allows us to deploy the identical apps in the same env, or change one version, and run both the old
    and new program on the same pc and server at the same time (eg. KURSUS01 and KURSUS02).
    I also think this is a kludge - but it works nicely!
    Jens Chr
    KAD/Denmark
    -----Original Message-----
    From: Haben, Dirk <[email protected]>
    To: 'Soapbox Forte Users' <[email protected]>
    Date: 15. januar 1999 09:41
    Subject: Running the same (Forte) application multiple times - for different business clients.
    Hi All
    We have a number of different business clients all willing to use our
    application.
    The (forte) application is to run on our machines etc for these (business)
    clients.
    All (business) clients will have their data kept in separate Oracle DBs
    (instance).
    The problem now is that the entire (forte) application is written using
    DBSessions.
    Now, depending on what business client needs to be serviced (so to speak) we
    need to attach to the right DB - or use the "right" SO.
    The two options we can think of are:
    Option1:
    Programatic change to somehow "know" what (business) client (DB) I'm talking
    about and then use the right DB.
    Pro:
    Only one forte environment to maintain
    Can run multiple (business) clients on same PC at the same time
    Con:
    Requires many program changes
    bending O-O rules(?)
    can't dynamically name SOs so can it be done at all? (ResourceMGRs maybe?)
    Option2:
    Use separate environments! One for each business client.
    Pro:
    More defined separation of app and data,
    SLA-easy
    Con:
    Maintain "n" number of environments
    Can only run the application for one environment (business client) at a time
    on one PC - Big Negative here!
    Not knowing any feasible solution to option 1 (without much code changes and
    developer moaning) I would go for option two; as I have already worked on
    multi-environment setups on VMS back at the Hydro (hi guys).
    I would appreciate any comments from anyone who has solved this problem.
    How, Why Pro Con etc.
    TIA,
    Dirk Haben
    Perth, WA
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi
    We had the same problem - how to deploy a number of identical applications, using each their own db.
    (for training).
    The solution we used is to wrap the entire application into different applications by using a very small
    module called KURSUS01, KURSUS02 etc, that did nothing but call the start procedure of the main app.
    Then in the dbsession connect, we made a call appname to get the application name, and appended the
    first 8 chars to the dbname. Thus our dbnames now points to logicals name: rdbdataKURSUS01, rdbdataKURSUS02 etc.
    All this allows us to deploy the identical apps in the same env, or change one version, and run both the old
    and new program on the same pc and server at the same time (eg. KURSUS01 and KURSUS02).
    I also think this is a kludge - but it works nicely!
    Jens Chr
    KAD/Denmark
    -----Original Message-----
    From: Haben, Dirk <[email protected]>
    To: 'Soapbox Forte Users' <[email protected]>
    Date: 15. januar 1999 09:41
    Subject: Running the same (Forte) application multiple times - for different business clients.
    Hi All
    We have a number of different business clients all willing to use our
    application.
    The (forte) application is to run on our machines etc for these (business)
    clients.
    All (business) clients will have their data kept in separate Oracle DBs
    (instance).
    The problem now is that the entire (forte) application is written using
    DBSessions.
    Now, depending on what business client needs to be serviced (so to speak) we
    need to attach to the right DB - or use the "right" SO.
    The two options we can think of are:
    Option1:
    Programatic change to somehow "know" what (business) client (DB) I'm talking
    about and then use the right DB.
    Pro:
    Only one forte environment to maintain
    Can run multiple (business) clients on same PC at the same time
    Con:
    Requires many program changes
    bending O-O rules(?)
    can't dynamically name SOs so can it be done at all? (ResourceMGRs maybe?)
    Option2:
    Use separate environments! One for each business client.
    Pro:
    More defined separation of app and data,
    SLA-easy
    Con:
    Maintain "n" number of environments
    Can only run the application for one environment (business client) at a time
    on one PC - Big Negative here!
    Not knowing any feasible solution to option 1 (without much code changes and
    developer moaning) I would go for option two; as I have already worked on
    multi-environment setups on VMS back at the Hydro (hi guys).
    I would appreciate any comments from anyone who has solved this problem.
    How, Why Pro Con etc.
    TIA,
    Dirk Haben
    Perth, WA
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Deploying a WAR file containing .jsp and servlets (also uses JNI)

    Deploying a WAR file containing .jsp and servlets (also uses JNI) on Windows 2000
    We had problems making it initially work on Sun ONE Web Server 6.0 Service Pack 1 because of lack of good iPlanet Web
    Server documentation on deploying such files.
    This is how we went about it:
    1) Make one of the servlet and JSP (must call another Java Class) web application (.war) examples work with iPlanet Web
    Server.
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\HelloWorld\HelloWorld.war
    and
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    a) Go to your Web Server Administration to deploy the application using GUI Web Application Deploy.
    (We usually use command line, we experienced some issues with the GUI version, but maybe it is fixed in the new Web Server
    service packs)
    From browser, open http://yourserver:8888/
    Click on Select a Server:Manage
    Click on Virtual Server Class
    Click on https-yourserver
    Click on the Web Applications Tab
    Then, click on Deploy Web Application
    Enter the following -
    WAR File On: Local
    WAR File Path: C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Application URI: /jakarta
    Installation Directory: c:\iPlanet\examples\jakarta-examples
    By clicking on OK it deployed the application.
    I can verify that it is deployed by selecting "Edit Web Applications" and I see the following entry:
    Edit     /jakarta     c:/iPlanet/examples/jakarta-examples
    Also, c:/iPlanet/examples/jakarta-examples should have the similar following directory structure ..
    - [images]
    - [jsp]
    - index.html
    - [servlets]
    - [META-INF]
    - [WEB-INF]
    - [classes]
    - [tlds]
    - web.xml
    - index.html
    I restarted the server and accessed it using the following URL from my IE browser:
    http://yourserver/jakarta/index.html
    Then I clicked on the JSP Examples and tried some JSP examples.
    b) Alternatively, you can also deploy the same example from the command-line.
    Make sure C:\iPlanet\Servers\bin\https\httpadmin\bin\ is in your path
    wdeploy deploy      -u /jakarta
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\jakarta-examples
              C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Restart the web server (I don't think you have to restart, but .. might as well).
    2)Deploy your web-application
    My Foo.war has the following structure.
    You can use jar tf Foo.war to look at the file contents from command line (assuming you have JDK installed and the bin is
    in your PATH)
    Foo.war
    - [META-INF]
    - [WEB-INF]
    - web.xml
    - [classes]
    - Bar.class
    - MoServlet.class
    - [lib]
    - ThirdParty.jar
    - [natlib]
    - extlib.dll
    - foo.jsp
    Here is our application scenario:
    foo.jsp uses a class call Bar (it is not in any package). The Bar java class uses classes from ThirdParty.jar. The
    ThirdParty.jar in turn uses JNI to load library extlib.dll. foo.jsp also calls /servlet/Mo as well.
    Now to deploy it, do the following:
    (a) Make sure that within foo.jsp, you import the Bar class ( I don't know why you have to do it, but if you don't you get
    JSP compile error).
    <%@page language="java" import="Bar" contentType="text/html"%>
    (b) Check web.xml (for Servlets)
    Within web.xml, make sure you have the following mappings:
    <servlet>
    <servlet-name> MoLink </servlet-name>
    <servlet-class> MoServlet </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name> MoLink </servlet-name>
    <url-pattern> /servlet/Mo </url-pattern>
    </servlet-mapping>
    (c) Deploy the application
    Using command line:
    wdeploy deploy      -u /foo
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\foo-dir
              Foo.war
    (d) Change web-apps.xml file (for picking up ThirdParty.jar)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    You should see something similar to following after successful deployment.
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true"/>
    Change it to look like following to pick up the ThirdParty.jar
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true">
    <class-loader reload-interval="300"
              classpath="C:/iPlanet/examples/foo-dir/WEB-INF/lib/ThirdParty.jar"
              delegate="false"/>
    </web-app>
    (e) Change jvm12.conf file (for JNI)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    Add or uncomment the following lines:
    #optional - just helps with instrumenting the jsp and servlet code
    jvm.include.CLASSPATH=1
    jvm.enableDebug=1
    nes.jsp.enabledebug=1
    jvm.trace=7
    jvm.verboseMode=1
    #required for JNI
    java.compiler=NONE
    jvm.classpath=.;C:\JDK1.3.1\lib\tools.jar;C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;
    jvm.option=-Xrs
    jvm.option=-Xnoagent
    # not sure if this is needed for iPlanet web server
    jvm.option=-Djava.library.path=C:/iPlanet/examples/foo-dir/natlib/ -Djava.compiler=NONE
    (f) Change magnus.conf file (for JNI)
    We HAD to change this file in order for ThirdParty.jar file to pick up the native C++ code using JNI. Apparently, the
    iPlanet Web Server doesn't pick the Environment Variable Path. Because when we had the directory containing the DLL just
    in Path, it didn't work.
    Change Extrapath directive:
    ExtraPath C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    to
    ExtraPath c:/iPlanet/examples/foo-dir/natlib;C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    (g) Apply changes from the Web Server Administration Console and Restart the web server.
    You should be able to see the behaviour that you want from your application.
    http://yourserver/foo/foo.jsp
    Hope this was helpful!!!
    Sonu

    Deploying a WAR file containing .jsp and servlets (also uses JNI) on Windows 2000
    We had problems making it initially work on Sun ONE Web Server 6.0 Service Pack 1 because of lack of good iPlanet Web
    Server documentation on deploying such files.
    This is how we went about it:
    1) Make one of the servlet and JSP (must call another Java Class) web application (.war) examples work with iPlanet Web
    Server.
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\HelloWorld\HelloWorld.war
    and
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    a) Go to your Web Server Administration to deploy the application using GUI Web Application Deploy.
    (We usually use command line, we experienced some issues with the GUI version, but maybe it is fixed in the new Web Server
    service packs)
    From browser, open http://yourserver:8888/
    Click on Select a Server:Manage
    Click on Virtual Server Class
    Click on https-yourserver
    Click on the Web Applications Tab
    Then, click on Deploy Web Application
    Enter the following -
    WAR File On: Local
    WAR File Path: C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Application URI: /jakarta
    Installation Directory: c:\iPlanet\examples\jakarta-examples
    By clicking on OK it deployed the application.
    I can verify that it is deployed by selecting "Edit Web Applications" and I see the following entry:
    Edit     /jakarta     c:/iPlanet/examples/jakarta-examples
    Also, c:/iPlanet/examples/jakarta-examples should have the similar following directory structure ..
    - [images]
    - [jsp]
    - index.html
    - [servlets]
    - [META-INF]
    - [WEB-INF]
    - [classes]
    - [tlds]
    - web.xml
    - index.html
    I restarted the server and accessed it using the following URL from my IE browser:
    http://yourserver/jakarta/index.html
    Then I clicked on the JSP Examples and tried some JSP examples.
    b) Alternatively, you can also deploy the same example from the command-line.
    Make sure C:\iPlanet\Servers\bin\https\httpadmin\bin\ is in your path
    wdeploy deploy      -u /jakarta
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\jakarta-examples
              C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Restart the web server (I don't think you have to restart, but .. might as well).
    2)Deploy your web-application
    My Foo.war has the following structure.
    You can use jar tf Foo.war to look at the file contents from command line (assuming you have JDK installed and the bin is
    in your PATH)
    Foo.war
    - [META-INF]
    - [WEB-INF]
    - web.xml
    - [classes]
    - Bar.class
    - MoServlet.class
    - [lib]
    - ThirdParty.jar
    - [natlib]
    - extlib.dll
    - foo.jsp
    Here is our application scenario:
    foo.jsp uses a class call Bar (it is not in any package). The Bar java class uses classes from ThirdParty.jar. The
    ThirdParty.jar in turn uses JNI to load library extlib.dll. foo.jsp also calls /servlet/Mo as well.
    Now to deploy it, do the following:
    (a) Make sure that within foo.jsp, you import the Bar class ( I don't know why you have to do it, but if you don't you get
    JSP compile error).
    <%@page language="java" import="Bar" contentType="text/html"%>
    (b) Check web.xml (for Servlets)
    Within web.xml, make sure you have the following mappings:
    <servlet>
    <servlet-name> MoLink </servlet-name>
    <servlet-class> MoServlet </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name> MoLink </servlet-name>
    <url-pattern> /servlet/Mo </url-pattern>
    </servlet-mapping>
    (c) Deploy the application
    Using command line:
    wdeploy deploy      -u /foo
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\foo-dir
              Foo.war
    (d) Change web-apps.xml file (for picking up ThirdParty.jar)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    You should see something similar to following after successful deployment.
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true"/>
    Change it to look like following to pick up the ThirdParty.jar
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true">
    <class-loader reload-interval="300"
              classpath="C:/iPlanet/examples/foo-dir/WEB-INF/lib/ThirdParty.jar"
              delegate="false"/>
    </web-app>
    (e) Change jvm12.conf file (for JNI)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    Add or uncomment the following lines:
    #optional - just helps with instrumenting the jsp and servlet code
    jvm.include.CLASSPATH=1
    jvm.enableDebug=1
    nes.jsp.enabledebug=1
    jvm.trace=7
    jvm.verboseMode=1
    #required for JNI
    java.compiler=NONE
    jvm.classpath=.;C:\JDK1.3.1\lib\tools.jar;C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;
    jvm.option=-Xrs
    jvm.option=-Xnoagent
    # not sure if this is needed for iPlanet web server
    jvm.option=-Djava.library.path=C:/iPlanet/examples/foo-dir/natlib/ -Djava.compiler=NONE
    (f) Change magnus.conf file (for JNI)
    We HAD to change this file in order for ThirdParty.jar file to pick up the native C++ code using JNI. Apparently, the
    iPlanet Web Server doesn't pick the Environment Variable Path. Because when we had the directory containing the DLL just
    in Path, it didn't work.
    Change Extrapath directive:
    ExtraPath C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    to
    ExtraPath c:/iPlanet/examples/foo-dir/natlib;C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    (g) Apply changes from the Web Server Administration Console and Restart the web server.
    You should be able to see the behaviour that you want from your application.
    http://yourserver/foo/foo.jsp
    Hope this was helpful!!!
    Sonu

  • 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 have elements 8 and I want to be able to load the same picture in multiple times because

    Question - I have photoshop elements 8 and I want to be able to load the same picture in multiple times because I have 1200 pictures already pregrouped into 60 file categories and some pictures are duplicated thruout these files. How can I get elements 8 to load the duplicates  - it currently seems to default to only loading the picture one time and not allowing duplicates

    The apple lightning to 30 pin works just fine for me.
    Works with a fio amp and srs  iwow.

  • Exceptions on deploying the war file

    Hi,
    On deploying my war file in Weblogic 10.3.4 I get the below Exceptions.
    Could anybody tell the cause and the way to eliminate these?
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminCaptureRootCA
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminCaptureRootCA at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminMain
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminMain at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminLicense
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminLicense at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminJDBC
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminJDBC at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminRealm
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminRealm at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminEvents
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminEvents at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.t3.srvr.ClientAuthenticationServlet
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.t3.srvr.ClientAuthenticationServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminMain
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminMain at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.t3.srvr.HttpProxyServlet
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.t3.srvr.HttpProxyServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminVersion
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminVersion at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminClients
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminClients at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminProps
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminProps at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminThreads
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminThreads at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: utils.certificate
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: utils.certificate at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminConnections
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminConnections at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.servlet.jsp.JSPBuildServlet
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.servlet.jsp.JSPBuildServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminCaptureRootCA
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminCaptureRootCA at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminMain
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminMain at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminLicense
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminLicense at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminJDBC
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminJDBC at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminRealm
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminRealm at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminEvents
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminEvents at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.t3.srvr.ClientAuthenticationServlet
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.t3.srvr.ClientAuthenticationServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminMain
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminMain at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.t3.srvr.HttpProxyServlet
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.t3.srvr.HttpProxyServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminVersion
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminVersion at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminClients
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminClients at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminProps
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminProps at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminThreads
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminThreads at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: utils.certificate
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: utils.certificate at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminConnections
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminConnections at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.servlet.jsp.JSPBuildServlet

    I faced the same problem once i remove the unused mapping tags from the web.xml file my problem is solved
    ex: I have mapping for TestServlet but i dont have TestServlet class in application. So i removed the mapping tags for TestServlet . I am expecting that your problem also same.
    Thanks
    Nagendra

  • 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,

  • ServerDeploymentException when deploying a war file

    Hi,
    I am trying to migrate a small Web application from Websphere to WebAS 6.40 (Release of KW 32).
    When I try to deploy the ear from the Developer Studio (2.06) to my local J2EE engine, the J2EE Server node regularly crashes and restarts. In the server.log, I see this message:
    #1.5#00061BCE1602001F00000106000010E80003E27824EB9DD1#1093430573503#com.sap.engine.services.deploy##com.sap.engine.services.deploy######4352acf0f68311d8aa6800061bce1602#SAPEngine_System_Thread[impl:5]_35##0#0#Error#1#/System/Server#Java#deploy_5099##A deploy callback threw an exception while processing event      Deploy Event:
    action : 3
    action type : 13
    component name : null
    from server : Server 0 0_97947
    message : null
    status unknown
    application components : none
    errors : warnings : .#1#     Deploy Event:
    action : 3
    action type : 13
    component name : null
    from server : Server 0 0_97947
    message : null
    status unknown
    application components : none
    errors : warnings : #
    #1.5#00061BCE1602001F00000107000010E80003E27824EBA234#1093430573503#com.sap.engine.services.deploy##com.sap.engine.services.deploy######4352acf0f68311d8aa6800061bce1602#SAPEngine_System_Thread[impl:5]_35##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.deploy.exceptions.ServerDeploymentException: A deploy callback threw an exception while processing event      Deploy Event:
    action : 3
    action type : 13
    component name : null
    from server : Server 0 0_97947
    message : null
    status unknown
    application components : none
    errors : warnings : .
         at com.sap.engine.services.deploy.server.DeployEventSystem.fireDeployEvent(DeployEventSystem.java:185)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationsInitially(DeployServiceImpl.java:2488)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.clusterElementReady(DeployServiceImpl.java:2338)
         at com.sap.engine.services.deploy.server.ClusterServicesAdapter.containerStarted(ClusterServicesAdapter.java:41)
         at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.processEvent(ContainerEventListenerWrapper.java:141)
         at com.sap.engine.core.service630.container.AdminContainerEventListenerWrapper.processEvent(AdminContainerEventListenerWrapper.java:19)
         at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.run(ContainerEventListenerWrapper.java:101)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)
    Caused by: java.lang.NullPointerException
         at com.sap.bcb.support.DeployEventListener.logEvent(DeployEventListener.java:131)
         at com.sap.bcb.support.DeployEventListener.processApplicationEvent(DeployEventListener.java:94)
         at com.sap.engine.services.deploy.DeployCallbackImpl.processApplicationEvent(DeployCallbackImpl.java:41)
         at com.sap.engine.services.deploy.DeployCallback_Stub.processApplicationEvent(DeployCallback_Stub.java:131)
         at com.sap.engine.services.deploy.server.DeployEventSystem.fireDeployEvent(DeployEventSystem.java:156)
         ... 9 more
    What can cause this NullpointerException?
    I doubt that there is anything wrong in the application itself, since I have no problems deploying the very same war file (there is no vendor specific descriptor) in Weblogic 8.1.
    Is the CSN the right place to post a question like this? Does anybody know to which system and component id to post a CSN message?
    Kind regards,
    Andreas Zehrt

    > Is the CSN the right place to post a question like
    > this? Does anybody know to which system and component
    > id to post a CSN message?
    Definitely yes! Your System is something with 630 or 640 and the component is BC-JAS- something (support will classify it further if possible)
    Regards,
    Benny

  • 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

Maybe you are looking for