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

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

  • Deployment BIB app. to OC4J 9.0.2.0.1

    Hello friends,
    I have Sun Solaris' version of the Oracle9iAS 9.0.2.0.1 with OC4J and standalone OC4J v. 9.0.2 as well, both running on the same machine.
    When deploying sample BIBeans JSP application to Oracle 9iAS with OC4J v.9.0.2.0.1 I received message : Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    The deployment of the same application to the standalone OC4J v. 9.0.2 goes well.
    Could someone help me?

    Did you use Oracle Enterprise Manager (OEM) to deploy the BIBeans JSP application? If so, OEM has a X11 server dependency on all UNIX platforms. You need to either configure your X11 server appropriately or you can try to deploy the application using dcmctl. There's also a chance that the deployment actually took place despite the eror you're getting. You can try dcmctl listApplications to check for all deployed applications. Hope this helps.
    Cheers,
    -lars

  • Failed to add app with security error related with c2wts

    Right now, we are facing some weird issue when adding our app to customer's SharePoint site.  When site collection admin clicks our app to add it, he would get a popup page with title "Access Required" and message "Sorry, you
    don't have access to this page", however he is already site collection admin.
    At the SharePoint logs, we saw the following exceptions:
    SPSecurityContext: Could not retrieve a valid windows identity for username 'company\user' with UPN '[email protected]'. UPN is required when Kerberos constrained delegation is used. Exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: WTS0003: The caller is not authorized to access the service. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.UnauthorizedAccessException: WTS0003: The caller is not authorized to access the service.
    at Microsoft.IdentityModel.WindowsTokenService.CallerSecurity.CheckCaller(WindowsIdentity callerIdentity)
    at Microsoft.IdentityModel.WindowsTokenService.S4UServiceContract.PerformLogon(Func`1 logonOperation, Int32 pid)
    at SyncInvokeUpnLogon(Object , Object[] , Object[] )
    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet))..
    (note, I changed the user name to some generic name there)
    after that, we also saw another exception:
    No windows identity for company\user
    Access Denied. Exception: Attempted to perform an unauthorized operation., StackTrace:
    at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(Exception ex)
    at Microsoft.SharePoint.SPAppPrincipalPermissionsManager.UpdateAppOnlyPolicy(SPAppPrincipalInfo appPrincipal, Boolean allowAppOnlyPolicy)
    at Microsoft.SharePoint.ApplicationPages.AppAuthorizePageBase.GrantAppAccess()
    at Microsoft.SharePoint.ApplicationPages.AppInvPage.BtnAllow_Click(Object sender, EventArgs e)
    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
    at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) .
    I did some reading over the SharePoint code and also searched over internet, I found out this link:
    Adding App Causes Security Error where the similar error is thrown as well and he fixed the issue by reconfiguring the c2wts services.  His issue is slightly different from mine. In his case, end users won't be able to add in the first time
    and they would get "You Can't Add This App Here" message while in our case the error is thrown during adding the app.
    Why we would need the c2wts services here for adding an app if user is already logged in SharePoint via windows authentication?  Could someone confirm that would be the root cause for this failure since I also see the stack related " at Microsoft.SharePoint.SPAppPrincipalPermissionsManager.UpdateAppOnlyPolicy(SPAppPrincipalInfo
    appPrincipal, Boolean allowAppOnlyPolicy)", just wonder if AppOnlyPolicy=true which our app requires has anything to do with this as well. Again, I could not find anything related article about that specific configuration is required to allow app with
    AppOnlyPolicy.
    Another weird thing is that it only happens at sites with managed path. At root site, the app could be added without any problem.
    Any suggestions are highly welcome and really appreciated. This is on a big customer. :-) Thanks in advance for your insights.

    This issue can occur when you change the name of the "Application Name" within Visual Studio, then deploy to BizTalk with the new name.  Problems is the DLLs are still assocaited with that earlier deployment name in BizTalk.  So go into BizTalk
    Admin Console, then navigate to:  BizTalk Group - Applications - Then for each application check the "Resources" folder.  Under one of these folders you should see your DLLs are already assigned to one of these other BTS apps.  So you need to
    delete the resources from the app (or delete the other apps) then your new deployment name will work.

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

  • Instant Deployment of Projects with OC4J

    Hi ,
    can any body explain how does JDeveloper runs my Web / Enetrprise application instantly ; i mean without generating Jar , War file and deploy it on the OC4J , and how can i use the same behavior connecting Other IDE's (eclips based) with the standalone OC4J !!! ,
    Regards ,

    Hello,
    JDeveloper is using the development features of OC4J for deployment that are documented here:
    - Key OC4J Flags for Development
    But i personnally always prefer to deploy/test/debug my application as a WAR/EAR except when it is really really big to be sure I am in the same environment than the real target.
    Regards
    Tugdual Grall

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

  • Failing to start app with HCP runtime version 2.30

    Hello,
    This morning I have been unable to deploy and start an instance of my web app under newly released version 2.30 of the HANA Cloud Platform runtime.  Whilst the application appeared to be in status Started in the cockpit, trying to access it returned the "Service Unavailable" page.  I could not see any errors in the logs.  I tried deploying again, this time requesting runtime version 2.29 and everything was fine again.
    Likewise, simply trying to restart another instance, that was running fine yesterday under version 2.29, failed this morning under version 2.30.  Once again I resolved this by re-deploying the same WAR requesting version 2.29.
    Looks like there may be some issue with version 2.30.
    Cheers,
    Scott

    Hi Scott,
    Currently the latest runtime version is 2.34 - do you still face issues?
    If yes, please share logs as requested by Nikolai; if not, please take care to update this thread and eventually close it.
    Cheers,
    --Vlado (Moderator)

  • Bc4j.xcfg, database connections and deploying ADF apps to oc4j

    I'm trying to understand how to enable custom database connections on a JDeveloper ADF application deployed to a stand-alone instance of OC4J.
    All entity objects were created as ADF Business Components.
    I looks like the db connection information used by the application is stored in a file named "bc4j.xcfg".
    How would I change the database connection information between different environments, changing the server, port and password information from an OC4J instance?
    I'd like to use an OC4J defined data-sources.xml file, but am looking for the simplest approach for now.

    Tomato tomaato, call it what you will, we now have to spend time (money) figuring out how to change from using the recommended use of a "connection" from Oracle tutorials and in Oracle Press books.
    Plus, neither I nor our client can get JDeveloper ADF 10.1.3 to work on OAS 10.1.2.
    Oracle has been of little help, other than stating to follow documentation. We followed the documentation at least a dozen times and on three different install of OAS 10.1.2.
    Why doesn't JDeveloper have a check-box or button that reconfigures the application to run on 10.1.2 (J2EE 1.3), there is a check-box to change JDK versions (1.4)? This is suspect to me.
    We are going to be speaking with the client this week, and have to state the ADF application works, but NOT on OAS 10.1.2.
    Does ADF work on OAS 10.1.3, absolutely, but the client is in 10.1.2 and can not upgrade at this time.
    I've read in blogs where lots of developers have the same issues without resolution and Oracle should just come out and state that 10.1.3 does not work on 10.1.2.
    So my experience has been a mixed bag with ADF, both in terms of the software and customer support from Oracle.

  • Deploying multiple apps on OC4J

    I am wondering what are "best practices" for deploying multiple applications using the standalone OC4J server. I was thinking of using one OC4J instance to deploy J2EE applications, but was recently informed that if any of the applications raise an unhandled exception or has memory leaks, then all applications will fail or slow down. Can I get some documentation or suggestions on how to approach this? Thanks in advance. Dan

    Yes, it is possible (and common) to run multiple WLS instances on the same physical hardware.
              It is also possible to run multiple applications within WLS.
              There are trade-offs both ways. WLS does offer some features to better allow isolation within the server. Specifically WLS 6.x and later allow configuring separate thread pools (and sizing them based on application priority). WLS 9.x supports this and a variety of further extensions based on WorkManager. I'd suggest searching for those topics in our docs.
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

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

  • 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

Maybe you are looking for

  • How do I set up calendar events that will be for another time zone? My events shift once I travel

    How do I set up calendar events that will be for another time zone? My events shift once I travel. The same is true when I am traveling and in another time zone, how do I best set up my events so they are in the correct time slot upon my return?

  • Partial Budget C/F

    Dear All, I am carryforwarding Internal Order budget with Tcode : KOCO / KOCF and working fine. Now i want to transfer Part budget amount  to carryforward. i.e for e.g  i have balance budget Rs. 50000/- for F.Y 2009 and i want to transfer only RS. 20

  • Converting word file into PDF creates exclamation marks

    Hi, I have Word 2007 and Acrobat 8.1.7 (OS: Windows XP). When creating PDFs in Word i get exclamation marks at the end of a header, footer and body itself. I tried rebuilding font cache but that didn't help. I also uninstalled all Adobe components an

  • Checking FDD

    Hello, I installed the Enterprise Manager with no problem. Since that, whenever I start the console service, it starts checking my floppy disk drive. It makes an annoying noise and doesn't really speed up the system I guess. I tried to find some rele

  • Macbook pro does not shut down or restart

    i have mid 2009 macbook pro. After i installed mavericks on it, everytime i let my computer stay on for more than 2 hrs or if i put it to sleep, it does not let me open any application. And also it doesnt restart or shut down. I can't copy, erase or