Error using xmlparserv2-904.jar in Reports9i to BI Publisher conversion

I'm attempting a conversion of an Oracle Reports9i report in XML format to BI Publisher, as described in http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/convertrpts.htm.
I run the following command:
java.exe -classpath %classpath% oracle.apps.xdo.rdfparser.BIPBatchConversion -source F:\CF_Reports_10g -target F:\CF_Reports_OBI -debug
This returns the following error:
java.lang.UnsupportedClassVersionError: /oracle/apps/xdo/rdfparser/BIPBatchConversion (Unsupported major.minor version 49.0)
The above web page specifies that xmlparserv2-904.jar be used in %classpath%. However, my installation of JDK6 update 14 doesn't contain this library. It only contains xmlparserv2.jar, so I use this in %classpath%.
I'm assuming that this is causing the error.
I also installed JDK5 update 17, but got the same error.
Has anyone had any experience of this?
Thanks,
Stephen

Hi,
I am unable to locate in xmlparserv2-904.jar under JAVA_TOP/classes in oracle apps. Or in Oracle TopLink Software Downloads. Were you able to download/locate these mandatory files?
Thanks,
XRAV

Similar Messages

  • Xmlparserv2.jar conflicts with xmlparserv2-904.jar

    Hi everyone,
    I'm trying to use the BI Publisher APIs within a Java Embedding activity. These APIs uses the xmlparserv2-904.jar version of the library. But the oracle.xml shared library that the OC4J instance contains, uses the xmlparserv2.jar which is not compatible with the BI Publisher APIs. Is there a way i can tell a BPEL process to use the version of the library that I deploy with my projet instead of using those from the OC4J instance shared libraries??
    Any help is welcome!!
    P.S: See post:
    XML publisher with jdeveloper
    Message was edited by:
    GMB

    Now one has any advice? :(

  • Error using compiled FormsGraph.jar

    Hi,
    I need to modify the "SCROLLBAR" found in the FormsGraph.java therefore, i did the following:
    I was able to compile FormsGraph.java by using setTabularData() instead of the setLocalRelationalData() method. (Compilation was done on JRE1.3)
    After this modification, i directly exported my java project to a FormsGraph.jar and placed it under forms/java.
    After running the form got the following error in the Java console :
    java.lang.NoSuchMethodError: java.lang.NoClassDefFoundError.initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
    Knowing that the provided FormsGraph.java works perfectly, Can anyone advice what's the problem
    thanks
    Lanlani

    Hi,
    The mismatch is the problem. Please get the latest files from Struts 1.2.x and update your project.
    http://struts.apache.org/downloads.html
    Then it would work.
    cheers
    babu

  • Getting error while calling external Jars in BPEL by using Java embedding activity in soa 12c

    Hi,
    I am trying to use an external Jars for the business logic implementation. Here I need to pass XML as input and
    and I expect the "Password " field has to be return.
    Following are the steps I have followed:
    1) Created a java project with sample class and added the external jars into the project "Libraries &Classpath".
    2) Created a jar file out of it.
    3) Created a BPEL project with Java Embedding.
    4)Wrote the java code in java embedding activity.
    4) Added the above created jar file to the BPEL project's lib/jar  and added in SCA-INF/lib project folder as well.
    5) Imported the package with the class as in the jar (e.g <bpelx:exec
    import="pkg.testInterface"/>)
    6) Deploy the BPEL project.
    while deploying the SOA build is sucessful but my depoyment is incomplete.
    error:
    advices will be great....
    Regards,
    Dilip

    Hi,
    Can you confirm if the BPEL Version is 1.1 or 2.0.
    If you are using BPEL 2.0 you need to import the required jar/class file as:
    <import importtype="http://schemas.oracle.com/bpel/extension/java" location="pkg.testInterface"/>
    For BPEL 1.1 the syntax to import other jar/class file is:
    <bpelx:exec import="pkg.testInterface"/>
    If you import the classes in the correct format you will not face any deployment error.

  • Error in using the apache jars with jsf-ibm jars

    Hi,
    I am doing an application which needs apache jars for implementing the custom component(calendar).The WEB-INF/lib folder contain the jsf-api,jsf-impl jars along with the myfaces and tomahawk jars.When i tried to run the server i am getting the following error
    [03/10/07 12:16:53:544 BST] 0000003a ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet Faces Servlet: java.lang.NullPointerException
    at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
    at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    [03/10/07 12:16:53:841 BST] 0000003a WebApp E SRVE0026E: [Servlet Error]-[Faces Servlet]: java.lang.NullPointerException
    at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
    at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    **Could u suggest a solution for using the apache jars**

    Hi,
    I am using RAD 6.0. When i tried to redeploy and publish the project i am getting the given error. Provided that i have added apache jars and jsf jars to the WEB-INF/lib directory.
    [04/10/07 09:29:36:911 BST] 00000032 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [04/10/07 09:29:38:161 BST] 00000032 SystemOut O null, false, 0
    [04/10/07 09:29:38:177 BST] 00000032 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [04/10/07 09:29:38:411 BST] 00000032 SystemOut O /C:/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v6/properties/version.properties, false, 1174477509484
    [04/10/07 09:29:38:442 BST] 00000102 SystemOut O The tasks are: [com.ibm.ws.management.application.task.DeleteSIEntryTask, com.ibm.ws.management.application.task.DeleteAppConfigTask]
    [04/10/07 09:29:38:536 BST] 00000102 SystemOut O ADMA6018I: The node-server relationship for this application is {cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01=[cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01/servers/server1]}
    [04/10/07 09:29:38:567 BST] 00000102 SystemOut O ADMA6021I: Removing the serverindex entry for TestProjectEAR.ear/deployments/TestProjectEAR for server server1 on node W-GHO-043723Node01, and the return code is true
    [04/10/07 09:29:39:052 BST] 000000f1 SystemOut O /C:/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v6/properties/version.properties, false, 1174477509484
    [04/10/07 09:29:39:052 BST] 00000105 SystemOut O ================== W-GHO-043723Node01Cell
    [04/10/07 09:29:39:114 BST] 00000105 SystemOut O ADMA6010I: The tasks are [com.ibm.ws.webservices.deploy.WSDeployTask, com.ibm.websphere.migration.common.ApplicationInstallTask, com.ibm.websphere.migration.common.ApplicationInstallServlet12Task, com.ibm.ws.management.application.task.ValidateAppTask, com.ibm.ws.management.application.task.ConfigureTask, com.ibm.ws.management.application.task.InstalledOptionalPackageTask, com.ibm.ws.management.application.task.MetadataTask, com.ibm.ws.management.application.task.BackupAppTask, com.ibm.ws.management.application.task.ConfigArchiveTask, com.ibm.ws.management.application.task.DeltaDataTask, com.ibm.ws.appprofile.AppProfileInstallTask, com.ibm.ws.security.authorize.JaccServerTask]
    [04/10/07 09:29:39:255 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [04/10/07 09:29:39:302 BST] 00000105 SystemOut O App validation: 0
    [04/10/07 09:29:39:427 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [04/10/07 09:29:39:473 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/deployment.xml is saved.
    [04/10/07 09:29:39:473 BST] 00000105 SystemOut O saved res: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/deployment.xml=== com.ibm.ws.sm.workspace.migration.WSResourceImpl@2cbcb698 uri='deployment.xml'
    [04/10/07 09:29:39:489 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [04/10/07 09:29:39:505 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/variables.xml is saved.
    [04/10/07 09:29:39:505 BST] 00000105 SystemOut O saved res: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/variables.xml=== com.ibm.ws.sm.workspace.migration.WSResourceImpl@6be17698 uri='variables.xml'
    [04/10/07 09:29:39:567 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/resources.xml is saved.
    [04/10/07 09:29:39:567 BST] 00000105 SystemOut O saved res: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/resources.xml=== com.ibm.ws.sm.workspace.migration.WSResourceImpl@77d23698 uri='resources.xml'
    [04/10/07 09:29:39:567 BST] 00000105 SystemOut O ADMA6018I: The node-server relationship for this application is {cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01=[cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01/servers/server1]}
    [04/10/07 09:29:39:567 BST] 00000105 SystemOut O ADMA6020I: The system is adding the serverindex entry for cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR for server server1 on node W-GHO-043723Node01
    [04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\META-INF/.modulemaps is saved.
    [04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6016I: Add to workspace META-INF/.modulemaps
    [04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\META-INF/application.xml is saved.
    [04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6016I: Add to workspace META-INF/application.xml
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\META-INF/MANIFEST.MF is saved.
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/META-INF/MANIFEST.MF
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/faces-config.xml is saved.
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/faces-config.xml
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/ibm-web-bnd.xmi is saved.
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/ibm-web-bnd.xmi
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/ibm-web-ext.xmi is saved.
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/ibm-web-ext.xmi
    [04/10/07 09:29:39:661 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/web.xml is saved.
    [04/10/07 09:29:39:661 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/web.xml
    [04/10/07 09:29:39:661 BST] 00000105 SystemOut O ADMA5037I: The system is starting to back up the application at C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear
    [04/10/07 09:29:41:598 BST] 00000105 SystemOut O ADMA5038I: The system Completed the backup of the application at C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\TestProjectEAR.ear
    [04/10/07 09:29:42:130 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [04/10/07 09:29:42:333 BST] 00000105 SystemOut O xmlDoc: [#document: null]
    [04/10/07 09:29:42:333 BST] 00000105 SystemOut O root element: [app-delta: null]
    [04/10/07 09:29:42:333 BST] 00000105 SystemOut O ****** delta file name: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear/deltas/TestProjectEAR.ear/delta-1191486582333
    [04/10/07 09:29:42:598 BST] 00000105 SystemOut O ADMA6011I: Deleting directory tree C:\DOCUME~1\i81322\LOCALS~1\Temp\app_1156a22616c
    [04/10/07 09:29:45:630 BST] 000000f1 ApplicationMg A WSVR0217I: Stopping application: TestProjectEAR
    [04/10/07 09:29:45:708 BST] 000000f1 ApplicationMg A WSVR0220I: Application stopped: TestProjectEAR
    [04/10/07 09:29:45:880 BST] 000000f1 SystemOut O ++++ Stopped : [WebSphere:platform=dynamicproxy,cell=W-GHO-043723Node01Cell,version=6.0.0.0,name=ApplicationManager,mbeanIdentifier=ApplicationManager,type=ApplicationManager,node=W-GHO-043723Node01,process=server1]
    [04/10/07 09:29:46:083 BST] 000000f1 SystemOut O ++++ Starting name=TestProjectEAR
    [04/10/07 09:29:46:145 BST] 000000f1 ApplicationMg A WSVR0200I: Starting application: TestProjectEAR
    [04/10/07 09:29:46:817 BST] 000000f1 ResourceMgrIm I WSVR0049I: Binding DefaultEJBTimerDataSource as jdbc/DefaultEJBTimerDataSource
    [04/10/07 09:29:46:833 BST] 000000f1 WebGroup A SRVE0169I: Loading Web Module: TestProject.
    [04/10/07 09:29:47:130 BST] 000000f1 WebApp E Extension processor failed to initialize in factory: com.ibm.ws.jsp.webcontainerext.JSPExtensionFactory@5e0e36db
    [04/10/07 09:29:47:161 BST] 000000f1 jsf E com.ibm.ws.jsf.util.FacesConfigUtil parseJSFApplicationConfig Can't parse configuration file:wsjar:file:/C:/i81322/ApacheTest/TestProject/WebContent/WEB-INF/lib/tomahawk-1.1.6.jar!/META-INF/faces-config.xml
    java.lang.NullPointerException
         at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
         at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at com.ibm.ws.jsf.configuration.FacesConfigParser.parse(FacesConfigParser.java:279)
         at com.ibm.ws.jsf.configuration.FacesConfigParser.parse(FacesConfigParser.java:253)
         at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFApplicationConfig(FacesConfigUtil.java:202)
         at com.ibm.ws.jsf.util.FacesConfigUtil._parseJSFConfiguration(FacesConfigUtil.java:122)
         at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFConfiguration(FacesConfigUtil.java:82)
         at com.sun.faces.util.Util.verifyFactoriesAndInitDefaultRenderKit(Util.java:465)
         at com.ibm.ws.jsf.configuration.FacesConfig.initialize(FacesConfig.java:96)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:83)
         at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1355)
         at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:371)
         at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
         at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
         at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1161)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java(Compiled Code))
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java(Compiled Code))
         at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
         at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
         at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java(Compiled Code))
         at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java(Compiled Code))
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java(Compiled Code))
         at com.ibm.ws.management.application.sync.StartDeploymentTask.startDeployment(StartDeploymentTask.java:196)
         at com.ibm.ws.management.application.sync.StartDeploymentTask.fullAppUpdate(StartDeploymentTask.java:92)
         at com.ibm.ws.management.application.sync.StartDeploymentTask.performTask(StartDeploymentTask.java:81)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:631)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:408)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.java:330)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor$2.run(AppBinaryProcessor.java:302)
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.management.application.sync.AppBinaryProcessor.onChangeCompletion(AppBinaryProcessor.java:296)
         at com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1653)
         at com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1211)
         at com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
         at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:482)
         at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1730)
         at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1676)
         at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:455)
         at com.ibm.ws.management.application.task.ConfigRepoHelper.removeWorkSpace(ConfigRepoHelper.java:107)
         at com.ibm.ws.management.application.RedeploymentManager.doCleanup(RedeploymentManager.java:243)
         at com.ibm.ws.management.application.RedeploymentManager.appEventReceived(RedeploymentManager.java:187)
         at com.ibm.ws.management.application.RedeploymentManager.handleNotification(RedeploymentManager.java:210)
         at com.ibm.ws.management.event.ListenerInfo$1.run(ListenerInfo.java:125)
         at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2504)
         at com.ibm.ws.security.auth.distContextManagerImpl.runAsSpecified(distContextManagerImpl.java:2398)
         at com.ibm.ws.management.event.ListenerInfo.handleNotification(ListenerInfo.java:143)
         at com.ibm.ws.management.event.NotificationDispatcher$DispatchANotificationToAListener.run(NotificationDispatcher.java:346)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    [04/10/07 09:29:47:583 BST] 000000f1 WebApp E Can't parse configuration file:wsjar:file:/C:/i81322/ApacheTest/TestProject/WebContent/WEB-INF/lib/tomahawk-1.1.6.jar!/META-INF/faces-config.xml
    [04/10/07 09:29:47:598 BST] 000000f1 WebApp W No Extension Processor found for handling JSPs
    [04/10/07 09:29:47:630 BST] 000000f1 VirtualHost I SRVE0250I: Web Module TestProject has been bound to default_host[*:9080,*:80,*:9443].
    [04/10/07 09:29:47:661 BST] 000000f1 ApplicationMg A WSVR0221I: Application started: TestProjectEAR
    [04/10/07 09:29:47:708 BST] 000000f1 FileRepositor A ADMR0009I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deltas/TestProjectEAR.ear/delta-1191486582333 is created.
    [04/10/07 09:29:47:770 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/META-INF/MANIFEST.MF is modified.
    [04/10/07 09:29:47:817 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/resources.xml is modified.
    [04/10/07 09:29:47:817 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/security.xml is modified.
    [04/10/07 09:29:47:833 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/TestProjectEAR.ear is modified.
    [04/10/07 09:29:47:864 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/ibm-web-bnd.xmi is modified.
    [04/10/07 09:29:47:864 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/deployment.xml is modified.
    [04/10/07 09:29:47:880 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/faces-config.xml is modified.
    [04/10/07 09:29:47:880 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/META-INF/application.xml is modified.
    [04/10/07 09:29:47:911 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/META-INF/.modulemaps is modified.
    [04/10/07 09:29:47:927 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/web.xml is modified.
    [04/10/07 09:29:47:927 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/ibm-web-ext.xmi is modified.
    [04/10/07 09:29:47:958 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01/serverindex.xml is modified.
    [04/10/07 09:29:47:973 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/variables.xml is modified.
    [04/10/07 09:29:47:973 BST] 000000f1 FileRepositor A ADMR0011I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deltas/TestProjectEAR.ear/delta-1191411855841 is deleted.
    [04/10/07 09:29:47:130 BST] 000000f1 SystemErr R java.lang.LinkageError: LinkageError while defining class: org.apache.myfaces.webapp.StartupServletContextListener
    Could not be defined due to: org/apache/myfaces/webapp/StartupServletContextListener (Unsupported major.minor version 49.0)
    This is often caused by having a class defined at multiple
    locations within the classloader hierarchy. Other potential causes
    include compiling against an older or newer version of the class
    that has an incompatible method signature.
    Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
    ==>[0]
    com.ibm.ws.classloader.CompoundClassLoader@3d37b6d4
    Local ClassPath: C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\classes;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-beanutils-1.7.0.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-codec-1.3.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-collections-3.2.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-digester-1.8.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-discovery-0.4.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\jsf-api.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\jsf-ibm.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\jstl.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\myfaces-api-1.2.0.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\myfaces-impl-1.2.0.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\tomahawk-1.1.6.jar;C:\i81322\ApacheTest\TestProject\WebContent;
    Delegation Mode: PARENT_LAST
    [1] com.ibm.ws.classloader.ProtectionClassLoader@2b27f6d5
    [2] com.ibm.ws.bootstrap.ExtClassLoader@7ef236d6
    [3] sun.misc.Launcher$AppClassLoader@7ef876d6
    [4] sun.misc.Launcher$ExtClassLoader@7efc76d6
    ---Original exception---
    java.lang.UnsupportedClassVersionError: org/apache/myfaces/webapp/StartupServletContextListener (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576)
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java(Compiled Code))
         at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.<init>(JSPExtensionProcessor.java:158)
         at com.ibm.ws.jsp.webcontainerext.JSPExtensionFactory.createExtensionProcessor(JSPExtensionFactory.java:96)
         at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1068)
         at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:363)
         at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
         at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
         at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1161)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java(Compiled Code))
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java(Compiled Code))
         at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
         at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
         at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java(Compiled Code))
         at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java(Compiled Code))
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java(Compiled Code))
         at com.ibm.ws.management.application.sync.StartDeploymentTask.startDeployment(StartDeploymentTask.java:196)
         at com.ibm.ws.management.application.sync.StartDeploymentTask.fullAppUpdate(StartDeploymentTask.java:92)
         at com.ibm.ws.management.application.sync.StartDeploymentTask.performTask(StartDeploymentTask.java:81)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:631)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:408)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.java:330)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor$2.run(AppBinaryProcessor.java:302)
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.management.application.sync.AppBinaryProcessor.onChangeCompletion(AppBinaryProcessor.java:296)
         at com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1653)
         at com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1211)
         at com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
         at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:482)
         at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1730)
         at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1676)
         at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:455)
         at com.ibm.ws.management.application.task.ConfigRepoHelper.removeWorkSpace(ConfigRepoHelper.java:107)
         at com.ibm.ws.management.application.RedeploymentManager.doCleanup(RedeploymentManager.java:243)
         at com.ibm.ws.management.application.RedeploymentManager.appEventReceived(RedeploymentManager.java:187)
         at com.ibm.ws.management.application.RedeploymentManager.handleNotification(RedeploymentManager.java:210)
         at com.ibm.ws.management.event.ListenerInfo$1.run(ListenerInfo.java:125)
         at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2504)
         at com.ibm.ws.security.auth.distContextManagerImpl.runAsSpecified(distContextManagerImpl.java:2398)
         at com.ibm.ws.management.event.ListenerInfo.handleNotification(ListenerInfo.java:143)
         at com.ibm.ws.management.event.NotificationDispatcher$DispatchANotificationToAListener.run(NotificationDispatcher.java:346)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    --- end Original exception----
         at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:621)
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.clas

  • Different errors using standard.jar

    I've been trying to use the standard.jar (JSTL1.0) but I keep getting different errors. I presume, it's JSP1.2 and Servlet2.3 compliant.
    Here is the problem description:
    I've a web-module. I kept this jar under WEB-INF/lib. When I use the taglib usiing
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
    I get "Unable to open taglibrary http://java.sun.com/jstl/fmt : Could not locate TLD http://java.sun.com/jstl/fmt".
    And when I use the taglib using a local fmt.tld, as in,
    <%@ taglib prefix="fmt" uri="/tld/fmt.tld" %>
    I get, "com.sun.portal.providers.jsp.jasper3.jasper.compiler.CompileException: ......./HarnessPortletContent.jsp(47,65) Unable to load class null".
    Tried both Tomcat3.0 and Sun App Server 7.0

    I know that the JSTL 1.0 jars work in AppServer 7.1. The TLD scanning mechanism is included in 7.1 where you only need to place the jar files that include your TLD's in the web application's WEB-INF/lib directory.
    You can either upgrade to AppServer 7.1 or do the mappings yourself manually as follows:
    1) unjar the JSTL implementation jar file
    2) copy the TLD's to your WEB-INF directory
    3) rejar the JSTL implementation jar file and place it in your WEB-INF/lib directory
    4) modify your web.xml file to point to the JSTL TLD's like:
    <taglib>
    <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
    <taglib-location>/WEB-INF/fmt.tld</taglib-location>
    </taglib>
    I'd recommend upgrading since the above steps are tedious and you can avoid them by using a container like AppServer 7.1 or Tomcat 4.x that implements TLD scanning.
    Thanks,
    Justyna

  • Error while updating a jar file

    I am trying to update a jar file using teh following command
    jar -uf project.jar fileMy.prop
    however while doing that i get the following error
    java.io.IOException: Error in writing existing jar file
    at sun.tools.jar.Main.run(Main.java:179)
    at sun.tools.jar.Main.main(Main.java:904)

    Perhaps some process (your java program perhaps) is still running that has the file open still? You'll need to shut down the process(es) that have it open. Or you don't have proper rights to the directory/file. Not a java issue.

  • Error while introspecting the JAR file

    I get the following error while introspecting the JAR into BPM
    [Error] Introspection exception : Internal Error:
    java.lang.UnsupportedClassVersionError: Bad version number in .class file.
    Anybdy knows whats the error?

    It means you're using different JDK versions to run OBPM Studio and to compile the classes in your JAR. If you recompile the classes with the same major version of the JDK you use in Studio the introspection should work.

  • Unable to use javac or jar commands

    Hi all,
    I've been using my IDE to compile and run my programs. However, when I want to use -javac or -jar commands in my command prompt, it doesnt work.
    The error is :
    'javac' is not recognised as an internal or external command,
    operable program or batch file
    Same goes for jar
    -java works for me. Why is that so? I hope anyone can give me solution.
    Note : I'm on windows vista
    Another question :
    I've been using JMF (Java Media Framework) to develop a simple audio player. However it can be run on my pc. What happens if I try to run the program at another pc, will it still work? The other pc will not have JMF installed, but will have JRE to run java apps. If it cannot be run on the other pc, is there any solution?
    Thank you for your kind assistance.
    Edited by: TrAnScEnD3nT on Sep 30, 2007 10:18 PM
    Reason : Sorry I have mixed up java and javac, I've corrected it.

    Mainta? That's my favourite!This time...
    In very general terms the PATH is a system variable that is maintained and used by your operating system or shell (not Java) to locate executable files. So, for instance, if you type the command:
    >writeit will be the PATH that Windows uses to locate the write.exe word processor.
    The directory containing the Java tools - java.exe, javaw.exe, jar.exe, appletviewer.exe etc - very commonly goes into the PATH variable.
    The classpath is a list of locations that Java uses to locate classes (as you said). It is used by Java and not your operating system. It is commonly (but not always) set each time you use one of the Java tools. There is a -cp switch that lets you do this. For instance a common command to compile a file would be
    >javac -cp . HelloWorld.javaThe "-cp ." bit means "the classpath shall be the current directory".
    Setting a particular classpath does not, in general, affect the "built in" classes of Java, so you don't have to worry about this. If you search the documentation that came with your distribution you will find the exact rules for "how classes are found": but to begin with the important thing is that any classes you write must be included in the classpath which can be specified as part of the commands to compile or run your code.

  • How to use 3rd party jar files for xml transform

    Hi all,
    Am using OAS9.0.4 and I deployed my .ear successfully.
    In my application am using 4 jar files for xml transformation. (xerces.jar, xalan.jar, xml-apis.jar,xercesImpl.jar)
    OAS has its own xmlparserv2.jar file. Its using this jar file for transforming xml data and not even looking for above mentioned 4 jar files.
    In opmn.xml, I provided these 4 jar files in to class path. Then also it didn't effect my output.
    I also tried as put these 4 jar files into j2ee\home\applib directory, but o result.
    Can anybody tell me where should I keep these 4 jar files in OAS and OAS should use these 4 jar files instead of its own xmlparserv2.jar for transforming data.
    Thanks in Anticipation,
    Regards,
    RK

    Add the Xbootclasspath variable in the java-options field. It will somewhat look like the following in your opmn.xml file
    <process-type id="<OC4J Instance Name>" module-id="OC4J">
    <module-data>
    <category id="start-parameters">
    <data id="java-options value="........... -Xbootclasspath^/a:<location of your jar files>" />
    Ensure to use th ^/a (append) signature
    Regards,
    Chirag

  • Error using iFS from Tomcat

    Hi ..
    I get the following error when connecting to a service in
    tomcat3.3 :
    oracle.ifs.common.IfsException: IFS-21008: Unable to connect to
    iFS service
    oracle.ifs.common.IfsException: IFS-12214: Unable to get item in
    collection by name (CLASSOBJECT)
    oracle.ifs.common.IfsException: IFS-12201: Unable to resolve
    collection
    oracle.ifs.common.IfsException: IFS-35202: Failed to select
    objects due to invalid query syntax
    java.sql.SQLException: ORA-00600: intern fejlkode, argumenter:
    [ttcgcshnd-1], [0], [], [], [], [], [], []
    Has anybody seen this/had problems using the client jars in a 3.
    party application server.
    Regards
    Anders Monrad

    Grant the property permission in config/server.policy file of your app server instance
    for eg:
    grant {
    permission java.util.PropertyPermission "os.version", "read";
    HTH
    Satish

  • Error unable to create jar cache in /tmp directory!

    I using tomcat4.0.2,but when I start the tomcat from %catalina_home%/bin using startup.bat, in the startup console printing "error unable to create jar cache in /tmp directory: java.io.IOException: System cant find the direct", and tomcat can be started, no problem when I access my web application.
    Why it happened?
    But if I start tomcat from startup menu of the system instead of using startup.bat, no error is thrown.

    anyone know it? Please tell me.
    I was puzzled about it.
    TIA

  • ODI 10.1.3.4.0 - Topology Manager Connection Error using SQL 2005 SP3

    Hello All,
    I am using the ODI repository in SQL 2005 SP3. I could create my master repository using the following parameters:
    driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    URL:jdbc:microsoft:sqlserver://server_name:1433;SelectMethod=direct;DataBaseName=ODI
    I needed to copy to the drivers directory all files of SQL 2000 (msutil.jar, msbase.jar,mssqlserver.jar) and SQL 2005 (sqljdbc.jar). I am using the JRE 1.4.2 and JDBC 2005 1.2 (http://msdn.microsoft.com/en-us/library/ms378422(SQL.90).aspx)
    But when I try to connect in Topology Manager to create the work repository appears the following error:
    using this driver string: com.microsoft.jdbc.sqlserver.SQLServerDriver
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC] Can't start a cloned connection while in manual transaction mode.
    using this driver string: com.microsoft.sqlserver.jdbc.SQLServerDriver
    java.sql.SQLException: No suitable driver
    Does Somebody know what is happening?
    Regards,
    Wallace Galvao
    Sao Paulo - Brazil

    Hi,
    If you plan on using the SQL Server 2005 drivers then you only need the 1.2 sqljdbc.jar file in the drivers directory.
    The connection details for SQL Server 2005 should be like the following.
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    jdbc:sqlserver://<sqls machine>:1433;databaseName=<db name>;integratedSecurity=false
    I would try just with just the correct driver in place, remove the others, restart any ODI components and then make sure the connection information is correct like above.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Running a plain java class in command prompt which uses third party jars

    i have to run a simple java class. its actually a process which is running in the background. Now to run this java file i have created a batch file. my problem is that this java file uses around 100 jar files. when i try to run this java file (actually .class file) it gives me no class defination found error for this java(class) file. What can be the problem. My java home is set....how to solve this problem

    i have to run a simple java class
    my problem is that this java file uses around 100 jar filesThese two statements are contradictory.
    it gives me no class defination found error for this java(class) file. What can be the problemThe class is not on the classpath.
    how to solve this problemEnsure all classes are on the classpath.
    I bet if your searched this forum (or even read the java tutorial) you'd find something .

  • Using third party jars with Oracle Business Rules

    Hi
    I am working on Oracle AS 10g release 2.
    We are using Oracle Business Rules in integration with Oracle BPEL.
    While using third party jars however, Oracle Business Rules end is facing errors.
    Error during unmarshallingProvider com.sun.xml.bind.ContextFactory_1_0_1 not found
    oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: com.sun.xml.bind.ContextFactory_1_0_1
    Dependent class: javax.xml.bind.ContextFinder
    Loader: oracle.xml:10.1.0_2
    Code-Source: /D:/oracleasr3/lib/xml.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\oracleasr3\j2ee\home\oc4j.jar
    Can anybody help in figuring out where Jaxb jars(3rd party jars) are to be kept so that OAS access it?
    We tried using the applib folder to load the jars but we are getting class loading errors.
    When new instances are created, class loading is not happening.
    Pls help.
    Thanks
    Kavya

    Are you using Application Server Release 3 or Release 2? There are different versions listed in your mail.
    I think you probably want to add this as a shared library via EM and then import the shared library to your application with the application's xml config files.

Maybe you are looking for