Problem running startcommerce.bat

Hello,
when I run startcommerce.bat I get this error message in weblogig.log
file:
vie oct 27 11:29:06 GMT+01:00 2000:<I> <JDBC Pool> Connection for pool
"commercePool" created.
vie oct 27 11:29:06 GMT+01:00 2000:<I> <JDBC Pool> Connection for pool
"commercePool" created.
vie oct 27 11:29:06 GMT+01:00 2000:<I> <JDBC Pool> Creating connection
pool docPool with:
{aclName=weblogic.jdbc.connectionPool.docPool, maxCapacity=20,
url=jdbc:beasys:docmgmt:com.beasys.commerce.axiom.document.ref.RefDocumentProvider,
allowShrinking=true, poolName=docPool,
props=jdbc.url=jdbc:weblogic:pool:commercePool;jdbc.isPooled=true;weblogic.t3.waitForConnection=true;weblogic.t3.waitSecondsForConnection=999999999999;weblogic.jts.waitSecondsForConnectionSecs=999999999999;docBase=C:/WebLogicCommerceServer3.1/dmsBase;schemaXML=C:/WebLogicCommerceServer3.1/dmsBase/doc-schema.xml,
capacityIncrement=1, refreshMinutes=5, loginDelaySecs=0,
initialCapacity=10, shrinkPeriodMins=15,
driver=com.beasys.commerce.axiom.document.jdbc.Driver}
vie oct 27 11:29:06 GMT+01:00 2000:<E> <T3Services>
COMMERCE_SERVER_FRAMEWORK,LOG_ERROR,"==========================WebLogic
Commerce Servers PRODUCT ERROR======================"
vie oct 27 11:29:06 GMT+01:00 2000:<E> <T3Services>
COMMERCE_SERVER_FRAMEWORK,LOG_ERROR,"Current WebLogic build may not be
compatible with the WebLogic Commerce Server implementation. Minimum
Build: 83914 Current Installation Build: 66825"
vie oct 27 11:29:06 GMT+01:00 2000:<E> <T3Services>
COMMERCE_SERVER_FRAMEWORK,LOG_ERROR,"==========================END
WebLogic Commerce Servers PRODUCT ERROR======================"
vie oct 27 11:29:06 GMT+01:00 2000:<I> <WebLogicServer> Disable Server
Logins requested by system
vie oct 27 11:29:06 GMT+01:00 2000:<I> <WebLogicServer> Server Logins
are now disabled
vie oct 27 11:29:06 GMT+01:00 2000:<I> <WebLogicServer> Server shutdown
by system
vie oct 27 11:29:07 GMT+01:00 2000:<E> <T3Services>
"RefDocumentProvider",LOG_ERROR,"Unable to create xml parser -- using
default"
java.lang.ClassNotFoundException: com.ibm.xml.parser.SAXDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
and the localhost shutdown in '30' seconds.
I followed Installation Guide Octuber 2000 and I don't know what is
happening.
My plataform platform is:
Windows NT Server 4.0
jdk 1.3 (jaxp1.0.1)
Cloudscape
weblogic server 5.1, service pack 6
commerce 3.1
doc 3.1.1
Thank you.

The same problem is happening with me.
I'm using Weblogic Server 5.1 SP8, Commerce 3.1.1 SP1, JDK 1.2.2 and Windows NT 4.0.
I need some help.
Thanks in advance.
Here is my stack trace :
Wed Jan 31 16:02:50 GMT-02:00 2001:<I> <JDBC Pool> Creating connection pool docPool
with:
refreshMinutes=5 poolName=docPool loginDelaySecs=0 maxCapacity=20 props=jdbc.url=jdbc:weblogic:pool:commercePool;jdbc.isPooled=true;weblogic.t3.waitForConnection=true;weblogic.t3.waitSecondsForConnection=999999999999;weblogic.jts.waitSecondsForConnectionSecs=999999999999;docBase=D:/WebLogicCommerceServer3.1/dmsBase;schemaXML=D:/WebLogicCommerceServer3.1/dmsBase/doc-schema.xmlallowShrinking=true
driver=com.beasys.commerce.axiom.document.jdbc.Driver aclName=weblogic.jdbc.connectionPool.docPool
capacityIncrement=1 initialCapacity=5 url=jdbc:beasys:docmgmt:com.beasys.commerce.axiom.document.ref.RefDocumentProvider
shrinkPeriodMins=15
Wed Jan 31 16:02:50 GMT-02:00 2001:<E> <T3Services> "RefDocumentProvider",LOG_ERROR,"Unable
to create xml parser -- using default"
java.lang.ClassNotFoundException: com.ibm.xml.parser.SAXDriver
     at java.net.URLClassLoader$1.run(URLClassLoader.java, Compiled Code)
     at java.lang.Exception.<init>(Exception.java, Compiled Code)
     at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java, Compiled
