Deploying a Par file using ANT

Hi All,
Can anyone tell me the steps how to deploy a PAR file using ant script on netweaver server.Give me some sample ant file.Suggestions will be rewarded.
Thank you in advance.
Regards,
Karthick

Hi Karthick,
see PAR-File deployment with ANT (EP6)
Hope it helps
Detlev

Similar Messages

  • Deploying bpm 11g project sar file using ant task

    I am trying to deploy the bpm project using ant task file. The status I get is [deployComposite] ---->Deploying composite success. However when I check the deployments, they are not there. If I try to deploy this using Jdeveloper it works correctly. I need to get this to work for production deployments. Any suggestions?
    C:\Oracle\Middleware\Oracle_SOA1\bin>ant -f ant-sca-deploy.xml -DserverURL=http:
    //10.140.183.71:7001 -DsarLocation=N:\RuleBasedProjectInitiate\deploy\RequestPro
    ject.ear -Doverwrite=true -Duser=weblogic
    Buildfile: C:\Oracle\Middleware\Oracle_SOA1\bin\ant-sca-deploy.xml
    [echo] oracle.home = C:\Oracle\Middleware\Oracle_SOA1\bin/..
    deploy:
    [input] skipping input as property serverURL has already been set.
    [input] skipping input as property sarLocation has already been set.
    [deployComposite] created temp dir =C:\DOCUME~1\azeltov\LOCALS~1\Temp\deploy_cli
    ent_1279894885343
    [deployComposite] Creating HTTP connection to host:10.140.183.71, port:7001
    [deployComposite] Enter username and password for realm 'default' on host 10.140
    .183.71:7001
    [deployComposite] Authentication Scheme: Basic
    [deployComposite] Username:
    weblogic
    [deployComposite] Password:
    [deployComposite] Received HTTP response from the server, response code=200
    [deployComposite] clean up temp dir: C:\DOCUME~1\azeltov\LOCALS~1\Temp\deploy_cl
    ient_1279894885343
    [deployComposite] ---->Deploying composite success.
    BUILD SUCCESSFUL
    Total time: 4 seconds
    C:\Oracle\Middleware\Oracle_SOA1\bin>

    You can always deploy the ADF web apps from the Application (top menu) deploy option. Just make sure you're deploying the EAR profile for the project. Deploying the web projects from the composite deployment wizard can be convenient. But I think it's often the case that you deploy them (the composite and forms) separately (e.g. you make a series of changes to the composite without needed to redeploy the UI projects).
    Bottom line is you don't have to delete the projects to be able to modify/deploy them.

  • Unable to deploy a par file from NWDS

    Hi experts ,
    Im getting the below error on deploying a par file from my nwds studio ,
    please suggest a solution
    createDeployArchive:
          [copy] Copying 1 file to E:\sap_ep_prog\dc\.dtc\1\DCs\***\portal_dev\***_logon\_comp\gen\default\local
    Error: E:\sap_ep_prog\dc\.dtc\1\DCs\***\portal_dev\***_logon\_comp\gen\default\logs\build.xml:341: Failed to copy E:\sap_ep_prog\dc\.dtc\1\t\7FEDA11250B7CF9AB991A30B09B76536\com.***.par to E:\sap_ep_prog\dc\.dtc\1\DCs\***\portal_dev\***_logon\_comp\gen\default\local\com.***.par due to E:\sap_ep_prog\dc\.dtc\1\DCs\***\portal_dev\***_logon\_comp\gen\default\local\com.***.par (Access is denied)
    at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:628)
    at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:421)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
    at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:58)
    at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
    at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
    at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
    at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
    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.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
    at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
    at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
    at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
    at com.sap.portal.developmentTools.ideSpecific.eclipse.dcutils.DCBuildWrapper.run(DCBuildWrapper.java:49)
    at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:252)
    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:531)
    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.ideSpecific.eclipse.wizards.actions.WizardInvokeAction.invokeWizardInANewDialog(WizardInvokeAction.java:179)
    at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.actions.WizardInvokeAction.run(WizardInvokeAction.java:84)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:207)
    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)
    Caused by: java.io.FileNotFoundException: E:\sap_ep_prog\dc\.dtc\1\DCs\***\portal_dev\***_logon\_comp\gen\default\local\com.***.par (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:628)
    at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:309)
    at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:617)
    ... 62 more
    --- Nested Exception ---
    java.io.FileNotFoundException: E:\sap_ep_prog\dc\.dtc\1\DCs\***\portal_dev\***_logon\_comp\gen\default\local\com.***.par (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:628)
    at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:309)
    at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:617)
    at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:421)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
    at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:58)
    at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
    at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
    at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
    at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
    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.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
    at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
    at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
    at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
    at com.sap.portal.developmentTools.ideSpecific.eclipse.dcutils.DCBuildWrapper.run(DCBuildWrapper.java:49)
    at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:252)
    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:531)
    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.ideSpecific.eclipse.wizards.actions.WizardInvokeAction.invokeWizardInANewDialog(WizardInvokeAction.java:179)
    at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.actions.WizardInvokeAction.run(WizardInvokeAction.java:84)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:207)
    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)
    Ant runtime 8.863 seconds
    Ant build finished with ERRORS
    Failed to copy E:\sap_ep_prog\dc\.dtc\1\t\7FEDA11250B7CF9AB991A30B09B76536\com.***.par to E:\sap_ep_prog\dc\.dtc\1\DCs\***\portal_dev\***_logon\_comp\gen\default\local\com.***.par due to E:\sap_ep_prog\dc\.dtc\1\DCs\***\portal_dev\***_logon\_comp\gen\default\local\com.***.par (Access is denied)
    Error: Build stopped due to an error: Failed to copy E:\sap_ep_prog\dc\.dtc\1\t\7FEDA11250B7CF9AB991A30B09B76536\com.***.par to E:\sap_ep_prog\dc\.dtc\1\DCs\***\portal_dev\***_logon\_comp\gen\default\local\com.***.par due to E:\sap_ep_prog\dc\.dtc\1\DCs\***\portal_dev\***_logon\_comp\gen\default\local\com.***.par (Access is denied)
    Build plugin finished at 2014-07-15 18:36:07 GMT+05:30 (IST)
    Total build plugin runtime: 9.113 seconds
    Build finished with ERROR
    Regards
    Govardan

    Hi Talviv ,
       The folder where Par file is residing  has read only property i.e
    gen->local .
    but we should not change this property of a DC folder i guess , im getting this error sometimes and some times im able to deploy with out any error.
    Regards
    Govardan

  • Error while deploying the par file

    while deploying  an application in NWDS we are getting the error as"operation failed,please make sure that the server is running or check the log."
    we have ensured that the server is running,but the deployment is getting failed.
    Please suggest tips to deploy the PAR file successfully.
    Thanks.

    Hi,
    We are using NWDS to create a small application to develop ( for ex jspdynpage)
    .while deploying the par file or exporting it to the server,we are getting the error as "please make sure that the server running.HTTPS protocol is not supported,please ensure that this server is not using HTTPS.
    the server is running and is shown in green.
    we have also  disabled the proxy settings.
    we have also tried by specifiing the IP of the server in the proxy settings.
    the above steps didnt work.please suggest the things to do to make this working.
    thanks,
    rajani.

  • While deploying the soa components using ANT getting the 404 exception

    HI
    I am trying to deploy the soa composites using ANT i am getting the below exception.
    Please help me as it is need very urgert for client.
    Appriciate for the quick help
    Exception:
    ant -f build.xml deployOnlyApplication
    [WARN ][codegc ] Could not acquire large pages for 256Mbytes code (at 0xffffffff60000000).
    [WARN ][codegc ] Falling back to normal page size.
    Buildfile: build.xml
         [echo] property file   = /opt/oracle/SampleCode
    deployOnlyApplication:
        [input] Please enter Application Name:
    HelloWorld
         [echo] In deployOnlyApplication ApplicationName HelloWorld
         [echo] Application Name HelloWorld
         [echo] property file   = /opt/oracle/SampleCode
    deployApplication:
         [echo] deploy application HelloWorld
         [echo] /opt/oracle/SampleCode/code/HelloWorld/build.properties
         [echo] property file   = /opt/oracle/SampleCode
    deployProject:
         [echo] deploy project HelloProject for environment SIT
         [echo] partition default compositeName HelloProject compositeDir /opt/oracle/SampleCode/code/HelloWorld
         [echo] build sar package
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    clean:
         [echo] deleting /opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
    init:
    scac-validate:
         [echo] Running scac-validate in /opt/oracle/SampleCode/code/HelloWorld/HelloProject/composite.xml
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    scac:
         [scac] Validating composite "/opt/oracle/SampleCode/code/HelloWorld/HelloProject/composite.xml"
         [scac]  info: File to validate does not exist fault-policies.xml
         [scac]  info: No test suites available
    package:
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    compile-source:
        [mkdir] Created dir: /opt/oracle/SampleCode/code/HelloWorld/HelloProject/dist
         [copy] Copying 17 files to /opt/oracle/SampleCode/code/HelloWorld/HelloProject/dist
         [copy] Warning: /opt/oracle/SampleCode/code/HelloWorld/HelloProject/src not found.
          [jar] Building jar: /opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
       [delete] Deleting directory /opt/oracle/SampleCode/code/HelloWorld/HelloProject/dist
         [copy] Copying 1 file to /opt/oracle/SampleCode/builds/${build.number}
         [echo] deploy on http://10.51.80.64:7005 with user weblogic
         [echo] deploy sarFile /opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
    deploy:
        [input] skipping input as property serverURL has already been set.
        [input] skipping input as property sarLocation has already been set.
        [input] skipping input as property password has already been set.
    [deployComposite] setting user/password..., user=weblogic
    [deployComposite] Processing sar=/opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
    [deployComposite] Adding sar file - /opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
    [deployComposite] INFO: Creating HTTP connection to host:10.51.80.64, port:7005
    [deployComposite] INFO: Received HTTP response from the server, response code=404
    [deployComposite] SEVERE: Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 404
    [deployComposite] ---->response code=404, error:null
         [echo] stop activate HelloProject
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1/bin/..
    activateComposite:
        [input] skipping input as property host has already been set.
        [input] skipping input as property port has already been set.
        [input] skipping input as property user has already been set.
    [secure-input] skipping secure-input as property password has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1/bin/..
    compositeMgrTask:
         [java] [WARN ][codegc ] Could not acquire large pages for 256Mbytes code (at 0xffffffff60000000).
         [java] [WARN ][codegc ] Falling back to normal page size.
         [java] Connecting to: service:jmx:t3://10.51.80.64:7005/jndi/weblogic.management.mbeanservers.runtime
         [java] java.io.IOException: Unhandled exception in lookup
         [java]     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:196)
         [java]     at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
         [java]     at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerHelper.createJMXConnector(CompositeManagerHelper.java:91)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManager.initConnection(CompositeManager.java:48)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.execute(CompositeManagerAntWrapper.java:221)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.main(CompositeManagerAntWrapper.java:275)
         [java] Caused by: javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No]
         [java]     at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:291)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:227)
         [java]     at javax.naming.InitialContext.lookup(InitialContext.java:392)
         [java]     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:179)
         [java]     ... 6 more
         [java] Caused by: org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No
         [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         [java]     at java.lang.Class.newInstance0(Class.java:357)
         [java]     at java.lang.Class.newInstance(Class.java:310)
         [java]     at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:897)
         [java]     at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
         [java]     at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:572)
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:471)
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:358)
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
         [java]     at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
         [java]     at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:80)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:267)
         [java]     ... 9 more
         [echo] unit test HelloProject
         [echo] finish
         [echo] property file   = /opt/oracle/SampleCode
    deployProject:
         [echo] deploy project Project1 for environment SIT
         [echo] partition default compositeName Project1 compositeDir /opt/oracle/SampleCode/code/HelloWorld
         [echo] build sar package
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    clean:
         [echo] deleting /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
    init:
        [mkdir] Created dir: /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy
    scac-validate:
         [echo] Running scac-validate in /opt/oracle/SampleCode/code/HelloWorld/Project1/composite.xml
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    scac:
         [scac] Validating composite "/opt/oracle/SampleCode/code/HelloWorld/Project1/composite.xml"
         [scac]  info: File to validate does not exist fault-policies.xml
         [scac]  info: No test suites available
    package:
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    compile-source:
        [mkdir] Created dir: /opt/oracle/SampleCode/code/HelloWorld/Project1/dist
         [copy] Copying 15 files to /opt/oracle/SampleCode/code/HelloWorld/Project1/dist
         [copy] Warning: /opt/oracle/SampleCode/code/HelloWorld/Project1/src not found.
         [copy] Copying 2 files to /opt/oracle/SampleCode/code/HelloWorld/Project1/dist/SCA-INF/classes
          [jar] Building jar: /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
       [delete] Deleting directory /opt/oracle/SampleCode/code/HelloWorld/Project1/dist
         [copy] Copying 1 file to /opt/oracle/SampleCode/builds/${build.number}
         [echo] deploy on http://10.51.80.64:7005 with user weblogic
         [echo] deploy sarFile /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
    deploy:
        [input] skipping input as property serverURL has already been set.
        [input] skipping input as property sarLocation has already been set.
        [input] skipping input as property password has already been set.
    [deployComposite] setting user/password..., user=weblogic
    [deployComposite] Processing sar=/opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
    [deployComposite] Adding sar file - /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
    [deployComposite] INFO: Creating HTTP connection to host:10.51.80.64, port:7005
    [deployComposite] INFO: Received HTTP response from the server, response code=404
    [deployComposite] SEVERE: Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 404
    [deployComposite] ---->response code=404, error:null
         [echo] stop activate Project1
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1/bin/..
    activateComposite:
        [input] skipping input as property host has already been set.
        [input] skipping input as property port has already been set.
        [input] skipping input as property user has already been set.
    [secure-input] skipping secure-input as property password has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1/bin/..
    compositeMgrTask:
         [java] [WARN ][codegc ] Could not acquire large pages for 256Mbytes code (at 0xffffffff60000000).
         [java] [WARN ][codegc ] Falling back to normal page size.
         [java] Connecting to: service:jmx:t3://10.51.80.64:7005/jndi/weblogic.management.mbeanservers.runtime
         [java] java.io.IOException: Unhandled exception in lookup
         [java]     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:196)
         [java]     at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
         [java]     at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerHelper.createJMXConnector(CompositeManagerHelper.java:91)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManager.initConnection(CompositeManager.java:48)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.execute(CompositeManagerAntWrapper.java:221)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.main(CompositeManagerAntWrapper.java:275)
         [java] Caused by: javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No]
         [java]     at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:291)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:227)
         [java]     at javax.naming.InitialContext.lookup(InitialContext.java:392)
         [java]     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:179)
         [java]     ... 6 more
         [java] Caused by: org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0
         [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
         [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
         [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
         [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:51
         [java]     at java.lang.Class.newInstance0(Class.java:357)
         [java]     at java.lang.Class.newInstance(Class.java:310)
         [java]     at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.get
         [java]     at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_
         [java]     at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSy
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherIm
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherIm
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke
         [java]     at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457
         [java]     at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.jav
         [java]     ... 9 more
         [echo] unit test Project1
         [echo] finish
         [echo] finished Composite HelloWorld deployment
    BUILD SUCCESSFUL
    Total time: 1 minute 7 seconds
    Note : All the server name and port no are depfined properly.
    Regards,
    Anilkumar P

    Hi,
    I was getting exactly same error. I have resolved it by putting the
    <target name="enterPassword" >
            <input message="Please enter Weblogic password:" addproperty="passwd">
                <handler classname="org.apache.tools.ant.input.SecureInputHandler" />
            </input>      
    in my build.xml
    It means that it was not able to read password properly in bin/ant-sca-mgmt.xml
    Password was the issue in my case. it is working now.
    Thanks,
    Arun Jadhav

  • Chaging WebService URL after deploying iView(PAR file)

    Hi,
    I am creating an iView using .Net PDK and will be accessing methods of a WebService using a proxy class.
    I don't want to hardcode URL of the WebService in my proxy class.
    Is there any solution by which I can read URL from some config file, so that if I want to change URL of web service, I just have to change the content of the config file instead of recompiling proxy class and deploying new PAR file.
    Regards,
    Ajay

    Hi ajay,
    You can define it as a property of the iView.
    For details see:
    .NET iView
    and:
    https://media.sdn.sap.com/html/submitted_docs/PDK_for_dotNET_10/Tutorials/Personalization.htm
    Hope that helps,
    Yoav.

  • Error while deploying a PAR file from NWDS into an ECC.

    Hi all,
    I am getting this error while deploying a PAR file from NWDS into an ECC.
    Operation Failed: Please make sure the server is running or check the log (sap-plugin.log) for
    more detail.
    My server is running properly
    1 - Where is sap-plugin.log file? I don´t find it. 
    2 - Could there be another file with another name with information about the error?
    3 - Is there another way to deploy the file directly from the ECC?
    Regards,

    Hi,
    Just make sure you have maintained correct server setting to check the same open the NWDS and follow this path
    Windows/ Prefereces / SAP Enterprise Portal
    Check the following enteries
    Alias
    Host
    Port
    Login etc.
    Regards,

  • Unable to deploy the PAR file after the first successfully deploy.

    Hi, my gurus.
    I found a problem when I developed the JspDynPage.
    That is after  first deploy the PAR file successfully,I found there is a miss in portalapp.xml, so I correct the miss and then do a second delpoy.But it didn't work.
    I goto the Server's file system to find the portalapp.xml,
    the content of xml was still the old one.
    Anyone can help me, I don't want restart the J2EE Engine,
    because the restart will last for 15mintues.
    Thanks.

    Hi,
    I dont think there is no need to restart your J2EE Engine.
    Becuase i dont think you have a requirement to create an iview from that PAR File
    If it is so delete the previous iview and create a new iview.
    From the updated PAR File in ur System
    Every Time when you uplaod the PAR the old instance will be lost.and new changes will come into effect on each upload done by you.
    There is no question of restarting ur J2EE Engine.
    Whenever there is a change in you PAR.
    Hope this Helps you.
    Thanks & Regards,
    Lokesh.
    Reward Points if helpfull

  • Creating data and .par files using SWIFT Integration Package

    Hi,
    I have a requirement to generate a data and .par file using SAP PI Integration package for SWIFT.
    I am following the SAP Note: 1303428.
    I have created 1 sender and 2 receiver comm channels(one for payload and other for par). Used operation mapping SWIFT_payload_parFile_split in the Interface determination.
    I am using the adapter module : localejbs/swift/FileActConversionToSWIFTModule and setting the parameter DetachParameters to true. This adapter module is being used in all the three channels(1 sender and 2 receivers).
    I have used ASMA ans has set the FileName checkbox.
    Now after placing the file in the input directory, the file with the same name gets created in the output directory but the file is exactly same and also no .par file is getting created. I have set the Empty file handling to Ignore, so it shows that there is no data to  create a .par file and only payload file is getting created but the payload file is exactly same.
    Also if I use the adapter module : localejbs/swift/FileActConversionToSWIFTModule in only the sender communication channel, a payload file gets created like below.
    <?xml version="1.0" encoding="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cj4KICAgICAgIDxDdHJ5Pk5MPC9DdHJ5PgogICAgICA8L1BzdGxBZHI+CiAgICAgIDxJZD4KICAgICAgIDxPcmdJZD4KICAgICAgICA8T3Rocj4KICAgICAgICAgPElkPjAwMTUwMDAxOTc8L0lkPgogICAgICAgIDwvT3Rocj4KICAgICAgIDwvT3JnSWQ+CiAgICAgIDwvSWQ+CiAgICAgPC9DZHRyPgogICAgIDxDZHRyQWNjdD4KICAgICAgPElkPgogICAgICAgPElCQU4+TkwxMjAwMzA0NTY3ODkxMjAwMDA8L0lCQU4+CiAgICAgIDwvSWQ+CiAgICAgIDxDY3k+RVVSPC9DY3k+CiAgICAgIDxObT5BTFhOIE5MIERvbWVzdGljIFZlbmRvcjwvTm0+CiAgICAgPC9DZHRyQWNjdD4KICAgICA8Um10SW5mPgogICAgICA8VXN0cmQ+L1BNREQvVEVTVDY4MSw1OTAuMDAsRVVSLDIwMTQwMzI8L1VzdHJkPgogICAgIDwvUm10SW5mPgogICAgPC9DZHRUcmZUeEluZj4KICAgPC9QbXRJbmY+CiAgPC9Dc3RtckNkdFRyZkluaXRuPgogPC9Eb2N1bWVudD4KPC9GaWxlPgo=</payload></ns1:SWIFT_payload>
    But while creating the par file, it shows that the file could not be overwritten and so the .par file is not getting created.
    I need to understand that:
    1)  How do I configure both of my receiver channels i.e. what should be the difference. Currently, I am just setting the
    same Output directory in both and file name schema * and has used ASMA with FileName parameter. So same name files are getting created and so one file gets discarded. How to create a .par file.
    2) Also Is the file above is the correct file required by SWIFT.
    3) Also when I check in SXMB_MONI, I can see that after running the adapter module same payload as given above is going in both payload and par files i.e. also if I am using different names in my receiver communication channels two files are getting created payload and par both are having the same payload. So what exactly should get created.
    Kindly guide on this implementation.

    Hi,
    I am able to generate the .par file by setting the localsecurity to true and the KeyId from the key manager.
    Now two files are getting created .xml and .par. .xml file which is the payload file is the same as the input file with no difference and contains both the overrides and the data parameters. The .par file contains the Algorithm and the Value.
    Is this correct?
    Also suppose the input file name is SEPA.xml, then the payload file is created with the name as
    SEPA.xml and the par file is created with the name SEPA.xml.par. I need only SEPA.par. How to achieve this.

  • How to compile Java files using Ant in Eclipse

    Hi All ,
    I would like to compile all Java files using Ant in Eclipse.Since am very new to Ant and Eclipse can someone help me to create a build.xml file and let me know how to compile all the java files.
    For ex , I have placed my java files inside the path C:\HEC\Terab.Initially the Terab folder holds 7 jar files which i had decompiled using JD compiler and placed the unzipped 7 folders (which contains the java files ).Now i have imported the HEC project into Eclipse using New ->Project ->Java Project.after importig it throwed me an error saying missing jar files.again i copied the jar files and placed inside Terab folder with other 7 folder.
    Now How i can compile the java files and convert in to class files.Then after compiling the files i will again need to jar all the 7 folder.
    Please tell me the steps i need to follow.How to write an build.xml file ? where i should keep it ? only one build.xml file is enough or should i write 7 build.xml file for each folder ? Please help me out...
    Thanks & Regards
    Kar1983

    put it another way, what I am trying to do is to compile David Brackeen's ch 18 code from his book. The java sourse files can be downloaded here:
    http://www.brackeen.com/javagamebook/
    my question is that how would I complie all of these file so that I can get the program in ch18src\src\com\brackeen\javagamebook\test\ to run?

  • Deployment of .war file using JMX in jboss 4.0.5 GA

    Hi,
    Can anyone help me out in the steps of deployment of .war file using JMX in JBOSS 4.0.5 server.I went through the documentation in jboss.org but couldn't find a suitable one though there were many.Any links/url that you know about the deployment process will also be helpful to me.
    Thanks

    You're probably using an older version of JavaMail where there was a bug in the example
    DummySSLSocketFactory. Download the latest version and the example is correct.
    Also, if you're using DummySSLSocketFactory just to control which servers you trust,
    JavaMail 1.4.3 has some properties that will make this easier for you and avoid the need
    for DummySSLSocketFactory. In particular, see the mail.imaps.ssl.trust property.

  • Deploying a soa composite using ant

    hi
    can any one explain me how to deploy a soa application using ant? i had generated build.xml using jdev.but when deploying using ant am getting java.awt.HeadlessException.do i need to modify anything in the build.xml or build.properties ?please help

    Take a look at this blog post as well:
    http://soadiscovery.blogspot.com/2011/05/soa-11g-deploying-composite-through-ant.html
    Thanks,
    Navaneeth

  • 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

  • URGENT : Deploying a PAR file

    Dear Portal gurus,
    I have a PAR file which I need to deploy into EP.
    EP 6.0, SP9.
    I have tried Sys Admin --> Support --> Portal Runtime ---> Admin Console ---> Archive Uploader.
    It gives me the message successfullly uploaded...
    But when I try to create an iview from PAR I do not see the uploaded(deployed) PAR file.
    However I have done something like this in the past and was always able to see it while creating Iviews from PAR.
    Option  2: Deploy thru EP server ---> services ---> Deploy ---> Single file Update (choose Applications) .
    This case where should it be deployed ?
    is it under :  sap.com/irj ---> servlet-jsp ---> irl-web
    I do not want to use SDM.
    Appreciate your inputs.
    Thanks.
    Josh

    Hi Josh,
    May be its the reason that the application has been restricted in it's permissions(see this <a href="http://help.sap.com/saphelp_nw04/helpdata/en/f6/2604e505fd11d7b84200047582c9f7/frameset.htm">link</a>)- "Administrator Permissions For portal components".
    You must have at least the read permission for the application- that means under System Administration - Permissions - Portal Permissions - Applications - <YourApp>.
    Check permissions level in this location System Administration - Permissions - Portal Permissions - Applications
    If you don't have enough permisssions then you cannot see your par file.
    Regards,
    Pooja.

  • JSP precompilation and my .java files compilation issues /  building WAR file using ANT

    Hello.
    I am new to working with WAR files and the whole process of it. A little
    background on what we are using. We are using, WLS 6.1 SP3. I am using the
    ant.bat that is supplied in the bin directory of the WLS install.
    I am trying to work with ANT and getting it to build the file. I am making
    progress, but at a point where I am having trouble getting my java code
    files to compile using ant. I am having one issue and looking to do one
    other item.
    1) I would like to precompile the JSPs if possible prior to putting into the
    WAR file. Not sure if this is done or not, but there was a utility when I
    was working with ibm's app server that gave us the ability to do a batch
    complile. Was thinking that maybe a similair concept is possibly here.
    2) Having issue getting ant to compile code properly. In the compile
    section of the build.xml file for ant, I tell it where the source files are,
    and the destionation folder for the compiled class files. I then try to set
    the classpath so that it finds the .jar files that are necessary for my
    source files to complile. But, it won't find them. And not sure how come.
    I may be going about this all wrong, but dont know. Here is the compile
    section of the build.xml I am using:
    <target name="compile" depends="prepare">
    <javac srcdir="classes" destdir="${deploy.home}/WEB-INF/classes"
    classpath="$(lib.home)"
    debug="on" optimize="on" deprecation="off"/>
    </target>
    One note, I've tried many different items in the classpath line, which
    don't work. if I do *.jar it fails at complie time, invalid argument. As
    well as if I use *.* and so on. if I list the explicit file names, it still
    doesn't seem to find them.
    I was wondering if anyone could help, if you need anymore information let me
    know, I can send the entire build.xml if necessary. I may be missing
    items, seeing that this is my first try at using ANT.
    Any help is appreciated and thanks in advance. Hopefully not sounding too
    off the wall. Hopefully get some clarification and understanding.
    Thank you.
    Kevin.

    Kevin Price wrote:
    Hello.
    I am new to working with WAR files and the whole process of it. A little
    background on what we are using. We are using, WLS 6.1 SP3. I am using the
    ant.bat that is supplied in the bin directory of the WLS install.
    I am trying to work with ANT and getting it to build the file. I am making
    progress, but at a point where I am having trouble getting my java code
    files to compile using ant. I am having one issue and looking to do one
    other item.
    1) I would like to precompile the JSPs if possible prior to putting into the
    WAR file. Not sure if this is done or not, but there was a utility when I
    was working with ibm's app server that gave us the ability to do a batch
    complile. Was thinking that maybe a similair concept is possibly here.you can use weblogic.jspc
    http://e-docs.bea.com/wls/docs70/jsp/reference.html#57794
    or just set the precompile flag in weblogic.xml
    You can configure WebLogic Server to precompile your JSPs when a Web
    Application is deployed or re-deployed or when WebLogic Server starts up
    by setting the precompile parameter to true in the <jsp-descriptor>
    element of the weblogic.xml deployment descriptor.
    >
    2) Having issue getting ant to compile code properly. In the compile
    section of the build.xml file for ant, I tell it where the source files are,
    and the destionation folder for the compiled class files. I then try to set
    the classpath so that it finds the .jar files that are necessary for my
    source files to complile. But, it won't find them. And not sure how come.
    I may be going about this all wrong, but dont know. Here is the compile
    section of the build.xml I am using:
    <target name="compile" depends="prepare">
    <javac srcdir="classes" destdir="${deploy.home}/WEB-INF/classes"
    classpath="$(lib.home)"
    debug="on" optimize="on" deprecation="off"/>
    </target>
    maybe because you are not using curly braces there on lib.home??
    if you do it the way above, you would have to list all your jars
    classpath="$(lib.home)\lib1.jar:$(lib.home)\lib2.jar"
    or you can nest
    <javac srcdir="classes" destdir="${deploy.home}/WEB-INF/classes"
    debug="on" optimize="on" deprecation="off">
         <classpath>
              <fileset dir="${lib.home}" includes="*.jar" />
         </classpath>
    </javac>
    One note, I've tried many different items in the classpath line, which
    don't work. if I do *.jar it fails at complie time, invalid argument. As
    well as if I use *.* and so on. if I list the explicit file names, it still
    doesn't seem to find them.
    I was wondering if anyone could help, if you need anymore information let me
    know, I can send the entire build.xml if necessary. I may be missing
    items, seeing that this is my first try at using ANT.
    Any help is appreciated and thanks in advance. Hopefully not sounding too
    off the wall. Hopefully get some clarification and understanding.
    Thank you.
    Kevin.

Maybe you are looking for

  • 0CO_OM_OPA_6 creation time for delta Q in R/3

    Hi all, Once a month a job on R/3 runs to generate the actual costs/billing for CS-orders. These are then picked up by datasource 0CO_OM_OPA_6 for transfer to BW where the month-end reports can be made. The monthly R/3 job runs on the 4th of each mon

  • Aligning HP D4160 Printer

    I recently had to replace a cartridge in my HP Deskjet D4160 printer. Whenever I do this, I realign the carts using the HP printer maintenance utility. However, I've discovered that the align function no longer works. I assume this is related to the

  • My iPad hang.How to sovle that problem?

    Hi, my iPad hang. Screen just show facebook only. Cannot turn of, not function swipe. What should I do?

  • Spatial Query, Use Multiple Cores

    Basic question, is SQL 2012 running on Windows 2008 R2 64 bit expected to use multiple cores to execute it's tasks? I have a table of points, 480, that has 3 empty columns that are being updated from 3 separate tables of polygons via a spatial join b

  • Printing labels in AddressBook

    I recently discovered, after finding out that iDress is no longer available, that you can print labels out of the AddressBook app. I figured out how to print groups such as a Christmas list etc. but I cannot figure out how to print repeated labels of