Deploying an app with JavaDB

Hi there,
Ive gone through a tutorial on using JavaDB/Derby and ive been able to install JavaDB and create a basic app that uses a db. My question, is how do you deploy the app onto computers that dont have JavaDB? I know it will uses embedded JavaDB but how exactly do I do that on a computer that doesn't have it installed?
I cant seem to find any tutorials covering that. The only ones ive found show examples where JavaDB is installed. I thought the point of embedding it was that you could distribute your app standalone?
Thanks.

RisseN wrote:
Hi,
So just to make sure I understand you correctly, I will have to package the JavaDB/Derby installer with my application?Thought I made it clear, JavaDB is not the same as Derby.
You can't install JavaDB - it is part of the Sun 1.6.
So if and only if you use Derby then you can either put it in your installer or make it a requirement for your installer.
So if and only if you use JavaDB then you can either put 1.6 in your installer or make it a requirement for your installer.
>
When I installed JavaDB on my machine, I had to set the DERBY_INSTALL variable and set embedded mode by setting the classpath. Now how does all of that get done if im distributing my app to users who just want to click on an install button and then be ready to use the app? I dont want them having to do all of that.Installation questions are based on what you are using for an installer. And they don't need to be specific to the rest of your question.
But if you install something then you must install it completely such that your application will use it correctly. Or provide the user with manual instructions on how to do that themselves.