Code)
     at java.net.URLClassLoader$1.run(URLClassLoader.java, Compiled Code)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java, Compiled Code)
     at java.lang.ClassLoader.loadClass(ClassLoader.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 org.xml.sax.helpers.ParserFactory.makeParser(ParserFactory.java:124)
     at org.xml.sax.helpers.ParserFactory.makeParser(ParserFactory.java:92)
     at com.beasys.commerce.axiom.document.ref.RefSchemaGenerator.createParser(RefSchemaGenerator.java:456)
     at com.beasys.commerce.axiom.document.ref.RefSchemaGenerator.getSchemas(RefSchemaGenerator.java:87)
     at com.beasys.commerce.axiom.document.ref.RefDocumentProvider.loadSchemas(RefDocumentProvider.java,
Compiled Code)
     at com.beasys.commerce.axiom.document.ref.RefDocumentProvider.init(RefDocumentProvider.java:239)
     at com.beasys.commerce.axiom.document.jdbc.Connection.createDocumentProvider(Connection.java:111)
     at com.beasys.commerce.axiom.document.jdbc.Connection.createDocumentProvider(Connection.java:92)
     at com.beasys.commerce.axiom.document.jdbc.Connection.<init>(Connection.java:58)
     at com.beasys.commerce.axiom.document.jdbc.Driver.connect(Driver.java:80)
     at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:146)
     at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:108)
     at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java,
Compiled Code)
     at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java, Compiled
Code)
     at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:330)
     at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java, Compiled Code)
     at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:255)
     at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
     at java.lang.reflect.Method.invoke(Native Method)
     at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
     at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java, Compiled Code)
     at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
David Crecente <[email protected]> wrote:
Hello,
when I run startcommerce.bat I get this error message in weblogig.log
file:
vie oct 27 11:29:06 GMT+01:00 2000:<I> <JDBC Pool> Connection for pool
"commercePool" created.
vie oct 27 11:29:06 GMT+01:00 2000:<I> <JDBC Pool> Connection for pool
"commercePool" created.
vie oct 27 11:29:06 GMT+01:00 2000:<I> <JDBC Pool> Creating connection
pool docPool with:
{aclName=weblogic.jdbc.connectionPool.docPool, maxCapacity=20,
url=jdbc:beasys:docmgmt:com.beasys.commerce.axiom.document.ref.RefDocumentProvider,
allowShrinking=true, poolName=docPool,
props=jdbc.url=jdbc:weblogic:pool:commercePool;jdbc.isPooled=true;weblogic.t3.waitForConnection=true;weblogic.t3.waitSecondsForConnection=999999999999;weblogic.jts.waitSecondsForConnectionSecs=999999999999;docBase=C:/WebLogicCommerceServer3.1/dmsBase;schemaXML=C:/WebLogicCommerceServer3.1/dmsBase/doc-schema.xml,
capacityIncrement=1, refreshMinutes=5, loginDelaySecs=0,
initialCapacity=10, shrinkPeriodMins=15,
driver=com.beasys.commerce.axiom.document.jdbc.Driver}
vie oct 27 11:29:06 GMT+01:00 2000:<E> <T3Services>
COMMERCE_SERVER_FRAMEWORK,LOG_ERROR,"==========================WebLogic
Commerce Servers PRODUCT ERROR======================"
vie oct 27 11:29:06 GMT+01:00 2000:<E> <T3Services>
COMMERCE_SERVER_FRAMEWORK,LOG_ERROR,"Current WebLogic build may not be
compatible with the WebLogic Commerce Server implementation. Minimum
Build: 83914 Current Installation Build: 66825"
vie oct 27 11:29:06 GMT+01:00 2000:<E> <T3Services>
COMMERCE_SERVER_FRAMEWORK,LOG_ERROR,"==========================END
WebLogic Commerce Servers PRODUCT ERROR======================"
vie oct 27 11:29:06 GMT+01:00 2000:<I> <WebLogicServer> Disable Server
Logins requested by system
vie oct 27 11:29:06 GMT+01:00 2000:<I> <WebLogicServer> Server Logins
are now disabled
vie oct 27 11:29:06 GMT+01:00 2000:<I> <WebLogicServer> Server shutdown
by system
vie oct 27 11:29:07 GMT+01:00 2000:<E> <T3Services>
"RefDocumentProvider",LOG_ERROR,"Unable to create xml parser -- using
default"
java.lang.ClassNotFoundException: com.ibm.xml.parser.SAXDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
and the localhost shutdown in '30' seconds.
I followed Installation Guide Octuber 2000 and I don't know what is
happening.
My plataform platform is:
Windows NT Server 4.0
jdk 1.3 (jaxp1.0.1)
Cloudscape
weblogic server 5.1, service pack 6
commerce 3.1
doc 3.1.1
Thank you.

