Problems deploying SQLJ Files

System: Windows NT4 SP6, JDEV 3.0, OAS 4.0.7, Oracle 8.1.5 EE
I've attempting to run the ACME Video sample web application for
Oracle 8i using JDEV 3.0. Everything goes well until the point
of Deploying the SQLJ Files Used by the Rentals EJB. I've
followed the directions religiously, but I get the following
error. What am I doing wrong? Much appreciation for any
information that you super gurus can give.
Sherman
*** Executing deployment profile C:\Program
Files\Oracle\JDeveloper 3.0
\samples\acmevideo\ejb\server\SQLJ.prf ***
*** Generating archive file C:\Program Files\Oracle\JDeveloper
3.0\myclasses\SQLJ_Untitled1.jar ***
Compiling the project...done
Validating the profile...done
Initializing deployment...done
Scanning project files...done
Generating classpath dependencies...done
Generating archive entries table...done
*** Archive generation completed ***
*** Loading archive C:\Program Files\Oracle\JDeveloper 3.0
\myclasses\SQLJ_Untitled1.jar into JServer using JDBC ***
Load Java argument list:
"C:\Program Files\Oracle\JDeveloper 3.0\java\bin\javaw"
"-DPATH=C:\Program Files\Oracle\JDeveloper 3.0\bin;C:\Program
Files\Oracle\JDeveloper 3.0\java\bin"
-classpath
"C:\Program Files\Oracle\JDeveloper 3.0
\java\lib\classes.zip;C:\Program Files\Oracle\JDeveloper 3.0
\lib\jdeveloper.zip;C:\Program Files\Oracle\JDeveloper 3.0
\myclasses;C:\Program Files\Oracle\JDeveloper 3.0
\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.0
\jdbc\lib\oracle8.1.5\classes111.zip;C:\Program
Files\Oracle\JDeveloper 3.0\lib\javax_ejb.zip;C:\Program
Files\Oracle\JDeveloper 3.0
\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper
3.0\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.0
\java\lib\classes.zip;C:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper
3.0\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper
.0\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.0
\jdbc\lib\oracle8.1.5\classes111.zip"
oracle.aurora.server.tools.LoadJavaMain
-user
acme/acme@orant_lang:1521:ntdev81
-thin
-verbose
-resolve
"C:\Program Files\Oracle\JDeveloper 3.0
\myclasses\SQLJ_Untitled1.jar"
AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
Copyright (c) 1997-1998 Borland International. All Rights
Reserved.
Copyright (c) 1997-1999 Oracle Corporation. All Rights Reserved.
interrupted by user
loadjava: 1 errors
*** Errors occurred while loading the archive into JServer ***
*** Deployment completed ***
null

Sherman,
I'm not seeing the same behavior when I try it here. You can use
the command line utility loadjava (which is basically all the
JDeveloper Deployment Wizard is doing as you can see from the
output).
For example:
loadjava -user acme/acme@orant_lang:1521:ntdev81 -thin -verbose
-resolve "C:\Program Files\Oracle\JDeveloper3.0
\myclasses\SQLJ_Untitled1.jar"
The Oracle8i Java Stored Procedures Guide contains the details
and arguments list. There is a loadjava.bat file in your
JDEV_Home\bin directory.
Hope this helps,
Laura
Sherman Spencer (guest) wrote:
: Thanks for your response. Yes this happens consistently. I've
: tried using Project|Deploy|SQLJ.prf to deploy the SQLJ Files
: several times to no avail. I get the same error. Is there a
: workaround or another method of accomplishing this.
: JDev Team (guest) wrote:
: : Sherman,
: : Everything looks OK at first glance. The 'interupted by
user'
: : error usually occurs if the 'Cancel' button was hit (perhaps
: : inadvertently) on the deployment messages dialog.
: : This is a modal dialog, and the default context is that
Cancel
: : button, so if you hit the Enter key it may have triggered the
: : interuption.
: : Does this happen consistently?
: : Laura
: : Sherman (guest) wrote:
: : : System: Windows NT4 SP6, JDEV 3.0, OAS 4.0.7, Oracle 8.1.5
EE
: : : I've attempting to run the ACME Video sample web
application
: : for
: : : Oracle 8i using JDEV 3.0. Everything goes well until the
: point
: : : of Deploying the SQLJ Files Used by the Rentals EJB. I've
: : : followed the directions religiously, but I get the
following
: : : error. What am I doing wrong? Much appreciation for any
: : : information that you super gurus can give.
: : : Sherman
: : : *** Executing deployment profile C:\Program
: : : Files\Oracle\JDeveloper 3.0
: : : \samples\acmevideo\ejb\server\SQLJ.prf ***
: : : *** Generating archive file C:\Program
: Files\Oracle\JDeveloper
: : : 3.0\myclasses\SQLJ_Untitled1.jar ***
: : : Compiling the project...done
: : : Validating the profile...done
: : : Initializing deployment...done
: : : Scanning project files...done
: : : Generating classpath dependencies...done
: : : Generating archive entries table...done
: : : *** Archive generation completed ***
: : : *** Loading archive C:\Program Files\Oracle\JDeveloper 3.0
: : : \myclasses\SQLJ_Untitled1.jar into JServer using JDBC ***
: : : Load Java argument list:
: : : "C:\Program Files\Oracle\JDeveloper 3.0\java\bin\javaw"
: : : "-DPATH=C:\Program Files\Oracle\JDeveloper 3.0
: \bin;C:\Program
: : : Files\Oracle\JDeveloper 3.0\java\bin"
: : : -classpath
: : : "C:\Program Files\Oracle\JDeveloper 3.0
: : : \java\lib\classes.zip;C:\Program Files\Oracle\JDeveloper
3.0
: : : \lib\jdeveloper.zip;C:\Program Files\Oracle\JDeveloper 3.0
: : : \myclasses;C:\Program Files\Oracle\JDeveloper 3.0
: : : \sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper
3.0
: : : \jdbc\lib\oracle8.1.5\classes111.zip;C:\Program
: : : Files\Oracle\JDeveloper 3.0\lib\javax_ejb.zip;C:\Program
: : : Files\Oracle\JDeveloper 3.0
: : : \aurora\lib\aurora_client.jar;C:\Program
: : Files\Oracle\JDeveloper
: : : 3.0\aurora\lib\vbjorb.jar;C:\Program
Files\Oracle\JDeveloper
: : 3.0
: : : \aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper
3.0
: : : \aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper
: 3.0
: : : \aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper
: 3.0
: : : \java\lib\classes.zip;C:\Program Files\Oracle\JDeveloper
3.0
: : : \aurora\lib\aurora_client.jar;C:\Program
: : Files\Oracle\JDeveloper
: : : 3.0\aurora\lib\vbjorb.jar;C:\Program
Files\Oracle\JDeveloper
: : 3.0
: : : \aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper
3.0
: : : \aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper
: : : .0\aurora\lib\vbj30ssl.jar;C:\Program
: Files\Oracle\JDeveloper
: : 3.0
: : : \jdbc\lib\oracle8.1.5\classes111.zip"
: : : oracle.aurora.server.tools.LoadJavaMain
: : : -user
: : : acme/acme@orant_lang:1521:ntdev81
: : : -thin
: : : -verbose
: : : -resolve
: : : "C:\Program Files\Oracle\JDeveloper 3.0
: : : \myclasses\SQLJ_Untitled1.jar"
: : : AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
: : : Copyright (c) 1997-1998 Borland International. All Rights
: : : Reserved.
: : : Copyright (c) 1997-1999 Oracle Corporation. All Rights
: : Reserved.
: : : interrupted by user
: : : loadjava: 1 errors
: : : *** Errors occurred while loading the archive into JServer
: : : *** Deployment completed ***
null