Similar Messages

  • Deploying Phone Apps with our employees

    Dear all, first of all, I am quiet new. I've developed a internal news application just for our company employees. However, I am having trouble with deploying this app with our employees' phones. This app must be installed by only our employees' Windows
    phones. How can I handle this? Also, we have System Center Configuration Manager(SCCM). Thanks in advance..
    Omnipotent

    You need to create private store in you organization, and enroll device with your MDM server.
    Please check this link: Developing Company hub application.
    -RomeshDB

  • Can't deploy j2ee app with EJBs

    Hi;
    I have installed Web Logic and have successfully deployed a servlet based app
    and a jsp based app. However, when I go to deploy an EJB based app (with servlets
    & JSPs too), I get the following error:
    ####<Apr 2, 2004 5:06:03 PM MST> <Notice> <Security> <belle> <myserver> <main>
    <<WLS Kernel>> <> <BEA-090082> <Security initializing using security realm myrealm.>
    ####<Apr 2, 2004 5:06:04 PM MST> <Notice> <WebLogicServer> <belle> <myserver>
    <main> <<WLS Kernel>> <> <BEA-000327> <Starting WebLogic Admin Server "myserver"
    for domain "mydomain">
    ####<Apr 2, 2004 5:06:11 PM MST> <Notice> <WebLogicServer> <belle> <myserver>
    <ListenThread.Default> <<WLS Kernel>> <> <BEA-000355> <Thread "ListenThread.Default"
    listening on port 7001, ip address *.*>
    ####<Apr 2, 2004 5:06:11 PM MST> <Notice> <WebLogicServer> <belle> <myserver>
    <main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
    ####<Apr 2, 2004 5:06:59 PM MST> <Warning> <Deployer> <belle> <myserver> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149004> <Failures
    were detected while initiating Deploy task for application store.>
    ####<Apr 2, 2004 5:06:59 PM MST> <Error> <Deployer> <belle> <myserver> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149201> <Failed
    to complete the deployment task with ID 0 for the application store.
    java.lang.ArrayIndexOutOfBoundsException: 6
         at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:222)
         at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:97)
         at weblogic.ejb20.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:802)
         at weblogic.ejb20.deployer.EJBModule.loadDescriptor(EJBModule.java:423)
         at weblogic.j2ee.J2EEApplicationContainer.loadDescriptors(J2EEApplicationContainer.java:1359)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1184)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    weblogic.management.ManagementException: - with nested exception:
    [java.lang.ArrayIndexOutOfBoundsException: 6]
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2523)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    any ideas?
    thanks - dave

    Hi;
    I have installed Web Logic and have successfully deployed a servlet based app
    and a jsp based app. However, when I go to deploy an EJB based app (with servlets
    & JSPs too), I get the following error:
    ####<Apr 2, 2004 5:06:03 PM MST> <Notice> <Security> <belle> <myserver> <main>
    <<WLS Kernel>> <> <BEA-090082> <Security initializing using security realm myrealm.>
    ####<Apr 2, 2004 5:06:04 PM MST> <Notice> <WebLogicServer> <belle> <myserver>
    <main> <<WLS Kernel>> <> <BEA-000327> <Starting WebLogic Admin Server "myserver"
    for domain "mydomain">
    ####<Apr 2, 2004 5:06:11 PM MST> <Notice> <WebLogicServer> <belle> <myserver>
    <ListenThread.Default> <<WLS Kernel>> <> <BEA-000355> <Thread "ListenThread.Default"
    listening on port 7001, ip address *.*>
    ####<Apr 2, 2004 5:06:11 PM MST> <Notice> <WebLogicServer> <belle> <myserver>
    <main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
    ####<Apr 2, 2004 5:06:59 PM MST> <Warning> <Deployer> <belle> <myserver> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149004> <Failures
    were detected while initiating Deploy task for application store.>
    ####<Apr 2, 2004 5:06:59 PM MST> <Error> <Deployer> <belle> <myserver> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149201> <Failed
    to complete the deployment task with ID 0 for the application store.
    java.lang.ArrayIndexOutOfBoundsException: 6
         at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:222)
         at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:97)
         at weblogic.ejb20.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:802)
         at weblogic.ejb20.deployer.EJBModule.loadDescriptor(EJBModule.java:423)
         at weblogic.j2ee.J2EEApplicationContainer.loadDescriptors(J2EEApplicationContainer.java:1359)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1184)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    weblogic.management.ManagementException: - with nested exception:
    [java.lang.ArrayIndexOutOfBoundsException: 6]
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2523)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    any ideas?
    thanks - dave

  • How to deploy an app with servlet and background processing

    i have a servlet with background processing. it has to run 24 hours a day.
    but i have problem with shutdown (after 1-2 hours without user action). [9iAS 9.0.3.0, windows 2000]
    i created for application seperate OC4J (in the EM) and i deployed it there. first time as war file, later as ear file (because there is possible to re-deploy only ear file).
    but it seems that the servlets are not designated to run as a uninterruptible task.
    the question is: how to deploy such (servlet + uninterruptible background processing) application in the 9iAS?
    a) everything in the OC4J (then how to disable shutdown?)
    b) servlet in the OC4J. where (and how) to install the rest of application?
    b1) servlet in the OC4J + rmi/soap/... + standalone server?
    what is the standard in the oracle world :) ?
    thanks

    Better to post your topic in the iPad in the Enterprise community.
    This is the, "Using Mac App Store" forum and for the most part for troubleshooting the App Store.

  • Can't deploy web app with resource: New source location

              I can't deploy a web app (.war) if I already have a resource (.rar) deployed, weblogic
              7.0 reports
              weblogic.management.ManagementException: New source location, C:\projects\j2ee\dev\ra\dist\rware.war,
              cannot be deployed to configured application, rware. Application source is at
              C:\projects\j2ee\dev\ra\dist.
                   at weblogic.management.deploy.DeployerRuntime.validatePath(DeployerRuntime.java:786)
                   at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:319)
                   at weblogic.management.deploy.DeployerRuntime.access$0(DeployerRuntime.java:282)
                   at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:947)
              The resource works ok, and the web app does not use or reference
              the resource (it's a simple servlet that just displays a message), so why is there
              an interdependence?
              

              Thanks! We'll follow up on this.
              >
              >I discovered the cause - the .war and .rar both had the same
              >filename root, i.e. myFilename.war and myFilename.rar. I
              >solved the problem by changing the .war to myFilenameWeb.war.
              >
              >And yes, this is with WLS 7.0.
              >
              >"Deb June" <[email protected]> wrote:
              >>
              >>Hi Glen,
              >>
              >>Could you please describe the steps that you took to get this?
              >>
              >>Thanks!
              >>
              >>P.S. For others looking at this - it looks like this is using WLS 7.0.
              >>
              >>>
              >>>I can't deploy a web app (.war) if I already have a resource (.rar)
              >>deployed,
              >>>weblogic
              >>>7.0 reports
              >>>
              >>>weblogic.management.ManagementException: New source location, C:\projects\j2ee\dev\ra\dist\rware.war,
              >>>cannot be deployed to configured application, rware. Application source
              >>>is at
              >>>C:\projects\j2ee\dev\ra\dist.
              >>>     at weblogic.management.deploy.DeployerRuntime.validatePath(DeployerRuntime.java:786)
              >>>     at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:319)
              >>>     at weblogic.management.deploy.DeployerRuntime.access$0(DeployerRuntime.java:282)
              >>>     at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:947)
              >>>
              >>>The resource works ok, and the web app does not use or reference
              >>>the resource (it's a simple servlet that just displays a message),
              >so
              >>>why is there
              >>>an interdependence?
              >>
              >
              

  • Deploy war app with correct default context root

    Hi
    Am using Weblogic 9.2 Appserver.
    When I deploy a war file, I see that the war is exploded in ...domains/domain1/servers/<server-name>/tmp/_WL_user/<application-name>/<random-string>/war/.
    I would like that when I deploy the war app, WL pick up the context root from the name of the webarchive.
    At present this is not happening, and WL uses as default context root the name of the folder that holds the contents of the exploded archive.
    This is the case, even when I go with the no staging option, i.e. specify that the source not be copied and will be available from a specific location. WL still explodes the archive in the above-mentioned dir, and uses "war" as the default context.
    How can I get around this ?

    I'm closing this post.
    What I really wanted to ask is at http://forums.bea.com/bea/thread.jspa?forumID=2017&threadID=400004071 .

  • Deploying an app with JavaHelp

    Hi
    i'm trying to distribute my freeware app that contians JavaHelp functionality and it all works fine apart from the JavaHelp. I get the error "java.lang.NoClassDefFoundError: javax/help/HelpBroker.
    I tried adding jh.jar to my CLASSPATH etc but it sill won't work on my test machine. Could anyone help?
    Thanks.

    Your test machine needs to have the jhall.jar file in the jre/lib/ext/
    You need to deploy this with your app. Anyone who knows how to do this, I would appreciate if you could tell me...

  • Fail deploying firt app with OC4J

    Hi friends i am new with OC4J, I try to deploy my first J2EE application with OC4J 10g as described in oc4j manuel but i get this error :
    Error instantiating application 'publipostage' at file:/C:/javatools/oc4j10g/j2ee/home/applications/publipostage.ear: Error initializing ejb-module; Exception null
    Can any one help me solving problem? Thanks a lot.

    Hello,
    Could you give a little more information about your deployment:
    - which version of OracleAS are you using? (java -jar oc4j.jar -version in the $ORACLE_HOME/j2ee/home directory)
    - do you have a complete stack trace ?
    - whichkind of EJB are you deploying?
    Regards
    Tugdual

  • Deploying an App with 'Documents and Data'?

    Hi All,
    I need to setup 10 iPads with a few applications - using iTunes to restore these iPads rather than download each application 10 times. One application seems to be a launcher for several applications within it that you need to 'Download' within the app ('Mercedes-Benz App'). All these internal downloads add up to approximately 7GB - so I don't want to download it 10 times!
    An iTunes backup doesn't seem to backup these 'Downloads' - Can anyone provide any tips here?
    Thank you!

    This forum is for the Sun Java System Web Server, not the Sun Java System Application Server. You will likely have better success by posting your question to the Application Server forum(s) at:
    http://forum.java.sun.com/category.jspa?categoryID=109

  • Deploying web app with visual web jsf

    i uploaded the war file to the server and it unpacked...but i get this when trying to access the first page
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: java.lang.NoClassDefFoundError
    javax/faces/webapp/UIComponentTag
    Possible Source of Error:
    Class Name: java.lang.ClassLoader
    File Name: ClassLoader.java
    Method Name: defineClass1
    Line Number: -2
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    java.lang.ClassLoader.defineClass1(ClassLoader.java:-2)
    java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
    org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
    org.apache.jasper.compiler.JspDocumentParser.parseCustomAction(JspDocumentParser.java:1135)
    org.apache.jasper.compiler.JspDocumentParser.startElement(JspDocumentParser.java:388)
    org.apache.xerces.parsers.AbstractSAXParser.startElement( Unknown Source )
    org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement( Unknown Source )
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source )
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument( Unknown Source )
    org.apache.xerces.parsers.XML11Configuration.parse( Unknown Source )
    org.apache.xerces.parsers.XML11Configuration.parse( Unknown Source )
    org.apache.xerces.parsers.XMLParser.parse( Unknown Source )
    org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown Source )
    javax.xml.parsers.SAXParser.parse( Unknown Source )
    org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:170)
    org.apache.jasper.compiler.ParserController.doParse(ParserController.java:197)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    sun.reflect.GeneratedMethodAccessor224.invoke( Unknown Source )
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239).....
    theres more but it was too long to post

    Moyer21 wrote:
    Exception Details: java.lang.NoClassDefFoundError
    javax/faces/webapp/UIComponentTagThe mentioned class is missing in the classpath. It's part of JSF API. Add the JAR's of the JSF API as well as the used JSF implementation to the classpath. I suppose that your development environment has those JAR's in the server's default classpath (the /appserverinstallation/lib or whatever, depending on the appserver used) instead of in the webapp's default classpath (the /WEB-INF/lib) and that your production environment (or whatever you deployed to) didn't have those JAR's in the server's default classpath.

  • Error occurred in deployment step 'Install app for SharePoint': The provided App differs from another App with the same version and product ID.

    I am facing this problem while start debugging the Provider-Hosted app through VS2013. I want to deploy the app with same version. So please let me know any solution
    to remove the app instance from office365 online, so that I can deploy the same app with same version on the specified "Developer Site".
    Note: If I change the version in AppManifesst.xml file then this problem/error gets resolved. But I want to deploy with the same version as
    per my business requirement.
    The actual error renders while I click to "Start" button of the Visual Studio 2013 to deploy the provider-hosted app, for the sake
    to deploying it on say "ABC" site collection (i.e. developer site). I work on office365 online. Therefore, request you to please provide the solution for SharePoint online office 365. The occurrences is:
    "Error occurred in deployment step 'Install app for SharePoint': The provided App differs from another App with the
    same version and product ID."
    Please assist me anyone. It will be so kind of you.....
    Naveen Kumar
    Steria India Ltd.

    Did you updated the  AppManifest.xml file
    and change the version.
    If this helped you resolve your issue, please mark it Answered

  • Error while deploying Spring PetClinic Demo App(with Toplink OR )on OC4J

    Hi All,
    I am trying to deploy sample app provided with spring framework on oc4j with Toplink as my OR layer, but i am facing issues with the deployment
    App fails to start with error finding "org.springframework.orm.toplink.support.CommonsLoggingSessionLog"
    this is found in toplink-applicatio context.xml file
    i found that this class is missing in spring framework.
    please help to get the jar files
    Thanks
    Raghavendra

    i got the class files. actually in 10.1.3 these class files are put in a different jar file spring-toplink.jar
    The Main issue here is that 10.1.3 toplink production is yet to be integrated into spring 2.
    petClinic will work fine if we use 10.1.3 developer preview edition
    Thanks
    Raghavendra

  • SharePoint 365 Deploy App -- "another App with the same version and product ID."

    Hi all
    When I want to deploy App I got this message:
    2>Active Deployment Configuration: Deploy App for SharePoint
    2>  Skipping deployment step because a pre-deployment command is not specified.
    2>  Skipping the uninstall step because the app for SharePoint is not installed on the server.
    2>  Install app for SharePoint:
    2>  Uploading the app for SharePoint...
    2>Error occurred in deployment step 'Install app for SharePoint': The provided App differs from another App with the same version and product ID.
    If the App exist why it doesn't uninstall it. And also its not possible to Retract:
    Skipping the uninstall step because the app for SharePoint is not installed on the server.
    I solved my problem by changing ProductID manually but I don't want to make the server with dirty small apps.
    Any idea?
    Thanks

    Hi,
    Check the Site URL in project properties to which the app is installed.
    You have to choose the right path first where the app is installed and then Build>Retract.
    Then change the path to new one and try build. It looks like you are trying to retract from wrong Site URL.
    Thanks
    Jashandeep K

  • Deploying a web app with errors

    Good day,
    We are migrating an older application into a WebLogic Portal 10.2 environment. We have Ant scripts to do the deployment from the command line but we want to use the Workspace Studio capabilities to deploy JSP changes to the application. The problem is that the application was architected to dynamically include JSP fragments into other JSPs. These fragments have objects defined in other JSPs and therefore show up with errors in the problems tab in Eclipse.
    Is there a way to force an application to deploy even in this case or do we have to keep deploying/redeploying from the command line? This takes much longer than pushing the single files so this is why we are trying to figure out how to do it within the tool.
    Thanks,
    Sean

    I have created a web application and have a jsp host.
    I have 2 questions:
    1-How do I deploy to the host. please explain. is this host a 3rd party? if so, ask them.
    if the host is tomcat running on a machine that you have control of, create a WAR file and put it in the /webapps directory.
    >
    2-I also want to add a tomcat realm and have been
    told to edit the server.xml file and web.xml file you should not edit the server.xml. just put a WAR file in the /webapps directory. no need to edit server.xml.
    web.xml is part of the standard web app deployment. your app should have one, and it needs to be in the WEB-INF directory.
    are these found on the host??
    please offer a confused guy some helpYou should read "My First Web App" on the Tomcat page.
    %

  • DEPLOY APP WITH JPS IN WebLogic Server: 10.3.4.0

    Hi Experts,
    When i add the JPS security for my ADF app with the grants configuration and while deploying an ADF application in WebLogic Server: 10.3.4.0, I am getting the following message:
    java.security.AccessControlException: access denied (oracle.security.jps.JpsPermission AppSecurityContext.setApplicationID.null)
    Caused By: java.security.AccessControlException: access denied (oracle.security.jps.JpsPermission AppSecurityContext.setApplicationID.null)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
         at java.security.AccessController.checkPermission(AccessController.java:546)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:350)
         at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:270)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$6.checkPermission(JpsAuth.java:375)
         at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:410)
         at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:433)
         at oracle.security.jps.internal.api.runtime.AppSecurityContext.setApplicationID(AppSecurityContext.java:84)
         at oracle.security.jps.internal.common.util.SetApplicationIDAction.run(SetApplicationIDAction.java:40)
         at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalPreRegister(JpsJmxInterceptor.java:486)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPreRegister(DefaultMBeanInterceptor.java:81)
         at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalPreRegister(ContextClassLoaderMBeanInterceptor.java:150)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPreRegister(DefaultMBeanInterceptor.java:81)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.generic.spi.interceptors.BasePublicMBeanInterceptor.internalPreRegister(BasePublicMBeanInterceptor.java:110)
         at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalPreRegister(LoggingMBeanInterceptor.java:633)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.preRegister(OracleStandardEmitterMBean.java:611)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:445)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:462)
         at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor$1.run(PrivilegedMBeanServerInterceptor.java:55)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor.registerMBean(PrivilegedMBeanServerInterceptor.java:60)
         at oracle.mds.internal.lcm.MDSLifecycleListenerImpl.start(MDSLifecycleListenerImpl.java:180)
         at oracle.mds.lcm.weblogic.WLLifecycleListener.preStart(WLLifecycleListener.java:77)
         at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
         at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:62)
         at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:284)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:614)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.createAndPrepareContainer(StartOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doPrepare(StartOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:47)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Someone know, how to fix this issue?
    You need to set something in the weblogic server?
    Currently I have a set in the security domain users myrealm used in the application.

    i get very similar error trying to deploy to a managed server in weblogic (not to the default managed server) weblogic 10.3.5 jdeveloper 11.1.2.1.

Maybe you are looking for

  • J2ME app doesn't open more than 2 internet connections

    Hi, I'm developing an application which has to access three web pages for which I use (InputStream) Connector.openInputStream(URL);Two times everything works fine, but when the third method which opens a connection is called, in 9 out of 10 tries the

  • IPhone 4 went to update in iTunes, error message popped up and now iTunes refuses to recognize the phone

    The other day my iMesasges stopped working so I plugged my phone into my laptop (windows) to update through iTunes. I tried to update it, but when the update was almost done an error message popped up. Now the phone will only turn on with the plug in

  • Using Special characters in Insert statement

    Hi All, I want to insert special characters in my table. Here is my query insert into COM_TAB(TAB_COMMENTS) VALUES('ADAM'S FARM & FARM-GANG APPLE GOOGLE') .Please help.Also tel me is there any method to handle special characters like using ascci valu

  • QUery retrieving based on previous and after rows.. pls help

      CREATE TABLE "POP"."RP06"    (     "NUM" NUMBER(7,0),      "SEQ_LINE" NUMBER(7,0),      "CHMP" VARCHAR2(4000 BYTE) Insert into RP06 (NUM,SEQ_LINE,CHMP) values (100,1,'( '); Insert into RP06 (NUM,SEQ_LINE,CHMP) values (100,2,'ORACLE  IS  GREAT'); In

  • Remote speaker not compatible

    So I just tried to use iTunes to stream music to my remote speaker, which I've had connected and been using without problems for many years. I have upgraded to iTunes 7.2, but I did this awhile ago. Nevertheless, I got the following error message whe