Similar Messages

  • Problem with build_samples.bat in java_card_kit-2_1_2

    Hi,
    I have installed jdk1.3.1_20 and have setup java_card_kit-2_1_2. Following the website, I could compile Wallet.java. But some reason the build_samples.bat is not working properly. Looking through the code, when i reach to the line:
    %JAVA_HOME%\bin\jar -xvf %JC21_HOME%\lib\api21.jar (line 46 of the build_samples.bat) it gives me this error:
    java.io.FileNotFoundException: c:\Java\java_card_kit-2_1_2 (Access is denied)
    at java.io.FileInputStream.open (Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:91)
    at java.io.FileInputStream.<init>(FileInputStream.java:54)
    at sun.tools.jar.Main.run(Main.java:181)
    at sun.tools.jar.Main.main(Main.java:899)
    The system cannot find the file specified.
    Why is this happening:
    FYI this is my javacard_env.bat (the file that I start the javacard environment):
    set classpath=.;
    set JAVA_HOME=C:\Java\jdk1.3.1_20
    set path=C:\Java\jdk1.3.1_20\bin;
    set JC21_HOME=c:\Java\java_card_kit-2_1_2
    set path=%path%;%JC21_HOME%\bin;
    set classpath=%classpath%;%JC21_HOME%\lib\api21.jar;
    Can someone please help.
    Regards,
    Zeallous

    I'm actually ok with that part now,
    I'm now having problems with converting Samples section:
    once it reaches the line (whilst running build_samples.bat):
    call %JC21_HOME%\bin\converter -config ..\src\com\sun\javacard\samples\HelloWorld\HelloWorld.opt
    it gives me this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: \lib\apduio/jar;C:\Java\java_card_kit-2_1_2
    I have already put in this as my javacard_env.bat before i ran everything:
    @echo off
    set classpath=.;
    set JAVA_HOME=C:\Java\jdk1.3.1_20
    set path=C:\Java\jdk1.3.1_20\bin;
    set JC21_HOME=C:\Java\java_card_kit-2_1_2
    set path=%path%;%JC21_HOME%\bin;
    set classpath=%classpath%;C:\Java\java_card_kit-2_1_2\lib\api21.jar;%CLASSPATH%;
    set classpath=%classpath%;C:\Java\jdk1.3.1_20\jre\lib\ext\apduio.jar;%CLASSPATH%;
    What is wrong with this?
    Regards,
    Zeallous

  • Having problem running an application

    I have recently installed jdk 1.2.2 and i have no problem running applet but when i try to run an application i get the message 1 error can't find<filename> . java.
    The path in autoexec.bat is fine. JRE File is include in my file jdk1.2.2.
    I have installed and deinstalled it a couple of time and can't make it work.
    Could someone help me please!!
    Thanking you in advance!

    doesn't sound like a path problem at all. you say when you try to RUN the app you get a message can't find filename.java. When you're running the app you run the binary class file i.e. java MainClass.class. If you're compiling the app you would do javac MainClass.java. Clarify your situation further if this does not help you out.

  • Error when running reset.bat

    Hello,
    I used to get an error while re-deploying some ESB projects on SOA Suite 10.1.3.4.
    This installation is with olite database. To solve this problem,
    I wanted to run reset.bat which is in \OracleAS_1\integration\esb\bin folder.
    reset.bat file gave the below error.
    C:\product\10.1.3.1\OracleAS_1\integration\esb\bin>reset.bat
    Buildfile: build.xml
         [echo] ${env.PCHOME}
    reset-esb:
        [mkdir] Created dir: C:\product\10.1.3.1\OracleAS_1\integration\esb\bkup\201
    01007_1245
         [java] Creating database connection with DB_URL=jdbc:[email protected]:1531
    :oraesb, DB_USER=system DB_PASSWORD=any DB_DRIVER=oracle.lite.poljdbc.POLJDBCDri
    ver.
         [java] Running this Command will reset all the metadata. Existing metadata
    will be backed up. Press y to continue and any other key to exit.
    y
         [java] 7-Oct-2010 12:45:52 PM oracle.tip.esb.lifecycle.HttpHandler logInfo
         [java] INFO: Exporting metadata from the server [host=BCFSL21903,port=8888,
    user=oc4jadmin] to file "C:\product\10.1.3.1\OracleAS_1\integration\esb\bkup\201
    01007_1245\metadata.zip"
         [java] Exported metadata to File C:\product\10.1.3.1\OracleAS_1\integration
    \esb\bkup\20101007_1245\metadata.zip.
         [java] Exported parameters to File C:\product\10.1.3.1\OracleAS_1\integrati
    on\esb\bkup\20101007_1245\esbparam.properties.
         [java] Running:C:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\dro
    p_esb_tables.sql
         [java] 7-Oct-2010 12:45:59 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_message_map
         [java] 7-Oct-2010 12:45:59 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_messages
         [java] 7-Oct-2010 12:45:59 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_group_status
         [java] 7-Oct-2010 12:45:59 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_containerid_lease
         [java] Running:C:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\wfe
    ventc.sql
         [java] Running:C:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\see
    d_service_types.sql
         [java] Running:C:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\see
    d_default_system.sql
         [java] Running:C:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\upg
    rade_10133_10134_oracle.sql
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_message_map
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_messages
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_group_status
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_containerid_lease
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeToLog
         [java] INFO: [POL-5128] duplicate table name SYSTEM.XREF_DATA
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeToLog
         [java] INFO: WorkflowCA: SQLException during execution: java.sql.SQLExcepti
    on: [POL-5128] duplicate table name SYSTEM.XREF_DATA: CREATE TABLE XREF_DATA
         [java] (
         [java]   XREF_TABLE_NAME   VARCHAR2(2000)    NOT NULL,
         [java]   XREF_COLUMN_NAME VARCHAR2(2000)    NOT NULL,
         [java]   ROW_NUMBER        VARCHAR2(48)    NOT NULL,
         [java]   VALUE             VARCHAR2(2000)  NOT NULL,
         [java]   IS_DELETED        VARCHAR2(1)     NOT NULL,
         [java]   LAST_MODIFIED     VARCHAR2(100)   NOT NULL,
         [java]   LAST_ACCESSED     VARCHAR2(100)   NOT NULL
         [java] )
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeToLog
         [java] INFO: File: C:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other
    \upgrade_10133_10134_oracle.sql.
         [java] Exception in thread "main" oracle.tip.esb.install.exception.Installa
    tionDBException: Failed to execute sql file"C:\product\10.1.3.1\OracleAS_1\integ
    ration\esb\sql\other\upgrade_10133_10134_oracle.sql"
         [java]     at oracle.tip.esb.install.db.RunSQLScript.runScript(RunSQLScript
    .java:337)
         [java]     at oracle.tip.esb.install.db.RunSQLScript.runScript(RunSQLScript
    .java:302)
         [java]     at oracle.tip.esb.install.db.RunSQLScript.runScript(RunSQLScript
    .java:259)
         [java]     at oracle.tip.esb.install.db.RunSQLScript.runScriptListInternal(
    RunSQLScript.java:123)
         [java]     at oracle.tip.esb.install.db.RunSQLScript.runScriptList(RunSQLSc
    ript.java:89)
         [java]     at oracle.tip.esb.install.reset.ResetRepository.runSQLScripts(Re
    setRepository.java:327)
         [java]     at oracle.tip.esb.install.reset.ResetRepository.actionReset(Rese
    tRepository.java:275)
         [java]     at oracle.tip.esb.install.reset.ResetRepository.main(ResetReposi
    tory.java:210)
         [java] Caused by: oracle.tip.esb.install.db.SQLProcessorException: SQLExcep
    tion during execution: java.sql.SQLException: [POL-5128] duplicate table name SY
    STEM.XREF_DATA: CREATE TABLE XREF_DATA
         [java] (
         [java]   XREF_TABLE_NAME   VARCHAR2(2000)    NOT NULL,
         [java]   XREF_COLUMN_NAME VARCHAR2(2000)    NOT NULL,
         [java]   ROW_NUMBER        VARCHAR2(48)    NOT NULL,
         [java]   VALUE             VARCHAR2(2000)  NOT NULL,
         [java]   IS_DELETED        VARCHAR2(1)     NOT NULL,
         [java]   LAST_MODIFIED     VARCHAR2(100)   NOT NULL,
         [java]   LAST_ACCESSED     VARCHAR2(100)   NOT NULL
         [java] )
         [java]     at oracle.tip.esb.install.db.SQLProcessor.processLine(SQLProcess
    or.java:1537)
         [java]     at oracle.tip.esb.install.db.SQLProcessor.executeSQLFile(SQLProc
    essor.java:1683)
         [java]     at oracle.tip.esb.install.db.SQLProcessor.runSQLFile(SQLProcesso
    r.java:315)
         [java]     at oracle.tip.esb.install.db.RunSQLScript.runScript(RunSQLScript
    .java:331)
         [java]     ... 7 more
    BUILD FAILED
    C:\product\10.1.3.1\OracleAS_1\integration\esb\bin\build.xml:607: Java returned:
    1   What is the reason for this error?
    Any ideas please.
    Thank You,
    sandaruwan

    Its not dropping the tables so when it recreates if fails. You may need to drop table manually by running the drop_esb_tables.sql script.
    cheers
    James

  • Can't run ij.bat

    when I run ij.bat, I receive this error "java is not recorgnised as an internal or external command, operable program or batch file." Not too sure what is the problem.

    "java" isn't been recognized as an executabele.
    Open a command console and enter "foo" or some other unexisting command or executabele in it and execute it. You'll see that you get the same error message.
    Install at least the Java JRE at your machine. Or if you want to develop with Java, install the JDK then.
    This whole problem has nothing to do with JDBC at all. But just with a complete lack of knowledge of the underlying operating system (Windows, in this case).

  • HPS - Problem with GenerateCube.bat

    Hello, everyone! Hope you are doing just fine.
    I'm using Hyperion Performance Scorecard version 11.1.2.2 and I have a problem when trying to run GenerateCube.bat, I get this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/hyperion/pmd/hps/toolkit/CommandLineCubeGeneration
    Caused by: java.lang.ClassNotFoundException: com.hyperion.pmd.hps.toolkit.CommandLineCubeGeneration
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    Could not find the main class: com.hyperion.pmd.hps.toolkit.CommandLineCubeGeneration.  Program will exit.
    I know there was a bug fixed about this, but it doesn't work. Environment variables Path, CLASSPATH and JAVA_HOME are set already. Is there something I'm missing?
    Thanks a lot in advance!

    The format of your command line doesn't comply with the any of the various exec() formats in the Runtime API. Check the API and the following article for the allowable forms, and then choose one of them.
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • How to run a .bat file with string arguments?

    Hi,
    I have a problem in running a .bat file with string arguments
    - the file is XPathOverlap.bat with 2 stringarguments like: "/a" and "//a"
    - the cmd: c:\Downloads>XPathOverlap "//a" "/a" works fine.
    - here is my code:
    public static void test(){
         try{
              String loc1 = "//a";
              String loc2 = "/a";
              String[] cmdarray = {"c:\Downloads\XPathOverlap", loc1, loc2};
              Process p = Runtime.getRuntime().exec(cmdarray);
              p.waitFor();
              System.out.println("Exit Value: "+p.exitValue());
              //code to print command line replies
              InputStream cmdReply = p.getInputStream();
              InputStreamReader isr = new InputStreamReader(cmdReply);
              BufferedReader br = new BufferedReader(isr);
              String line = null;
              while((line=br.readLine())!=null){
                   System.out.println(line);
         }catch(Throwable t){
              t.printStackTrace();
    How can i run this bat file with 2 string arguments?

    Hi,
    thanks thats good and helpfully
    so this code works:
    String loc1 = "\"/a\"";
    String loc2 = "\"//a\"";
    String path = System.getenv("MuSatSolver");
    String[] cmdarray = {"cmd.exe","/C",path+"XPathOverlap.bat", loc1, loc2};
    Process p = Runtime.getRuntime().exec(cmdarray);
    p.waitFor();
    System.out.println("Exit Value: "+p.exitValue());
    InputStream cmdErr = p.getErrorStream();
    InputStreamReader isrErr = new InputStreamReader(cmdErr);
    BufferedReader brErr = new BufferedReader(isrErr);
    String line2 = null;
    while((line2=brErr.readLine())!=null){
         System.out.println("Error: "+line2);
    but now i have another problem, this is the output:
    Exit Value: 0
    Error: java.lang.NoClassDefFoundError: fr/inrialpes/wam/treelogic/_xml/XPathOverlap
    Error: Exception in thread "main" The Exit value is 0, so the process terminates normally.
    I have tested this bat file in cmd and there it works correctly.
    Why do i get this error message?

  • Running a Bat file from a stored procedure

    This is part II of Re: Need to run bat file from application express
    I thought I would open a new thread
    I thought I had this fiqured out but it still doesn't work
    1) I granted CREATE EXTERNAL JOB to my user
    2) startup the OracleJobScheduler Service
    3)
    create or replace
    PROCEDURE RUN_OS_COMMAND(p_cmd IN varchar2)
    is
    v_job_exists pls_integer:=0;
    begin
      select count(1)
      into  v_job_exists
      from  all_scheduler_jobs
      where job_name='JAVA_EXE';
      if v_job_exists>0 then 
        dbms_scheduler.drop_job(job_name =>'JAVA_EXE');
      end if;
      dbms_scheduler.create_job
      (   job_name          =>'JAVA_EXE'
        , job_action        =>p_cmd
        , job_type          =>'executable'
        , enabled           =>false
        , auto_drop         =>false
        , start_date        =>systimestamp
      dbms_scheduler.run_job(job_name =>'JAVA_EXE');
    end;test.bat is del test.csv
    I run this
    begin
      RUN_OS_COMMAND('C:\temp\test.bat');
    end;
    / anonymous block completed
    It runs with no errors but does not run the bat file... what am i missing, thanks Doug

    LLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\wblincoe\Application Data
    CLASSPATH=.;[ORACLE_HOME]\jdbc\lib\ojdbc6.jar;c:\myjar\xdocore.jar;c:\myjar\i18nAPI_v3.jar;c:\myjar\xdoparser.jar;c:\myjar\xmlparserv2.jar
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=WBLINCOELT
    ComSpec=C:\WINDOWS\system32\cmd.exe
    DEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\wblincoe
    LDMS_LOCAL_DIR=C:\Program Files\LANDesk\LDClient\Data
    LOGONSERVER=\\03N-DAYT-DC01
    NUMBER_OF_PROCESSORS=2
    OS=Windows_NT
    Path=C:\OraHome_1\jre\1.4.2\bin\client;C:\OraHome_1\jre\1.4.2\bin;C:\app\wblincoe\product\11.1.0\db_1\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PERL5LIB=C:\oracle\product\10.2.0\http_1\sysman\admin\scripts;C:\oracle\product\10.2.0\http_1\perl\site\5.6.1\lib;C:\oracle\product\10.2.0\http_1\perl\site\5.6.1;C:\oracle\product\10.2.0\http_1\perl\5.6.1\lib\MSWin32-x86;C:\oracle\product\10.2.0\http_1\perl\lib\5.6.1;C:\oracle\product\10.2.0\http_1\perl\lib\5.6.1\MSWin32-x86;
    PHPRC=C:\Program Files\PHP\
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 2, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0f02
    ProgramFiles=C:\Program Files
    PROMPT=$P$G
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\wblincoe\LOCALS~1\Temp
    TMP=C:\DOCUME~1\wblincoe\LOCALS~1\Temp
    USERDNSDOMAIN=CACI.COM
    USERDOMAIN=CACI
    USERNAME=wblincoe
    USERPROFILE=C:\Documents and Settings\wblincoe
    VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
    windir=C:\WINDOWS

  • Error when running a bat file

    Can someone tell me what this error means; "ORA-12560: TNS:protocol adapter error"
    I had Oracle XE on my Windows XP Pro SP3, but I also install the EE of Oracle which I haven't setup yet. Originally when I run this .bat file by double clicking on it, "setup_distran_database.bat", everything worked fine. But now, I am getting tghe above error. Not sure if it was because I installed Oracle EE.
    This is the .bat file:
    *@ECHO off*
    *:: Ayo Ojikutu*
    *:: Using Murach's Oracle SQL and PL/SQL*
    *:: and Mike Murach & Associates, Inc. example*
    *:: Nov 11, 2011*
    *:: Uses SQL*Plus utility to run the SQL scripts that create*
    *:: and populate the tables in the AP, OM, and EX schemas.*
    *:: If necessary, edit the username/password*
    sqlplus system/passwordhere @setup_distran_database*
    *:: Display a message about the log file*
    ECHO.
    ECHO For details, check the setup_distran_database.log file in the current directory.
    ECHO.
    *:: Display 'press any key to continue' message*
    PAUSE

    "ORA-12560: TNS:protocol adapter error"
    Not sure if it was because I installed Oracle EE.Most probably yes, Windows has the last installed product environment. Try setting XE environment before running sqlplus, something likeset ORACLE_SID=XE
    set ORACLE_HOME=<XE Oracle Home>
    set PATH=<XE Oracle Home\bin>;%PATH%
    sqlplus .....

  • Trying to run a bat file from oracle

    I have followed these steps, see bottom for results, everything is valid but the bat file does not run???? PLease need your help. Doug
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "getbatx" AS
    class getbatx //class pdfopen
    public static void execmd(String c) //main function
    try
    System.out.println("Executing:" + c);
    Runtime.getRuntime().exec("C:\\WINDOWS\\system32
    cmd.exe /c "+c);
    System.out.println("Executing:" + c + " ...done");
    } catch (Exception e) //catch any exceptions here
    System.out.println("Error" + e ); //print the error
    CREATE OR REPLACE PROCEDURE host_command2 (p_command IN VARCHAR2)
    AS LANGUAGE JAVA
    NAME 'getbatx.execmd (java.lang.String)';
    /Then as sysdba I put in in the following.
    exec dbms_java.grant_permission( 'CAPRS', 'SYS:java.io.FilePermission', '<<ALL FILES>>', 'execute' );
    EXEC Dbms_Java.Grant_Permission('CAPRS', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
    EXEC Dbms_Java.Grant_Permission('CAPRS', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');Then I make the call.
    SET SERVEROUTPUT ON SIZE 1000000
    CALL DBMS_JAVA.SET_OUTPUT(1000000);
    BEGIN
    host_command2 (p_command => 'c:\mybook.bat');
    END;
    /***** I run this, it completes but does not run the bat file and there is no error message
    SQL> BEGIN
    2 host_command2 (p_command => 'mybook.bat');
    3 END;
    4 /
    Executing:mybook.bat
    Executing:mybook.bat ...done
    PL/SQL procedure successfully completed.

    Yes it should open a dos box, but you forgot to add the .bat file witch you like to run: String[] command = {"cmd", "/c", "start", "c:/Batch files/Cardiobackup/cardiobackup_v1.4"}

  • Problem Running SSIS Package with a SQL Server Agent

    SQL Server: SQL Server 2012
    VS: Visual Studio 2012
    Hello,
          I have been having a problem running SSIS packages by using a SQL Server Agent job. I first created these SSIS packages in a separate IS project in Visual Studio. I imported the packages to the Integration Services (Package
    Store) instance on my SQL Server and tried to create a job that would run them from there.
          At first I read around about needing a proxy account to allow the agent/packages to access the file system since these packages are importing data from a flat file in the SQL database. So I created a temporary admin user to
    use as the user for the agent. I did this by going to Services.msc on the server and linked the account the agent's "logon as". Then arose another issue where I am getting an error about using the incorrect type for my connection managers.
    The connection manager "TestFile" is an incorrect type.  The type required is "OLEDB". The type available to the component is "FLATFILE". Source: Data Flow Task Flat File Destination [2]     Description:
    Cannot open the datafile "O:\*****\Success.txt"
    I am not sure what this even means as I am getting this error even with a test package that doesn't do anything with the database. I have just two flat file connection managers  in this test project one for grabbing the source file and one for
    creating the new test file.
    I am not sure what to do.
    Thanks in advance,
    Matt

    I accidently created two posts. The newest one has the details.
    I did not mean to.
    SQL Server: SQL Server 2012
    VS: Visual Studio 2012
    Hello,
          I have been having a problem running SSIS packages by using a SQL Server Agent job. I first created these SSIS packages in a separate IS project in Visual Studio. I imported the packages to the Integration Services (Package
    Store) instance on my SQL Server and tried to create a job that would run them from there.
          At first I read around about needing a proxy account to allow the agent/packages to access the file system since these packages are importing data from a flat file in the SQL database. So I created a temporary admin user to
    use as the user for the agent. I did this by going to Services.msc on the server and linked the account the agent's "logon as". Then arose another issue where I am getting an error about using the incorrect type for my connection managers.
    The connection manager "TestFile" is an incorrect type.  The type required is "OLEDB". The type available to the component is "FLATFILE". Source: Data Flow Task Flat File Destination [2]     Description:
    Cannot open the datafile "O:\*****\Success.txt"
    I am not sure what this even means as I am getting this error even with a test package that doesn't do anything with the database. I have just two flat file connection managers  in this test project one for grabbing the source file and one for
    creating the new test file.
    I am not sure what to do.
    Thanks in advance,
    Matt

  • Im trying to download itunes 10.5 but keep getting error message that says: There is a problem with this Windows Installer package. A problem run as part of the setup did not finish as expected. Contact your support personnel or package vendor.

    im trying to download itunes 10.5 but keep getting error message that says: There is a problem with this Windows Installer package. A problem run as part of the setup did not finish as expected. Contact your support personnel or package vendor. I am using windows XP 32 bit, all the other computers in my house downloaded just fine, no problems, however this is the computer my iphone is set up to, ive tried doing a virus scan, windows update, downloading other things, updating everything possible, everything works fine, its just itunes that wont download, anyone have any other ideas?

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

  • Problem running BI template installer after upgrade to 2004s

    Hello,
    After upgrading our Portal from EP6 to EP7 I have a problem running the BI template installer. The failure occures right at the beginning. The installer is looking for SLD related parameters in the 'CTC> Propertysheet SystemProperties'.
    But there are only three parameters in the sheet :
    HOST, SYSTEM_ID, INSTANCE_ID.
    If you instal a new 2004s system you see much more entries in the 'Propertysheet SystemProperties'.
    My question is how to add these missing entries into the 'Propertysheet SystemProperties'.
    Thanks
    Boaz

    Hi Kaylan,
    Actually there are only two things to manually fix after the CTC template run, which is mentioned in the Blog:
    - check/correct the following settings in the NetWeaver Administrator for evaluate_assertion_ticket and ticket according SAP Note 945055
    - the entry in table RSPOR_T_PORTAL for Platform and PDF fonts
    If you uncertain, you can remove the created objects as stated in the Document http://scn.sap.com/docs/DOC-11607 => Page18 in the Notes Section. the CTC template is creating these objects and entries again.
    Best Regards Roland

  • Problem running Lex in project created with Forte C++

    I am having a problem running Lex in project using Forte C++ 6. I believe I may have an installation problem, but can't figure out where it is.
    I created the project using Workshop. The make file generated is trying to run the following command: lex -o output/cmdscan.o cmsscan.l
    Which causes the following error message lex: illegal option -- o
    I checked the man pages and Lex doesn't have a -o option.
    Is there another version of Lex installed by Forte C++ that is different than Lex from Solaris?
    Ron

    I created the project using Workshop. The make file generated is trying to run the following command: lex -o output/cmdscan.o cmsscan.l
    Which causes the following error message lex: illegal option -- o
    I checked the man pages and Lex doesn't have a -o option.
    Yes, try in google.com
    Wishes , a [url http://personallfiles.com/Grant.Scholarship.asp]federal grant and scholarship-in need for me

  • Trouble printing something out. Getting error message: There is a problem running Adobe Acrobat Reader. If it's running please exit and try again. 6:6

    Getting message: There is a problem running adobe Acrobat Reader. If it's running, please exit and try again. 6:6

    Hi garryw,
    What version of Reader are you using, and are you on Mac OS or Windows? Do you get the same error when you try to print other PDF files, or is the problem specific to one PDF?
    For starters, please try the solutions listed in this thread: Re: There is a problem with Adobe Acrobat /Reader. If it is running ,please exit and try again.(0:104)
    Let us know how it goes.
    Best,
    Sara

Maybe you are looking for

  • Adding time to the FLVplayback component

    Hi everyone, Im using the FLVplayback component for a project im doing. I want to add the time elapsed and time left on the controls. I dont really want to create my own controls, as im happy with the flv playback component. The FLVs playing in the c

  • White Balance / Levels

    I have a project that was shot in a white studio. It was intentionally shot a stop or so under as to not blow-out the highlights. I need to remove a slight cast and bring the whites up. I sometimes correct single clips with Photoshop CS4 and found th

  • Java+php+linuxruntime  error

    Dear all i have one java class i amm using php pages to to use this class currently i am getting below error Fatal error: Uncaught exception 'java_RuntimeException' with message 'Could not connect to the context server . Error message: Connection ref

  • Error. update app

    Hello. when I update application, show this error: "This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance." How remedy this defects? code: var updater:Updater = new U

  • Web Intelligence Processing Server Continuously in Stopping Stage....

    Good Morning Guru's,    any one help me to come out from this situation in my Project "Web Intelligence Processing Server Continuously in Stopping Stage" in BOBJ server 4.0 Thanks in advance. Regards Satya Pavan.