Similar Messages

  • Problems deploying par file via Netweaver Developer Studio

    Hello,
    I have problems deploying a par file using the SAP Netweaver Developer Studio.
    In the SNWDS i configure the following:
    Window -> Preferences -> SAP Enterprise Portal
    Alias: IEP
    Host: khz059
    Port: 52900
    Login: Administrator
    Description: Testportal
    The logon Url of the portal is http://khz059:5290052900/irj/portal
    If i try to upload a par file via "Quick PAR Upload" i get the error messages:
    "Unable to connect to the portal
    Operation failed: Please make sure the server 'IEP' (khz059:52900) is running or check the log (sap-plugin.log) for more detail."
    Am I using the proper settings? Am I using the wrong port?
    I don't know whats wrong.
    Can anyone help me?
    The logfile shows:
    [12.09.05 / 14:53] #ERROR LEVEL# com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1 > No Information
    java.io.IOException: Error writing to server
         at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:302)
         at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:314)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:634)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.readResponse(DeployEngine.java:361)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.uploadPar(DeployEngine.java:433)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.deploy(DeployEngine.java:220)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.processUpload(SAPMPWizard.java:404)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:338)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard.performFinish(SAPMPWizard.java:519)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.portal.developmentTools.general.uploader.QuickPARUploader.run(QuickPARUploader.java:146)
         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
         at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
         at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Best regards,
    Nils Kloth

    Hi Nils,
    I think you must have selected the defualt checkbox (Try and uncheck that). Also uncheck the checkbox for "<i>Yes, I want to remeber the password for deployment</i>" if it is also selected. When you deploy the par file now enter the password and try to deploy. I think this will solve your problem.
    Apart from this, try this methos of deploying the Par file.
    1) Save you project. Right click it and "Quick par Upload".
    2) On your browser type
    "http://<your_server_name>:50000/irj/servlet/prt/portal/"
    Your case:
    <i>http://khz059:52900/irj/servlet/prt/portal/</i>
    or same page you can get by navigating:
    System Administration-> Support-> Portal Runtime-> Administration Console.
    3) At the option "Please specify a Portal Archive file (PAR) and press "upload" to store it into the PCD." Deploy your par file by giving the path.
    Now you file is deployed on the server. If you want to create an Iview from this deployed .par file then :
    1) On your portal. Follow the path: Content Administrator-> Portal Content -> Portal Content(sub-option). Right click -> New from par ->iView.
    2) Here in the list you will find the par file which you have uploaded. Proceed as said.
    3) You will finally have an iView. Right click it and preview it.
    I hope this solves your problem.
    Regards
    Pravesh
    PS: Please consider rewarding points if helpful.

  • Problem deploying war file in cluster wls 10 mp1

    Hi,
    Weblogic throws the following exception while i am deploying a war file in clusters with 6 servers distributed in 2 physical machines.
    <Mar 6, 2008 12:22:52 PM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application 'siiaf'.>
    <Mar 6, 2008 12:22:52 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException:
    at weblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:69)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
    Truncated. see log file for complete stacktrace
    java.util.zip.ZipException: Error opening file - /usr/local/bea/user_projects/domains/sctDomain10/stage/siiaf/siiaf.war Message - error in opening zip file
    at weblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:81)
    at weblogic.servlet.utils.WarUtils.isWebServices(WarUtils.java:70)
    at weblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:61)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
    Truncated. see log file for complete stacktrace
    >
    <Mar 6, 2008 12:22:52 PM CST> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.management.DeploymentException:
    at weblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:69)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
    at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:72)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:86)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: java.util.zip.ZipException: Error opening file - /usr/local/bea/user_projects/domains/sctDomain10/stage/siiaf/siiaf.war Message - error in opening zip file
    at weblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:81)
    at weblogic.servlet.utils.WarUtils.isWebServices(WarUtils.java:70)
    at weblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:61)
    The staging mode of all servers is "stage".
    I think the problem is the file size because my war file size is 45 mb aprox.
    When i delete some files within the file and the size is minor (2 mb) , the deploy process ends successfully.
    I appreciate your help
    GPA

    Can you verify the integrity of your staged war file? This problem could be due to a bug in the container.You may want to open a support case with BEA

  • Problem deploying JDeveloper files

    Hi, I'm new to jdeveloper, and i'm having some problem deploying the applets that the wizard makes, i deployed the files into a zip and when i unziped them, the html file that was in the zip keeps comming up with can't find package.test.class (package is the name of my package and test is teh name of my applet), can anyone help me? thank you.
    Will

    John - JDeveloper Team:
    I am not sure what you are doing exactly, but
    The HTML file references the class file
    that must be found on the CLASSPATH.
    You may want to experiment with AppletViewer
    until you figure it out. Remember your
    CLASSPATH must point to a directory whose
    SUB-DIrectory is named package
    I am assuming your file is named Test.java
    and the output will be Test.class!You may also want to use a batch file included
    in the [JDeveloper]\bin directory called
    SetVars.bat which sets up such information
    for you when you are in a CMD shell.
    John - JDeveloper Team
    null

  • Problems deploying ear file created with ant build script

    Hi All,
    I'm using Jdeveloper 11G and Weblogic 10.3. When I build my application and run it within Jdeveloper, it works fine. However, we have a requirement to run ANT build script and create a deployable .ear file that can be manually deployed to any Weblogic Server.
    I created my ant build script and it compiles/builds fine - the .ear file looks good. However, when I attempt to deploy it, it fails with
    javax.faces.webapp.FacesServlet for servlet Faces Servlet could not be loaded because the requested class was not found in the classpath .
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet.
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:551)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         Truncated. see log file for complete stacktrace
    >
    <Nov 2, 2011 2:43:43 PM MDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1320266599219' for task '3'. Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "Faces Servlet" failed to preload on startup in Web application: "###"
    I am not sure how to tell weblogic where to find the classes needed. I have a pretty huge classpath used when compiling - should I be putting the classpath in the manifest (?) - I don't think I should need to include the .jar files manually in the .ear file - since all the libraries should already be available in weblogic - or is that a misconception?
    Please help!!

    I answered my own question -
    I had to manually add the following to the WEB-INF/lib to get the error to go away:
    ${ORACLE_HOME}/modules/javax.jsf_1.1.0.0_1-2.jar and
    ${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jsf_1.0.0.0_1-2-15.jar and
    ${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jstl_1.2.0.1.jar
    that solved my problem. However, I think it'd be great if I could somehow just specify (in the weblogic-application.xml maybe?) that my application is using the above modules without having to copy the jar files into my WEB-INF/lib - any suggestions?
    Thanks

  • Intermittent problem deploying .jar files

    OC4J 9.0.2
    Seemingly random, I get this error when I deploy a jar file
    Auto-deploying MyJar.jar (No previous deployment found)... Error compiling
    MyOC4J/j2ee/home/applications/MyApp/MyApp.jar: Syntax error in source
    To deply a jar file I do the following:
    Copy the .jar file to /applications/MyApp/ directory
    Delete the contents of /application-deployments/MyApp/MyJar.jar/
    Start OC4J
    The only way around this I have found is to keep restarting OC4J until it works, so the same .jar file will sometimes work and sometimes not.
    I have copied the same .jar file to four different OC4J environments and have had one work and three fail. Then I restart the three and have two of those work and one fail. Then I had to restart that one three more times until it worked.
    Any ideas as of what might be happening??

    I just tried the command you mentioned to start OC4J but I still get that problem.
    It's really weird because I have had this process of deployments working for months with no problem, then all of a sudden it started acting up.
    I don't think anything has changed but there must be something. I just don't know where to look.
    any other suggestions?
    -Isaac

  • Problem Deploying PAR file to EP 6.0 SP2

    I downloaded the latest SAP .Net PDK and I am trying to deploy the PAR file to EP 6.0 (SP2 patch 4 hotfix 5 running on HP11).  The error message that I'm getting isn't telling me a whole lot.  Has anyone else had trouble deploying from a windows system to the portal running on UNIX?
    Message from the VS2003 output window.
    Build...
    Build PDKTest : Done -
    Creating temporary directory...
    Create Temp dir at C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822
    Copy file c:\User\_Net\SAPPDKTest\PDKTest\bin\PDKTest.dll
    Copy file c:\User\_Net\SAPPDKTest\PDKTest\bin\PDKTest.pdb
    Copy file C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822\PORTAL-INF
    PortalComponent1.ascx
    Handle Ascx File ...
    Handle Ascx File C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822\PORTAL-INF\PortalComponent1.ascx
    Handle Ascx File : Done -
    Creating portalapp.xml ...
    ComponentName = PortalComponent1
    AscxName = PortalComponent1.ascx
    Properties Added :
    Creating portalapp.xml : Done -
    Creating par zip file ...
    Creating par zip file C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822\PDKTest.par
    Deploy to portal...
    Portal: DEV Portal
    Host: dev
    Port: 50000
    UserName: Administrator
    Upload failed. Check details and try again.
    Delete C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822
    Delete temporary directory : Done -
    Deployment failed.------
    Message from the event log.
    General Information
    Additional Info:
    1) Exception Information
    Exception Type: SAP.Portal.Design.Settings.PortalException
    Message: Upload failed. Check details and try again.
    CallingDeployEngine: SAP.Portal.Design.Settings.PortalEngine
    TargetComponent: C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_97af9999-7efe-403b-aef3-083cdf6be082\PDKTest.par
    TargetSite: Void UploadPar(System.IO.FileInfo)
    HelpLink: NULL
    Source: SAP.Portal.Design
    StackTrace Information
       at SAP.Portal.Design.Settings.PortalEngine.UploadPar(FileInfo parFile)
       at SAP.Portal.Design.Settings.PortalEngine.Deploy(FileInfo parFile)
       at SAP.Portal.Design.Settings.PortalEngine.Deploy(String filePath)
       at SAP.Portal.Design.Deployment.DeployManager.DeployToPortal(String parPath)
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    Thank you for the reply. 
    I was hoping that wasn't the case, because now I will have to wait until we deploy SP9, which could be quite a while. 
    In the meantime will the old PDK for .Net (Pre-SP1) work with the older Service Packs?  I couldn't find it out on the SAP site.  The only one I could find was the SP1 version of the SAP .Net PDK.
    -pt

  • Problem deploying ear file containing rar file

    Hi all,
    I am trying to deploy an ear on WAS 6.3 through a standalone application by using Deploy Service( with the help of File Transfer API). This ear contains rar file which has some jars, ra.xml and connector-j2ee-engine.xml. During deployment, the following error message is displayed:
    Rollback during generation, because : com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/ASAP_SAP_1_0_profile8_ear in container connector15.
    com.sap.engine.services.deploy.DeployResourceBundle#Exception in operation with application .#2#deploy#sap.com/ASAP_SAP_1_0_profile8_ear
    Operation deploy over application sap.com/ASAP_SAP_1_0_profile8_ear finished with errors on server 1590450. For more detailed information see traces of Deploy Service
    Operation deploy on application sap.com/ASAP_SAP_1_0_profile8_ear finished in whole cluster for 3125 ms
    com.sap.engine.services.deploy.DeployResourceBundle#Cannot deploy application .#1#sap.com/ASAP_SAP_1_0_profile8_ear
    com.sap.engine.services.rmi_p4.DispatchImpl->throwException  MSG:P4 Call execution: Exception in execute operation :<deploy(java.lang.String,java.lang.String[],java.util.Properties)>
    Can anyone come up with some solution for this? Also where can I find traces of Deploy Service on WAS?
    Thanks in advance,
    Pavithra

    Hi Pavithra,
             Try these links which provides solution for traces like <i>Cannot deploy application</i>.
    1. No Container Available For J2EE Module
    http://help.sap.com/saphelp_nw04/helpdata/en/5f/3733418bb16e24e10000000a155106/frameset.htm
    2. Unable to deploy ... ( Similar SDN Thread )
    unable to deploy message driven beans
    Hope it helps.
    Kindly reward points if it helps by clicking the star on the left hand side of the screen.
    Regards,
    Maheswaran.B

  • Deploying SQLJ to JServer

    Hello
    When deploying SQLJ files to JServer manually using the loadjava I usually load the .sqlj files and let the database do the precompiling. This way I think I will most certainly end up with precompiled code that is always compatible with the SQLJ runtime version.
    The JDeveloper however seems to prefer doing the precompilation by itself and then loading the precompiled .java files.
    To me it looks like the JDeveloper way is the more error prone way. How is it supposed to be done, and is there an easy way to make JDeveloper load the .sqlj files instead of the precompiled files?
    //Jarkko Siitonen
    [email protected]
    null

    Hi.
    You do have a good poing with regards to using the runtime version of 8i's JServer.
    However, as far as I have seen, there are no issues to worry about using JDeveloper. The only thing you might want to do, is have a different deployment mechanism than your development. That way you can develope in JDeveloper, and deploy using loadjava/deployjb manually through makefiles or some sort of compile script.
    Doing it this way, you will get the nice use of JDeveloper, and have the latest libraries with the database.
    This is especially nice once you start applying patches to the database that are not the same as JDeveloper patches. You may run into issues with this if there is a bug not fixed in JDeveloper that is fixed in the JServer however.
    Good luck!
    Brad

  • Deploying the SQLJ files used by the Rentals EJB

    In a previous section of the documentation for acmevideo demo, we
    address the issue of deployment of the Rentals EJB. This contains
    the rentals.sqlj file.
    Due to an issue with the current versio of Oracle 8i(8.1.5), a
    workaround must be deployed to explicitly deploy the *.ser file
    used by the Rentals EJB to the Oracle 8i database. (I don't know
    or understand what the issue is - can someone explain ?)
    Anyway, I am using Oracles suggested workaround and the
    deployment fails.
    Here is the text:
    *** Invoking the Oracle JDeveloper deployment utility ***
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    Writing archive...done
    *** Invoking the Oracle8i deployment utility ***
    interrupted by user
    <The dialog in JDeveloper displays>:
    Cannot load java classes into database
    Any suggestions or tips how to get this working ?
    Regards,
    Mark Battersby
    null

    Mark,
    I had the same problem. Have you increased your Java_pool and
    your shared pool? That and having the right classpath/path
    helped. Also, I think that there are some SQL prep scripts that
    need to be run.
    Todd Kromann
    mark tomlinson (guest) wrote:
    : You might try using the command line version of the deployejb
    : tool and see if you can get a more verbose error message
    : (Jdeveloper might be 'eating' the errors coming back). I have
    : seen that happen when the loadjava portion of deployment would
    : fail (i.e. not getting back an error).
    null

  • NWDI setup, problem while deploying .sca files on SAP PI 7.1 server

    Hi
    I have a SAP PI 7.1 server. I want to setup DTR on it.
    From service market place i downloaded the required .sca files
    Location:
    Support Packages and Patches --> Browse our Download Catalog --> SAP NetWeaver and complementary products --> SAP NETWEAVER PI --> SAP NETWEAVER PI 7.1 --> Entry by Component --> Development Infrastructure --> SAP NetWeaver and complementary products --> SAP NETWEAVER PI --> SAP NETWEAVER PI 7.1 --> Entry by Component --> Development Infrastructure
    - DICBS25P_1-10003500.SCA
    - DICMS25P_1-10003499.SCA
    - DIDTR25P_1-10003501.SCA
    When i try to deploy these files using JSPM (option:- Business Packages)
    It is not able to deploy CMS and CBS files and its giving error.
    Error for DICMS25P_1-10003499.SCA
    Archive
    <server>\sapmnt\trans\EPS\in\DICMS25P_1-10003499.SCA for component sap.com/DI_CMS was admitted for deployment Deployment of archive
    <server>\sapmnt\trans\EPS\in\DICMS25P_1-10003499.SCA --> tcctsappl.sda for component sap.com/tcctsappl is rejected because it depends on missing components Detailed message: 1. Unresolved dependencies: sap.com/tcctstransport_api not found in the admitted batch items and the repository Deployment of archive
    <server>\sapmnt\trans\EPS\in\DICMS25P_1-10003499.SCA --> tcSLCMStsawebui.sda for component sap.com/tcSLCMStsawebui is rejected because deployment of other component it depends on is rejected Detailed message: 1. Unresolved dependency problem in chain of dependent item 'sap.com_tcSLCMSWebUI'. Deployment of archive
    <server>\sapmnt\trans\EPS\in\DICMS25P_1-10003499.SCA --> tcSLCMSWebUI.sda for component sap.com/tcSLCMSWebUI is rejected because deployment of other component it depends on is rejected Detailed message: 1. Unresolved dependency problem in chain of dependent item 'sap.com_tcSLdiindex'. Deployment of archive
    <server>\sapmnt\trans\EPS\in\DICMS25P_1-10003499.SCA --> tcSLdiindex.sda for component sap.com/tcSL~diindex is rejected because deployment of other component it depends on is rejected
    Error for DICBS25P_1-10003500.SCA
    Details message(s): Archive
    <server>\sapmnt\trans\EPS\in\DICBS25P_1-10003500.SCA for component sap.com/DI_CBS was admitted for deployment Deployment of archive
    <server>\sapmnt\trans\EPS\in\DICBS25P_1-10003500.SCA --> tc.CBS.Appl.sda for component sap.com/tc.CBS.Appl is rejected because deployment of other component it depends on is rejected Detailed message: 1. Unresolved dependency problem in chain of dependent item 'sap.com_tc.CBS.WebUI'. Deployment of archive
    <server>\sapmnt\trans\EPS\in\DICBS25P_1-10003500.SCA --> tc.CBS.WebUI.sda for component sap.com/tc.CBS.WebUI is rejected because deployment of other component it depends on is rejected Detailed message: 1. Unresolved dependency problem in chain of dependent item 'sap.com_tcdicbsjlinwd'. Deployment of archive
    <server>\sapmnt\trans\EPS\in\DICBS25P_1-10003500.SCA --> tcdicbsjlinwd.sda for component sap.com/tcdicbs~jlinwd is rejected because deployment of other component it depends on is rejected Detailed message: 1. Unresolved dependency problem in chain of dependent item 'sap.com_tc.CBS.Service'. Deployment of archive
    <server>\sapmnt\trans\EPS\in\DICBS25P_1-10003500.SCA --> tc.CBS.CommonPart.sda for component sap.com/tc.CBS.CommonPart is rejected because it depends on missing components Detailed message: 1. Unresolved dependencies: sap.com/tc.CBS.DBDefs not allowed between software types: primary-library --> JDDSCHEMA Deployment of archive
    <server>\sapmnt\trans\EPS\in\DICBS25P_1-10003500.SCA --> tc.CBS.Service.sda for component sap.com/tc.CBS.Service is rejected because deployment of other component it depends on is rejected Detailed message: 1. Unresolved dependency problem in chain of dependent item 'sap.com_tc.CBS.CommonPart'. See Deploy Controller log F:\usr\sap\PS2\DVEBMGS00\j2ee\JSPM\log\log_2011_11_21_16_44_12\deploy_2011-11-21_17-06-01.log for details.
    Please Help.
    Regards
    Osman Jabri
    Edited by: Osman Jabri on Nov 21, 2011 12:40 PM

    Deploy status is 'Admitted'
    Deployment Items -
         1. Client path '
    hydhtc130380d\sapmnt\trans\EPS\in\DICBS25P_1-10003500.SCA'
         Sdu info :name 'DI_CBS', vendor 'sap.com', location 'MAIN_APL70P25_D', version '1000.7.00.25.1.20110905193551'
              Deploy status is 'Admitted'
              Time statistics:
              Contained DCs:
              1.1:name 'tc.CBS.Appl', vendor 'sap.com', location 'MAIN_APL70P25_D', version '10937350', software type ('J2EE', sub type ''), dependencies :[( name 'tc.CBS.API', vendor 'sap.com') , ( name 'tc.CBS.CommonPart', vendor 'sap.com') , ( name 'com.sap.tc.Logging', vendor 'sap.com') , ( name 'com.sap.security.api.sda', vendor 'sap.com') ]          
                        Deploy status is 'Skipped'
                        Description:'1. Unresolved dependency problem in chain of dependent item 'sap.com_tc.CBS.WebUI'.'.
              1.2:name 'tc.CBS.WebUI', vendor 'sap.com', location 'MAIN_APL70P20_C', version '2930415', software type ('J2EE', sub type ''), dependencies :[( name 'tc.CBS.CommonPart', vendor 'sap.com') ]          
                        Deploy status is 'Skipped'
                        Description:'1. Unresolved dependency problem in chain of dependent item 'sap.com_tcdicbs~jlinwd'.'.
              1.3:name 'tcdicbs~jlinwd', vendor 'sap.com', location 'MAIN_APL70P20_C', version '2930416', software type ('J2EE', sub type ''), dependencies :[( name 'tc.CBS.CommonPart', vendor 'sap.com') ]          
                        Deploy status is 'Skipped'
                        Description:'1. Unresolved dependency problem in chain of dependent item 'sap.com_tc.CBS.Service'.'.
              1.4:name 'tc.CBS.CommonPart', vendor 'sap.com', location 'MAIN_APL70P25_D', version '10927802', software type ('primary-library', sub type ''), dependencies :[( name 'tc.CBS.API', vendor 'sap.com') , ( name 'tc.CBS.DBDefs', vendor 'sap.com') , ( name 'com.sap.tc.Logging', vendor 'sap.com') , ( name 'com.sap.security.api.sda', vendor 'sap.com') , ( name 'tcdtr.clientvfs-adl', vendor 'sap.com') , ( name 'opensql', vendor 'sap.com') , ( name 'com.sap.guid', vendor 'sap.com') , ( name 'sapxmltoolkit', vendor 'sap.com') , ( name 'tcCBSComponentLibrary', vendor 'sap.com') ]          
                        Deploy status is 'PrerequisiteViolated'
                        Description:'1. Unresolved dependencies:
    sap.com/tc.CBS.DBDefs     not allowed between software types: primary-library --> JDDSCHEMA'.
              1.5:name 'tc.CBS.Service', vendor 'sap.com', location 'MAIN_APL70P25_C', version '10522285', software type ('primary-service', sub type ''), dependencies :[( name 'tc.CBS.API', vendor 'sap.com') , ( name 'tc.CBS.CommonPart', vendor 'sap.com') , ( name 'com.sap.tc.Logging', vendor 'sap.com') , ( name 'tcdtr.clientvfs-adl', vendor 'sap.com') , ( name 'opensql', vendor 'sap.com') , ( name 'com.sap.guid', vendor 'sap.com') , ( name 'sapxmltoolkit', vendor 'sap.com') , ( name 'tcCBSComponentLibrary', vendor 'sap.com') ]          
                        Deploy status is 'Skipped'
                        Description:'1. Unresolved dependency problem in chain of dependent item 'sap.com_tc.CBS.CommonPart'.'.
              1.6:name 'tc.CBS.DBDefs', vendor 'sap.com', location 'MAIN_APL70P20_C', version '2929767', software type ('JDDSCHEMA', sub type ''), dependencies :[none]          
                        Deploy status is 'Admitted'
         2. Client path '
    hydhtc130380d\sapmnt\trans\EPS\in\DICMS25P_1-10003499.SCA'
         Sdu info :name 'DI_CMS', vendor 'sap.com', location 'MAIN_APL70P25_D', version '1000.7.00.25.1.20110905193601'
              Deploy status is 'Admitted'
              Time statistics:
              Contained DCs:
              2.1:name 'tcctsappl', vendor 'sap.com', location 'MAIN_APL70P25_C', version '10521775', software type ('J2EE', sub type ''), dependencies :[( name 'tcctstransport_api', vendor 'sap.com') ]          
                        Deploy status is 'PrerequisiteViolated'
                        Description:'1. Unresolved dependencies:
    sap.com/tcctstransport_api     not found in the admitted batch items and the repository'.
              2.2:name 'tcSLCMStsawebui', vendor 'sap.com', location 'MAIN_APL70P20_C', version '2930427', software type ('J2EE', sub type ''), dependencies :[( name 'tcSLCMSPCS', vendor 'sap.com') ]          
                        Deploy status is 'Skipped'
                        Description:'1. Unresolved dependency problem in chain of dependent item 'sap.com_tcSLCMS~WebUI'.'.
              2.3:name 'tcSLCMScversproxy', vendor 'sap.com', location 'MAIN_APL70VAL_C', version '1496430', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'Admitted'
              2.4:name 'tcSLCMSconfigdbschema', vendor 'sap.com', location 'MAIN_APL70P20_C', version '2929860', software type ('JDDSCHEMA', sub type ''), dependencies :[none]          
                        Deploy status is 'Admitted'
              2.5:name 'tcSLCMSPCSDBSchema', vendor 'sap.com', location 'MAIN_APL70P20_C', version '2929768', software type ('JDDSCHEMA', sub type ''), dependencies :[none]          
                        Deploy status is 'Admitted'
              2.6:name 'tcSLCMSWebUI', vendor 'sap.com', location 'MAIN_APL70P23_D', version '7714571', software type ('J2EE', sub type ''), dependencies :[( name 'tcSLCMSPCS', vendor 'sap.com') , ( name 'tcSLCMSIDEClient', vendor 'sap.com') , ( name 'tccom.sap.tmw.clients~_ctsa_client', vendor 'sap.com') , ( name 'tc.httpclient', vendor 'sap.com') , ( name 'applocking', vendor 'sap.com') ]          
                        Deploy status is 'Skipped'
                        Description:'1. Unresolved dependency problem in chain of dependent item 'sap.com_tcSLdiindex'.'.
              2.7:name 'tcSLCMSTCSEar', vendor 'sap.com', location 'MAIN_APL70P25_D', version '10947857', software type ('J2EE', sub type ''), dependencies :[( name 'tc.CBS.API', vendor 'sap.com') , ( name 'com.sap.util.monitor.jarm', vendor 'sap.com') , ( name 'tc.httpclient', vendor 'sap.com') , ( name 'com.sap.tc.Logging', vendor 'sap.com') , ( name 'tcsecsecurestorageservice', vendor 'sap.com') , ( name 'tcdtr.clientvfs-adl', vendor 'sap.com') , ( name 'tcjmx', vendor 'sap.com') , ( name 'tcSLCMSUtil', vendor 'sap.com') , ( name 'com.sap.util.monitor.grmg', vendor 'sap.com') , ( name 'tcCBSComponentLibrary', vendor 'sap.com') ]          
                        Deploy status is 'Admitted'
              2.8:name 'tcSLCMS~cleanuptool', vendor 'sap.com', location 'MAIN_APL70VAL_C', version '1552404', software type ('FS', sub type ''), dependencies :[none]          
                        Deploy status is 'Admitted'
              2.9:name 'tcSLdiindex', vendor 'sap.com', location 'MAIN_APL70P25_D', version '10947869', software type ('J2EE', sub type ''), dependencies :[( name 'tcSLCMSPCS', vendor 'sap.com') , ( name 'tcSLCMSIDEClient', vendor 'sap.com') , ( name 'tcSLCMS~Util', vendor 'sap.com') , ( name 'security.class', vendor 'sap.com') ]          
                        Deploy status is 'Skipped'
                        Description:'1. Unresolved dependency problem in chain of dependent item 'sap.com_tcSLCMS~PCS'.'.
              2.10:name 'tcSLCMSPCS', vendor 'sap.com', location 'MAIN_APL70P25_D', version '10947869', software type ('J2EE', sub type ''), dependencies :[( name 'tc.CBS.API', vendor 'sap.com') , ( name 'tcSLCMSIDEClient', vendor 'sap.com') , ( name 'com.sap.security.api.sda', vendor 'sap.com') , ( name 'com.sap.lcr.api.cimclient', vendor 'sap.com') , ( name 'tcsecsecurestorageservice', vendor 'sap.com') , ( name 'tcdiscmtransport_api', vendor 'sap.com') , ( name 'com.sap.aii.ibtransportclient', vendor 'sap.com') , ( name 'applocking', vendor 'sap.com') , ( name 'tcdtr.clientvfs-adl', vendor 'sap.com') , ( name 'tcjmx', vendor 'sap.com') , ( name 'tcSLCMSUtil', vendor 'sap.com') , ( name 'security.class', vendor 'sap.com') , ( name 'tcCBSComponentLibrary', vendor 'sap.com') , ( name 'com.sap.util.monitor.jarm', vendor 'sap.com') , ( name 'tccom.sap.tmw.clients_ctsa_client', vendor 'sap.com') , ( name 'tcSLCMScversproxy', vendor 'sap.com') , ( name 'com.sap.aii.util.xml', vendor 'sap.com') , ( name 'tcSLCMS~TCSEar', vendor 'sap.com') , ( name 'com.sap.aii.util.misc', vendor 'sap.com') , ( name 'com.sap.guid', vendor 'sap.com') , ( name 'keystore', vendor 'sap.com') , ( name 'sapxmltoolkit', vendor 'sap.com') , ( name 'com.sap.exception', vendor 'sap.com') , ( name 'com.sap.util.monitor.grmg', vendor 'sap.com') ]          
                        Deploy status is 'PrerequisiteViolated'
                        Description:'1. Unresolved dependencies:
    sap.com/tccom.sap.tmw.clients_ctsa_client     not found in the admitted batch items and the repository'.
         3. Client path '
    hydhtc130380d\sapmnt\trans\EPS\in\DIDTR25P_1-10003501.SCA'
         Sdu info :name 'DI_DTR', vendor 'sap.com', location 'MAIN_APL70P25_D', version '1000.7.00.25.1.20110908142653'
              Deploy status is 'Admitted'
              Time statistics:
              Contained DCs:
              3.1:name 'tcjdiheartbeat~enterpriseapp', vendor 'sap.com', location 'MAIN_APL70P25_D', version '10937328', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'Admitted'
              3.2:name 'tcdtrconsole~sda', vendor 'sap.com', location 'MAIN_APL70VAL_C', version '1586999', software type ('FS', sub type ''), dependencies :[none]          
                        Deploy status is 'Admitted'
              3.3:name 'tcdtrdbschema', vendor 'sap.com', location 'MAIN_APL70P20_C', version '2929861', software type ('JDDSCHEMA', sub type ''), dependencies :[none]          
                        Deploy status is 'Admitted'
              3.4:name 'tcdtrenterpriseapp', vendor 'sap.com', location 'MAIN_APL70P25_D', version '10937327', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'Admitted'
    Nov 21, 2011 5:06:19 PM  [Info  ]:+++ Validation finished with status 'Success' +++[ deployerId=4 ]
    Nov 21, 2011 5:06:19 PM  [Path  ]:+++++ End  V A L I D A T E action +++++[ deployerId=4 ]. Total time:[#16: 18.367 sec]

  • Customizing AM Images & Facing Problem in Update & Deploy War files

    Hey Guys!
    This is Yash Bansal from Gurgaon, India. i am new to access manager. i am now customizing it and facing problem in customizing.
    I have customized images which is present in directory path:
    opt/SUNWam/web-src/services/images/
    and updated services.war file which is present in directory path:
    opt/SUNWam/war/
    with command
    jar -uvf services.war /opt/SUNWam/web-src/services/images/login-backimage.jpg
    then deployed configuration from the web server 7.0 admin console.
    after that when i open the url
    http://<hostname>/amserver/console
    then Page Not Found error comes in the browser.
    Just wanted to ask you guys am i doing the steps right. please help if someone know how to update and deploy war file on Sun Web server 7.0.
    Thanks & Regards,
    Yash Bansal

    Hi!
    Deploying the configuration does not (re)deploy the application. Webserver stores a copy of the deployed application and all configurations in the admin instance. When you change anything in the webserver console it is first written there and only applied to the productive instance when you deploy configuration.
    When you add images, jsps or something else to /opt/SUNWam/... and want it redeployed you have to use amconfig command. in /opt/SUNWam/bin there is a file called amsamplesilent. You have to fill the values in this file and then use
    ./amconfig -s amsamplesilent
    I believe for a redeploy you have to set DEPLOY_LEVEL to 21, not sure here, check documentation.
    I personally usually do not redeploy for images and such, I simply copy them directly the deployed location.
    Why http://.../amserver/console does not work anymore, I have no idea. But at least after a redeploy it should be there again.
    hth Chris

  • OIM 11G- Web Console- Problem with "Export Deployment Manager File"

    Experts,
    I am using gogle chrome browser on oim11g setup.
    I was able to Import/Export the objects using Import/Export Deployment Manager File.
    The reason why I opted for chrome is that I was unable to connect to login to the web console, it was just asking for userid and password and after some time, the browser(Internet Explorer 7) hangs on.
    And with FireFox 5.0.1, it is the same thing both import and export deployment manager file windows opens as soon as I click and they just close after 2-3 seconds.
    The problem now is after updating the java to "Version 6 Update 26 ", the Export Deployment Manager File stopped working. The window pop-ups and closes in 2 seconds.
    But Import Deployment Manager File is working fine with out any problems.
    The pop - up blocker is not enabled.
    And I am sure that it was working fine earlier with chrome before the java update.When I remove the updated java version, chrome is asking to download the latest java version.
    Any suggestions, that helps to work with chrome or firefox or IE?
    Edited by: Venu on Aug 11, 2011 4:46 PM
    Edited by: Venu on Aug 11, 2011 4:57 PM

    Venu,
    I have never had any luck getting anything after Version 6 update 23 to export properly. I would remove your updated Java and restore to a previous version of Java.
    Sunny Tsang

  • [b]problem with deploy .war file

    Hi
    I am trying to deploy a war file. I have Oracle 9iAS (release 2) in Sun Solaris server.
    I am using the enterprise manager gui to try to deploy a .war file as follows.
    My .war file has the structure: folder META-INF, folder WEB-INF, and other folders. THe folder
    WEB-INF has the file web.xml and the folder classes.
    I connect to enterprise manager at port 1810 and go to the OC4J home page and under
    deployed applications, I choose under applications "Deploy WAR file". It takes me to the next page
    where I enter the war file (pippo.war)
    Application Name: pippo
    Map to URL: /pippo
    THe only choice I have then is to click the Deploy button. I then get the response
    "Failed to deploy web application "pippo". Jar file: /var/tmp/jar29056.tmp is missing its standard xml descriptor located at WEB-INF/web.xml"
    In that path there is not that file, there are 2 folders, one with the file .war and one with the file .ear
    I have no idea what this error message means.
    The documentation for deploying servlets in 9ias using enterprise manager makes no mention of this.
    Thanks,
    Marcella

    Marcella,
    Are you using Oracle9iAS 9.0.3 ?
    Does this happen with any war file ?
    Are you able to deploy a ear file without problems ?
    Can you please test if you can deploy your war in a
    OC4J standalone environment ? steps from the general faq available at http://otn.oracle.com/tech/java/oc4j
    How can I deploy a WAR file to OC4J standalone ?
    The command line deployment tool (admin.jar) requires an EAR file as it's deployment archive. To deploy a WAR file using this, you must package the WAR file within a EAR file.
    You can manually deploy a WAR file to OC4J However following are the steps involved in deploying a WAR file in OC4J.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    In Oracle9iAS Release 2; deployment of applications is done either using EM or via the DCM commands.
    thanks,
    -Prasad

  • Error while deploying ear-file to J2EE via NWDS/SDM

    Hi everybody,
    i have a problem deploying an ear-file. I was looking for similar cases in forums, but didn't find anything. My application is developed by jsp/servlets. The deployment aborts with following error-massage:
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.warcom.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason: java.io.IOException: Stream closed
    I don't know what the reason could be. The application is running on tomcat. And I can deploy other applications to j2ee with nwds/sdm.
    Maybe somebody had or has the same problem. Or somebody knows the answer for the problem. Please help, points will be regarded. Thanks in advance.
    best regards
    Lu

    Hi,
    I checked the log-files, but there are no helpful informations, but:
    07/04/23 12:08:04 -  Start updating EAR file...
    07/04/23 12:08:04 -  start-up mode is lazy
    07/04/23 12:08:20 -  com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.war
                         com.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason:
                          java.io.IOException: Stream closed
    and
    Apr 23, 2007 12:08:20... Error: Aborted: development component 'Dokusunddownloads'/'sap.com'/'localhost'/'2007.04.23.12.07.47'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.war
    com.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason:
    java.io.IOException: Stream closed
    thanks,
    Lu

Maybe you are looking for