Error during java.exe, javac.exe,etc... execution

Hi,
I recently installed JSK1.2.1 on a PC with windows 2000.
I correctly configured the PATH and CLASSPATH.
When i compile or try to run java.exe, the system returns the following error in a window:
"javac.exe has generated errors and will be closed by windows. You will need to restart he program.
An error log is being created."
The execution in the dos window stops as if nothing has happenned but the compilation doesn't work.
What can be the problem?

Does anyone have an answer to this problem. I am experiencing the same problem trying to use jdk1.1.6 (I know it's old but the contract I'm working on is forcing me to use it). I have done everything possible with the PATH and CLASSPATH. Still, nothing works.

Similar Messages

  • Virtual Machine has aborted error during Java EE SDK install

    Hi all,
    I'm trying to install java_ee_sdk-6u3-jdk7-windows-x64.exe on our new Windows Server 2012 machine but the installer starts and I then get a Setup box appear that says Error: The Java(TM) Virtual Machine has aborted.  I've looked in the Event Viewer and there are no messages and I've tried to get the installer to create a log file (by passing the parameter -l <loglocation>) but it doesn't seem to get that far as no log is created.
    The very first time I tried to run the JavaEE install on this machine, it installed everything ok but didn't create the windows service as .NET Framework 3.5 was missing.  So I uninstalled JavaEE and added in the .NET Framework 3.5 and then my problems began.  I have already installed these versions of Java and JavaEE successfully on a previous Windows Server 2012 machine which had the .NET Framework 3.5 on it. 
    The JRE installed already on the computer is jre-6u45-windows-x64.exe and I am logged in as an administrator.  I've tried uninstalling the JRE and reinstalling and also doing a registry clean using CCleaner incase there are any old references to the JRE/JavaEE but it didn't help.
    If anyone can give me any clues as to why this error is appearing I'd be most grateful!
    Thanks,
    Caroline

    Have finally got this to work after a lot more headscratching.  Turned out just passing the path to the JRE to the install wasn't good enough, I had to include the drive letter too even though it was on the same drive!

  • Error during java migration tool kit phase

    Hi All ,
    We are migrating the BI 7.00 EHP1 from  (Win 2008/SQL 2008) to Target (Win 2008/SQL 2008).This is a export/Import based method using sapinst tool.
    Import stopped at the "Java Migration Toolkit" phase.The following are the error logs , if anybody faced same issue please help with your inputs.
    runJmt.log
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:282)
    at com.sap.sdt.jmt.migrationtool.ConfigurationHandlerFactoryManager.getConfigurationHandlerFactory(ConfigurationHandlerFactoryManager.java:63)
    at com.sap.sdt.jmt.migrationtool.MigrationToolUtils.getSourceConfigurationFactory(MigrationToolUtils.java:178)
    at com.sap.sdt.jmt.migrationtool.MigrationToolImport.startTool(MigrationToolImport.java:260)
    at com.sap.sdt.jmt.migrationtool.MigrationToolImport.main(MigrationToolImport.java:1561)
    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:331)
    at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
    at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:365)
    at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:130)
    at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
    at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
    at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
    at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
    ... 13 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The port number error_con is not valid.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
    at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
    at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)
    at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)
    at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:307)
    ... 18 more
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:282)
    at com.sap.sdt.jmt.migrationtool.ConfigurationHandlerFactoryManager.getConfigurationHandlerFactory(ConfigurationHandlerFactoryManager.java:63)
    at com.sap.sdt.jmt.migrationtool.MigrationToolUtils.getTargetConfigurationFactory(MigrationToolUtils.java:190)
    at com.sap.sdt.jmt.migrationtool.MigrationToolImport.startTool(MigrationToolImport.java:262)
    at com.sap.sdt.jmt.migrationtool.MigrationToolImport.main(MigrationToolImport.java:1561)
    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:331)
    at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
    at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:365)
    at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:130)
    at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
    at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
    at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
    at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
    ... 13 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The port number error_con is not valid.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
    at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
    at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)
    at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)
    at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:307)
    ... 18 more
    Could not initialize the offline configuration managers.

    Hi,
    First check you port numbers as per error, that port is not use.
    The port number error_con is not valid.
    Also check this sap note
    1788188 - Couldn't connect to DB during java install
    Then also check this link with same problem, suggestion is replacing the default kernel from DVD with later one.
    http://scn.sap.com/thread/1203147
    KInd Regards,
    Johan

  • Error during JAVA ADD-IN - DB Instance Installation

    I get the following error during the DB instance install of JAVA ADD -IN (NW 2004s SR3), I have already installed SCS instance:
    FCO-00011  The step checkForExistingOraDatabaseSchema with step key |NW_Addin_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|7|0|NW_CreateJavaSchema|ind|ind|ind|ind|1|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|checkForExistingOraDatabaseSchema was executed with status ERROR ( Last error reported by the step :Assertion failed: OraSqlContext constructor: arguments dbSidOrSrcObject and dbHome are not valid.).
    OS = Solaris
    Oracle = 10.2.0.2
    I also tried setting ORACLE_HOME and ORACLE_SID parameters which should not be necessary since I am giving the path to profile still not able to get past the error.
    Any ideas anyone.
    Thanks
    S.

    It´s not clear what you are doing.
    You are installing a standalone instance or do you install a Java addin into an existing ABAP instance?
    Markus

  • Error during Java SPS Update (LM-TOOLS)

    Hello,
    I am currently upgrading SAP EHP 1 for SAP NetWeaver 7.0 from SPS06 to SPS14 and I get an error during LM-TOOLS component update.
    Here is the error log:
    14/03/17 14:24:31 -  ***********************************************************
    14/03/17 14:24:31 -  Start updating EAR file...
    14/03/17 14:24:31 -  start-up mode is lazy
    14/03/17 14:24:31 -  EAR file updated successfully for 33ms.
    14/03/17 14:24:31 -  Start updating...
    14/03/17 14:24:32 -  EAR file uploaded to server for 42ms.
    14/03/17 14:24:32 -  ERROR: Not updated. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Cannot deploy application sap.com/tc~sec~auth~spnego~wizard..
                         Reason: Clusterwide exception: Failed to deploy application sap.com/tc~sec~auth~spnego~wizard. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:
                          com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application sap.com/tc~sec~auth~spnego~wizard. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
                          at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:689)
                          at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
                          at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:336)
                          at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)
                          at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:137)
                          at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                          at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                          at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                          at java.security.AccessController.doPrivileged(Native Method)
                          at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
                          at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
                         Caused by: com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application sap.com/tc~sec~auth~spnego~wizard. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
                          at com.sap.engine.services.webdynpro.WebDynproContainer.deploy(WebDynproContainer.java:1052)
                          at com.sap.engine.services.webdynpro.WebDynproContainer.makeUpdate(WebDynproContainer.java:1283)
                          at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:402)
                          at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:325)
                          at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:166)
                          at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
                          at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
                          at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3241)
                          at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:677)
                          ... 10 more
                         For detailed information see the log file of the Deploy Service.
    14/03/17 14:24:32 -  ***********************************************************
    Mar 17, 2014 2:24:32 PM  Info: End of log messages of the target system.
    Mar 17, 2014 2:24:32 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Mar 17, 2014 2:24:32 PM  Error: Aborted: development component 'tc/sec/auth/spnego/wizard'/'sap.com'/'MAIN_NW701P13_C'/'4487597'/'0', grouped by software component 'LM-TOOLS'/'sap.com'/'MAIN_NW701P14_C'/'1000.7.01.14.0.20130801094512''/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/tc~sec~auth~spnego~wizard..
    Reason: Clusterwide exception: Failed to deploy application sap.com/tc~sec~auth~spnego~wizard. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:
      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application sap.com/tc~sec~auth~spnego~wizard. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Mar 17, 2014 2:24:32 PM  Info: Starting to save the repository
    Mar 17, 2014 2:24:32 PM  Info: Finished saving the repository for 193 ms.
    Mar 17, 2014 2:24:32 PM  Info: Starting: Update: Selected software component 'LM-TOOLS'/'sap.com'/'MAIN_NW701P14_C'/'1000.7.01.14.0.20130801094512''/'0' updates currently deployed software component 'LM-TOOLS'/'sap.com'/'MAIN_NW701P06_C'/'1000.7.01.6.0.20100108201135''/'0'.
    Mar 17, 2014 2:24:32 PM  Error: Aborted: software component 'LM-TOOLS'/'sap.com'/'MAIN_NW701P14_C'/'1000.7.01.14.0.20130801094512''/'0':
    Failed deployment of SDAs:
    development component 'tc/sec/auth/spnego/wizard'/'sap.com'/'MAIN_NW701P13_C'/'4487597'/'0' : aborted
    Please, look at error logs above for more information!
    Mar 17, 2014 2:24:32 PM  Info: Starting to save the repository
    Mar 17, 2014 2:24:33 PM  Info: Finished saving the repository for 193 ms.
    Mar 17, 2014 2:24:33 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Mar 17, 2014 2:24:33 PM  Error: ---------------- At least one of the Deployments failed ---------------
    Any help will be really appreciated.

    Hi Johnny,
    You need to undeploy the sap.com~spnego.cfg.wd component using SDM
    Then retry the patching of LM-TOOL patching
    Also follow the SAP Note
    1643003 - Deployment of LM-TOOLS fails. Due to SPNego
    With Regards
    Ashutosh Chaturvedi

  • Error during java add-in

    HI all,
    I was encountered problem when installing JAVA add-in in ABAP system during SDM Installation/ Upgrades step
    Error log in sapinst.dev.log attached
    Copying file /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA_ORA/ONE_HOST/SDMKIT.log to: /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA_ORA/ONE_HOST/SDMKIT.1.log.
    INFO       2008-04-17 11:51:30 [syuxcpath.cpp:369]
               CSyPath::createFile()
    Creating file /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA_ORA/ONE_HOST/SDMKIT.1.log.
    INFO       2008-04-17 11:51:30
               CJSlibModule::writeInfo_impl()
    Output of /usr/j2sdk1.4.2_12/bin/jar is written to the logfile SDMKIT.log.
    INFO       2008-04-17 11:51:31
               CJSlibModule::writeInfo_impl()
    Output of /usr/j2sdk1.4.2_12/bin/jar 'xvf' '/data01/J2EE_OSINDEP/SDM/SDMKIT.JAR':
    TRACE      [iaxxejsexp.cpp:208]
               EJS_Installer::writeTraceToLogBook()
    Returncode of /usr/j2sdk1.4.2_12/bin/jar: 1
    ERROR      2008-04-17 11:51:31
               CJSlibModule::writeError_impl()
    MUT-03011  Execution of the command "/usr/j2sdk1.4.2_12/bin/jar 'xvf' '/data01/J2EE_OSINDEP/SDM/SDMKIT.JAR'" finished with return code 1. Output:
    Kindly please guide me regarding this.
    Points rewarded if it was helpful.
    Thousand thanks
    BR,
    terry
    Edited by: Tow Terry on Apr 17, 2008 6:35 AM

    Markus,
    Hi Markus,
    I had loaded incomplete file for SDMKIT.JAR into server.
    And now the installation was running up again.
    Appreciate your assisting.
    Thanks

  • NameFromLastDDL Error during java stored procedure upload...

    Hi guys,
    I am trying to upload a class to send email within a java stored procedure.
    JDeveloper fails to upload the class, and the error message doesn't help me:
    I guess the automatically generated SQL statment features a "NameFromLastDDL" argument, but i have no control over that....anybody had this issue before ?
    Following, the "ugly" exception:
    Error while creating class client/Utils
    ORA-06550: line 1, column 91:
    PLS-00201: identifier 'NameFromLastDDL' must be declared
    ORA-06550: line 1, column 85:
    PL/SQL: Statement ignored
    java.sql.SQLException: ORA-06550: line 1, column 91:
    PLS-00201: identifier 'NameFromLastDDL' must be declared
    ORA-06550: line 1, column 85:
    PL/SQL: Statement ignored
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3076)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4273)
         at oracle.aurora.server.tools.loadjava.ClientClassObject.create(ClientClassObject.java:68)
         at oracle.aurora.server.tools.loadjava.SchemaObject.process1(SchemaObject.java:223)
         at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:530)
         at oracle.aurora.server.tools.loadjava.LoadJava.addClass(LoadJava.java:584)
         at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:434)
         at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:378)
         at oracle.aurora.server.tools.loadjava.LoadJava.addJar(LoadJava.java:717)
         at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:430)
         at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:378)
         at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:347)
         at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:643)
         at oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles(LoadJava.java:615)
         at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:806)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:116)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:46)
         at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:97)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:473)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:360)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeployToMostRecent(StoredProcHandler.java:256)
         at oracle.jdevimpl.deploy.StoredProcProfileDt$2.run(StoredProcProfileDt.java:193)
    The following operations failed
    class client/Utils: creation (createFailed)
    oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
         at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:863)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:116)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:46)
         at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:97)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:473)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:360)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeployToMostRecent(StoredProcHandler.java:256)
         at oracle.jdevimpl.deploy.StoredProcProfileDt$2.run(StoredProcProfileDt.java:193)

    I think u dont've previleges to run
    the procedure.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by arunr12:
    hi I am calling java stored procedure from jdbc. i am getting wierd exceptions:
    CallableStatement cstmt = conn.prepareCall("begin SEND_MAIL(?,?,?);end;");
    cstmt.setString(1,"[email protected]");
    cstmt.setString(2,"Mail from Stored Proc");
    cstmt.setString(3,"This is test mail from Oracle8i");
    cstmt.execute();
    i am getting following Exception:
    java.sql.SQLException: ORA-29532: Java call terminated by uncaught Java exception: java.security.AccessControlException: the Permission (java.util.PropertyPermission * read,write) has not been granted by dbms_java.grant_permission to SchemaProtectionDomain(ISTORE_CUST|PolicyTableProxy(ISTORE_CUST))
    ORA-06512: at "ISTORE_CUST.SEND_MAIL", line 0
    ORA-06512: at line 1
    <HR></BLOCKQUOTE>
    null

  • 'A file or directory doesn't exist' error during java stack update

    Dear All,
    I've done a fresh installation of solution manger system on IBM iseries box (OS400 & DB2 combo).
    As part of post installation activity, I've updated the kernel patch, updated the ABAP stack to sp4, and am currently doing the java stack update.
    I'm struck with one error. The log file shows:
    Feb 23, 2012 7:54:35 PM  Error: /usr/sap/SLM/SYS/global/j2eeclient/META-INF/SAP_MANIFEST.MF (A file or directory in the path name does not exist.)
    Feb 23, 2012 7:54:35 PM  Error: Error deploying Fileset Complete to /usr/sap/SLM/SYS/global/j2eeclient
    Feb 23, 2012 7:54:35 PM  Info: ***** End of File-System Deployment com.sap.engine.client *****
    Feb 23, 2012 7:54:35 PM  Error: Aborted: development component 'com.sap.engine.client'/'sap.com'/'SAP AG'/'7.0209.20110628100654.0000'/'1', grouped by :
    Deployment was not successful
    I've checked the file system and found that the directory META-INF is not present in /../../global/j2eeclient
    Please suggest a solution.
    Thank You.
    regards,
    vin

    Hi,
    This is an easy solution:
    From the OS command line, do WRKLNK, go to /usr/sap/SLMS/global/j2eeclient,  at the top where it shows the directory, do a copy on this. Then at the command line type MD, do F4, paste the directory name in the first line, then after j2eeclient add /META-INF'
    IMportant*** Make sure the full directory name is in single quotes.*
    *On the next 2 lines change INDIR to RWX.  Then press enter and re-run your job.  If you have any problems let me know.

  • Error during Java WS add in installation

    Hello,
    I am receiving the following error when trying to install the Java WS 6.4 add - in to an existing ab-ap installation. We are using SQL Server 2000 on Windows Server 2003 and doing an ABAP / J2EE unicode installation. It looks like a database table it is looking for is missing. I looked in the SAP tables in the database and the table is indeed missing. Does anyone know if I've overlooked an installation step that would resolve this issue for me?
    TIA -- Brandon
    SAPinst is getting started.
    Please be patient ...
    guiengine: login in process.
    Transaction begin ********************************************************
    TRACE [iaxxrfclfp.cpp:858]
    CRfcPara::checkTableParam
    Check existence of field (table/field): ACTIVITYGROUPS/AGR_NAME
    TRACE [iaxxrfclfp.cpp:837]
    CRfcPara::setTableParamValue
    Setting value (table/field/value/offset):ACTIVITYGROUPS/AGR_NAME/SAP_J2EE_GUEST/0
    TRACE [iaxxrfclfp.cpp:916]
    CRfcPara::appendTableLine
    Appended table line (table/value): ACTIVITYGROUPS/SAP_J2EE_GUEST 0000000000000000
    INFO 2004-11-03 10:22:56 [iaxxrfcimp.cpp:1058]
    CAbRfcImpl::callFunction
    Executing function call BAPI_USER_ACTGROUPS_ASSIGN.
    TRACE [iaxxrfcimp.cpp:1083]
    CAbRfcImpl::performFunctionCall
    Calling function module: BAPI_USER_ACTGROUPS_ASSIGN
    ERROR 2004-11-03 10:22:57 [iaxxrfcimp.cpp:1122]
    CAbRfcImpl::performFunctionCall
    FRF-00025 Unable to call function. Error message: Invalid call of database interface. accessed. .
    TRACE [iaxxrfcimp.cpp:1123]
    CAbRfcImpl::performFunctionCall
    RFC failure or system exception raised
    TRACE [iaxxrfcimp.cpp:1124]
    CAbRfcImpl::performFunctionCall
    Invalid call of database interface. accessed.
    Transaction end **********************************************************
    Exit status of child: 1

    I am getting the same error, any possible solution?
    thanks
    Dhandu

  • Error during Java Stack upgrade with SAPINST Tool for Netweaver 04

    Hi,
    I have updated all the ABAP stack support packages fine. But when i try to upgrade the Java Stack for the BW server using the SAPINST tool, i received an error in the 17th step "Starting J2EE Engine".
    The error log says:
    CJS-20057 Starting Java engine DVEBMGS05 of SAP system <SID> failed:
    after 165 seconds the state of the engine changed from &quot;Starting&quot; to &quot;Stopped&quot;.
    Please help.
    Thanks
    Vijay

    Hi Vijay,
    Please check the link for some initial troubleshooting:
    http://help.sap.com/saphelp_nw70/helpdata/en/69/430841a6e1ef6fe10000000a1550b0/frameset.htm
    Regards,
    Siddhesh

  • Errors during Java DB import after system refresh

    We are in the middle of refreshing our qas NW04s BI (ABAP+Java) server from our production server.  We have exported the Java database from our prod server and are trying to import it into our QA server.  On step 2 of the import (Install Common System Files), it fails with the following errors:
    ERROR      2007-07-31 14:29:17 [iaxxejsbas.cpp:178]
               EJS_ErrorReporter
    FJS-00003  out of memory (in script NW_Doublestack_OneHost|ind|ind|ind|ind, line 1727: ???)
    ERROR      2007-07-31 14:30:29 [iaxxgenimp.cpp:736]
               showDialog()
    FCO-00011  The step createSystemDirectories with step key |NW_Doublestack_OneHost|ind|ind|ind|ind|00|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_System|ind|ind|ind|ind|5|0|createSystemDirectories was eecuted with status ERROR .
    I am running sapinst as root.  Anyone seen this before?  ABAP looks to be ok.  Thanks!

    hi
    Do a
    select * from dba_temp_files; .
    If you are getting the same eror, seems the temp file is corrupted.
    Simply drop the temp tablespace, create  a new one
    CREATE TEMPORARY TABLESPACE temp
          TEMPFILE '/oradata/mytemp_01.tmp' SIZE <> M
          EXTENT MANAGEMENT LOCAL UNIFORM SIZE 16M;
    and then make it a database default
    Alter 'database default temporary tablespace PSAPTEMP.
    Then again check select * from dba_temp_files.
    let us know the results.
    Thanks
    Rishi

  • Javac.exe Error Message

    Hey there,
    I recently Installed jdk1.2.2 on my home computer and now every time I go to compile a programe I get an error message which says Javac.exe has encountered a problem and needs to shutdown. Please contact windows then it says send error report or dont send?! I recently had to reinstall windows XP :( so would this have anything to do with it? Before I had to re-install XP jdk ran with no problems,
    Anyone with any ans I'd be delighted to hear
    Thanks!

    Do you have a Pentium 4 (or new Celeron) computer? It could be a problem with symcjit.dll. Some versions do not work in Pentium 4 computers. Upgrade your JDK version, or make it work in interpreted mode (
    before calling javac.exe, run the following command in the Command Prompt:
    SET JAVA_COMPILER=none
    Your compiling will be deadly slow, but it could work.

  • Javac.exe

    I am running Windows Server 2003 box (work related reasons). I use TextPad 4.7.3 for my editor. When I went to compile a java program it came back with the error:
    C:\WINDOWS\SYSTEM32\javac.exe
    The window cannot find the filed specified
    I have tried to re-install but no luck, any suggestions?

    Did you actually install the JDK/SDK or did you just install the runtime?
    If you installed the JDK/SDK then add the bin where javac is to your PATH.

  • HT1338 i reinstall my macbook pro after i try to install application software but i am getting error during installation.

    i reinstall mac os through mac dvd after completing installation  i try to install application through application dvd but its showing error during installation. IPhoto,IDVD ,etc all these software i need to install but getting problem.Please resolve my problem.I checked my hardware test i passed .

    Hi,
    Try cleaning the DVD and try again. It could be that you have a bad disc.
    Open the "Console" application. "Applications -> Utilities" are there any diagnostic messages or error logs, crash reports in the Console window? If a program crashes during the installation, post the error message. The first fifty lines of the crash log should suffice.
    I'm guessing that it could be that certificate expired so the installer package is no longer trusted. You can try setting the date on your Mac back to around the date you bought it and try the installation again. I hope this helps. If not and you may need to request a new DVD.
    Let me know how it goes.

  • Compiling error on Java I/O

    My first time to write a very simple Java progam. Any one could help me on this comipling error? Thanks in advance!
    Compiling ERROR:
    ================
    C:\java\class>javac hw01.java
    hw01.java:43: cannot resolve symbol
    symbol : variable in
    location: class hw01
    while((line = in.readLine()) != null ) {
    ^
    1 error
    SOURCE CODE:
    ============
    *     Program name: hw01.java
    *     Author:
    *     Description: Simple I/O and computation
    *     Date: 12/08/2002
    *     compile: javac hw01.java
    *     usage: java hw01 <infile> <utfile>
    *     <infile> - input file
    *     operator operand1 operand2
    *          ex. + 1 1
    * <outfile> - output file
    * operand1 operator operand2 = result
    *          ex. 1 + 1 = 2
    import java.io.*;
    import java.util.*;
    public class hw01 {
         // Open input file and output file
         public static void main(String[] args) throws IOException {
              if (args.length == 2) {
                   // Open File for Reading
                   File inFile = new File(args[0]);
                   FileReader in = new FileReader(inFile);
                   // Open File for Writing
                   File outFile = new File(args[1]);
                   FileWriter out = new FileWriter(outFile);
              } else {
                   System.out.println("java command <arg1> <arg2>");
              // Get operation, operand1 and operand2 for each line
              String line = null;
              while((line = in.readLine()) != null ) {
                   //String op; String op1; String op2; String result;
                   // Get operation and operands
                   //stringTokenizer t = new StringTokenizer(line);
                   //op = t.nextToken().charAt(0);
                   //op1 = Integer.valueOf(t.nextToken()).intValue();
                   //op2 = Integer.valueOf(t.nextToken()).intValue();
                   // Compute math operation
                   //if( op == '+' ) {
                   //     result = op1 + op2;
                   // } else if( op == '-' ) {
                   //     result = op1 - op2;
                   //} else if( op == '*' ) {
                   //     result = op1 * op2;
                   //} else if( op == '/' ) {
                   //     result = op1 / op2;
                   // Print out the result
                   //system.out.println(op1 + op + op2 + "=" + result);
              // Close infile
              // in.close();
              // System.out.println("");
              // Close outFile
              // out.close();

    The compiling error is fixed. The revised working source code hw01.java is provided below. Can someone help the remining question below?
    PROBLEM/Question:
    =================
    The output only goes to the console. How code should be changed to allow output to a specified file from command line.
    SOURCE FILE (without Compiling error):
    =====================================
    *     Program name: hw01.java
    *     Author:
    *     Description: Simple I/O and computation
    *     Date: 12/08/2002
    *     compile: javac hw01.java
    *     usage: java hw01 <infile> <utfile>
    * example: java hw01 hw1data.txt hw1out.txt
    *     <infile> - input file
    *     operator operand1 operand2
    *          ex. + 1 1
    * <outfile> - output file
    * operand1 operator operand2 = result
    *          ex. 1 + 1 = 2
    import java.io.*;
    import java.util.*;
    public class hw01 {
         // Open input file and output file
         public static void main(String[] args) throws IOException {
              FileReader in = null;
              FileWriter out = null;
              BufferedReader br = null;
              System.out.println("input File Name = " + args[0]);
              System.out.println("output File Name = " + args[1]);
              if (args.length == 2) {
                   // Open File for Reading
                   File inFile = new File(args[0]);
                   in = new FileReader(inFile);
                   br = new BufferedReader(in);
                   // Open File for Writing
                   File outFile = new File(args[1]);
                   out = new FileWriter(outFile);
              } else {
                   System.out.println("java command <arg1> <arg2>");
              // Get operation and operands for each line
              String line = null;
         char op;
              int op1, op2;
              int result = 0;
              while((line = br.readLine()) != null ) {
                   // Get operation and operands
                   StringTokenizer t = new StringTokenizer(line);
                   op = t.nextToken().charAt(0);
                   op1 = Integer.valueOf(t.nextToken()).intValue();
                   op2 = Integer.valueOf(t.nextToken()).intValue();
                   // Compute math operation and print result
                   if( op == '+' ) {
                        result = op1 + op2;
                        System.out.println(op1 + " + " + op2 + " = " + result);
                   } else if( op == '-' ) {
                        result = op1 - op2;
                        System.out.println(op1 + " - " + op2 + " = " + result);
                   } else if( op == '*' ) {
                        result = op1 * op2;
                        System.out.println(op1 + " * " + op2 + " = " + result);
                   } else if( op == '/' ) {
                        result = op1 / op2;
                        System.out.println(op1 + " / " + op2 + " = " + result);
              // Close infile
              in.close();
              // Close outFile
              out.close();
    }

Maybe you are looking for

  • How do I get song on iPod back onto iTunes?

    Hi. I recently bought a new laptop (new Toshiba for slightly less new Toshiba); I followed the iTunes help instructions to use the iPod as an external harddrive and copied the music/podcasts from the iTunes on my old computer onto the iPod (classic,

  • Font styling in mail doesn't work

    When writing a message it's now impossible to style text. I've got the font set to Arial, which is active, but apple-b does nothing, neither does format>style>bold. Curioously, underline seems ot work. "Smaller" sometimes works for a couple of change

  • Error Messagejava.lang.NullPointerException in Oracle B2B 11g

    Hi all, We are working on simple PO transaction(outbound flow) between two trading partners using AS2 protocol. B2B picks the data successfully, we are able to see the application message getting generated but niether we are able to see the payload o

  • Procedure within procedure problem

    Hi I have a table of 5 different magazines and a table of purchases of those magazines. I have written a procedure to take the details of a given magazine and place the sales for a given month into a sales table as follows: create or replace procedur

  • FCP Saving Everything to one Drive?

    Hi there, When you are working on a project that is using footage and files from several drives , is there a way to save the whole thing in one place on a new drive without having to go fishing through every file you need and manually putting it in o