Error : inavalid option - 'java' in cmdLine for Java
Hi friends,
I have just started working with the "Oracle Discoverer EUL Command Line for Java". I have windows XP as an operating system and version 9.0.4 as a tool.
I have already used -connect, -refresh comands.
when I tried to use -cmdfile with -connect in the following way :
java - jar eulbuilder.jar -connect username/password@database_name_with_domain -cmdfile f:\import.txt
It displays the error
Inavalid option - 'Java'.
I have import.txt file in F: drive and the command in the file is also valid. But the system is not recognizing the -cmdfile option for java.
Pls guide me in above problem.
I got the solution from the document itself.
My error was that I was repeating the part
java - jar eulbuilder.jar
again in the file.
Similar Messages
-
WHAT IS ERROR HANDLING OPTIONS IN dtp? FOR DSO
hi friends,
what is use for every option error handling in dtp .
1) deactivated
2)no update , not reporting
3)valid records update, no reporting(request red)
4)valid records update, reporting (request green).
what is individual effect for my DSO, ple explain me acenerio,
for my DSO what can i select, why?
regards
suneel.Check this help - self explanatory - trying checking F1 thats very informative and self explantory most of the times
Switched off
If an error occurs, the error is reported as a package error in the DTP monitor. The error is not assigned to the data record. The cross-reference tables for determining the data record numbers are not built; this results in faster processing.
The incorrect records are not written to the error stack since the request is terminated and has to be updated again in its entirety.
No update, no reporting (default)
If errors occur, the system terminates the update of the entire data package. The request is not released for reporting. The incorrect record is highlighted so that the error can be assigned to the data record.
The incorrect records are not written to the error stack since the request is terminated and has to be updated again in its entirety.
Update valid records, no reporting (request red)
This option allows you to update valid data. This data is only released for reporting after the administrator checks the incorrect records that are not updated and manually releases the request (by a QM action, that is, setting the overall status on the Status tab page in the monitor).
The incorrect records are written to a separate error stack in which the records are edited and can be updated manually using an error DTP.
Update valid records, reporting possible
Valid records can be reported immediately. Automatic follow-up actions, such as adjusting the aggregates, are also carried out.
The incorrect records are written to a separate error stack in which the records are edited and can be updated manually using an error DTP. -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-24
Hi All,
Am having serious problem with ORA-24327 and the behavior is very very unpredictable. I have couple of environment where the same error comes in different context. The recent one was surprising. I have describe bellow the environment configuration and the stack trace. The error which surprised me was when I use type � 3 driver while starting weblogic I get ORA �24327 but when I use Type �4 it starts properly. If you could kindly provide solution it would be great help. I would also appreciate if u can provide information which driver to use where performance is the major concern. I would also appreciate if u could provide feed-back from the industry about booth the driver. Apart from that I have couple have environment where it occurs when 10/12 user access simultaneously. All the open connection is closed in program properly still am getting the error.
Thanks in anticipation.
Cheers,
Tapas
Environment
OS - SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
JDK - Solaris VM (build Solaris_JDK_1.2.2_07, native threads, sunwjit)
Weblogic - 5.1.0 Service Pack 9 04/05/2001 14:59:53 #105983
Oracle � 8.1.6
Delaying 10 seconds before making a beuatpool pool connection.
Pool 1 (Type �3 )
weblogic.jdbc.connectionPool.beuatpool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=10,\
initialCapacity=10,\
maxCapacity=20,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=10,\
refreshMinutes=10,\
testTable=dual,\
props=user=xxx;password=xxx;server=xxxx
Pool 2(Type �4)
weblogic.jdbc.connectionPool.thinPool=\
url=jdbc:oracle:thin:@xxx:1521:xxx,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=1,\
maxCapacity=10,\
capacityIncrement=1,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=15,\
testTable=dual,\
props=user=xxx;password=xxx;server=xxx:1521:xxx
allow=everyone
---------- LOGIN ERROR CODE: 24327
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 �
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:149)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
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(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
---------- LOGIN ERROR CODE: 24327
---------- LOGIN ERROR CODE: 24327
Fri Aug 31 00:57:22 GMT-05:00 2001:<I> <JDBC Pool> Sleeping in createResource()
Fri Aug 31 00:57:23 GMT-05:00 2001:<E> <JDBC Pool> Failed to create connection p
ool "beuatpool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 -
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:172)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
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(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at weblogic.common.ResourceException.<init>(ResourceException.java:18)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:182)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
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(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at weblogic.common.ResourceException.<init>(ResourceException.java:18)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:125)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
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(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)Hi,
I guess you can try some of these:
- Make sure you're not missing an entry inside your tnsnames.ora file. Thin driver does not require the information inside that file, as opposed to Weblogic's OCI driver. If you are able to connect to the DB using a thin driver, then the problem is most probably (WL)driver-related.
- Make sure you've properly configured the DB user / password inside your weblogic.properties (config.xml if WL6+).
- Make sure you're able to access all drivers and classes required (PATH, CLASSPATH, etc...)
- Make sure the OCI driver version you are using is fully compatible with the Oracle (server) version you are pointing to.
- Try to access the DB user through some other client (for instance, SQLPlus*).
Hope this is of some help,
Freddy. -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
Hi,
I am getting the following error when i tried to connect to Oracle database from
a servlet. This exception is coming at the time of getting connection. And the
same code is working when i used in the standalone java program.
Oracle 8i database and WLS 6.0 are on the same UNIX machine.
---------attempting to connect ------
java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
piled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
ode)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java, Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Can any one help me out.
DurgaThe problem is solved after exprting the parameter ORACLE_SID=<database_name>
in Weblogic startup script.
thank u for the suggestions.
Durga
Joseph Weinstein <[email protected]> wrote:
>
>
Durga wrote:
Hi Joe,
I have checked the ORACLE_HOME parameter. There was a differnce. Ichanged to
/oracle/app/product/8.1.7
Now i am getting different exception. But still the standalone codeis working.
any clues why I am getting this exception. I will send the code andthe weblogic
properties file for reference if u need.Good. No, I don't need it. Now make sure the library path that the OS
uses to find
Oracle libraries, and our driver libraries etc., is in the same order
for the
server as for the shell that is successful on it's own. Make sure your
Oracle
client stuff is ahead of any weblogic libraries.
Joe
java.sql.SQLException: ORA-12547: TNS:lost contact
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java,Compiled
C
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, CompiledCode)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
piled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
C
ode)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
C
ode)
at java.sql.DriverManager.getConnection(DriverManager.java,Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java,Compiled Code
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.getRuntimeName(ServletStubI
mpl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1631)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java,Compiled
Co
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, CompiledCode)
Joseph Weinstein <[email protected]> wrote:
The environment for the server probably doesn't have the same ORACLE_HOME
setting as your shell when you succeed in a standalone.
Also, you should be using our connection pools, and you should avoid
making DriverManager calls in any multithreaded app such as WebLogic.
Joe
Durga wrote:
Hi,
I am getting the following error when i tried to connect to Oracledatabase from
a servlet. This exception is coming at the time of getting connection.And the
same code is working when i used in the standalone java program.
Oracle 8i database and WLS 6.0 are on the same UNIX machine.
---------attempting to connect ------
java.sql.SQLException: Error while trying to retrieve text for errorORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,
Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, CompiledC
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled
Code)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
piled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, CompiledC
ode)
at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
e)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, CompiledCode
at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
e)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
e)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java, Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, CompiledCo
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Can any one help me out.
Durga -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-12
Hi,
I am getting the following error when i tried to connect to Oracle database from a servlet on HP-UX. I am using wls 6.0. And the same code is working when i used in the standalone java program.
java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
piled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
ode)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java, Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Can any one help me out.
DurgaThis is the text for ORA-12545, there is a problem in your NET8 somewhere.
http://technet.oracle.com/doc/network.815/a67440/ch11.htm#440586 -
"error while evaluating Java script for the package"
Okay, this is a new one on me! Anyone ever get this message? I don't know what is going on with my iMac, all I know is that about a month ago my iTunes was working fine, and when I just went to use it, it tells me "you can not use the application iTunes with this version of Mac OS X. So I thought maybe something was wrong with my iTunes and downloaded it again and i got the "error while evaluating Java script for the package" when I tried to reinstall iTunes. Another issue I am having is with updates. I haven't received an update for a long time and when I manually check, it tells me there are none.
Okay, this is a new one on me! Anyone ever get this message? I don't know what is going on with my iMac, all I know is that about a month ago my iTunes was working fine, and when I just went to use it, it tells me "you can not use the application iTunes with this version of Mac OS X. So I thought maybe something was wrong with my iTunes and downloaded it again and i got the "error while evaluating Java script for the package" when I tried to reinstall iTunes. Another issue I am having is with updates. I haven't received an update for a long time and when I manually check, it tells me there are none.
-
Error in Deploying java components - SAP NW CE 7.2 installation on Windows
Hi,
I am installing NW CE 7.2 on a windows machine. I opted for custom installation. I get the below error at "Deploy java components step. Any clue on why is this happening and how to resolve ?
<html> <head> </head> <body> <p> An error occurred while processing option SAP NetWeaver 7.2 Developer Edition > Install > Custom Server Installation( Last error reported by the step :Execution of Deploy Controller Runner tool '"C:\Program Files\sapinst_instdir\NW72\INSTALL\DEVSYSTEM\sapjvm\sapjvm_6\bin\java.exe" -classpath "C:/Program Files/sapinst_instdir/NW72/INSTALL/DEVSYSTEM/install/lib;E:/usr/sap/TR6/SYS/global/security/lib/tools/iaik_jce.jar;E:/usr/sap/TR6/SYS/global/security/lib/tools/iaik_jsse.jar;E:/usr/sap/TR6/SYS/global/security/lib/tools/iaik_smime.jar;E:/usr/sap/TR6/SYS/global/security/lib/tools/iaik_ssl.jar;E:/usr/sap/TR6/SYS/global/security/lib/tools/w3c_http.jar;E:/usr/sap/TR6/J00/j2ee/j2eeclient/sap.comtcexceptionimpl.jar;E:/usr/sap/TR6/J00/j2ee/j2eeclient/sap.comtcjeclientlibimpl.jar;E:/usr/sap/TR6/J00/j2ee/j2eeclient/sap.comtcloggingjavaimpl.jar;C:/Program Files/sapinst_instdir/NW72/INSTALL/DEVSYSTEM/install/lib/tcje~cl_deploy.jar" -Xmx256m -Ddc.api.verbose=false com.sap.engine.services.dc.api.cmd.Runner deploy -l "C:/Program Files/sapinst_instdir/NW72/INSTALL/DEVSYSTEM/deploy.lst" -e stop -u lower -w safety --lcm bulk -t 14400000 --host L-156007555 --port 50004' aborts with return code 104. Error message is <b>'undefinedStatus:AlreadyDeployedDescription: 1. Already deployed component has version:1000.7.20.1.0.20091117001100.</b> SOLUTION: Check 'undefined' and '' for more information.). You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>View Log</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/NW72/INSTALL/DEVSYSTEM. </p> </body></html>
Regards,
RukmaniThe below msg is from sapinst_dev.log
<html> <head> </head> <body> <p> An error occurred while processing option SAP NetWeaver 7.2 Developer Edition > Install > Custom Server Installation( Last error reported by the step :Execution of Deploy Controller Runner tool '"C:\Program Files\sapinst_instdir\NW72\INSTALL\DEVSYSTEM\sapjvm\sapjvm_6\bin\java.exe" -classpath "C:/Program Files/sapinst_instdir/NW72/INSTALL/DEVSYSTEM/install/lib;E:/usr/sap/TR6/SYS/global/security/lib/tools/iaik_jce.jar;E:/usr/sap/TR6/SYS/global/security/lib/tools/iaik_jsse.jar;E:/usr/sap/TR6/SYS/global/security/lib/tools/iaik_smime.jar;E:/usr/sap/TR6/SYS/global/security/lib/tools/iaik_ssl.jar;E:/usr/sap/TR6/SYS/global/security/lib/tools/w3c_http.jar;E:/usr/sap/TR6/J00/j2ee/j2eeclient/sap.comtcexceptionimpl.jar;E:/usr/sap/TR6/J00/j2ee/j2eeclient/sap.comtcjeclientlibimpl.jar;E:/usr/sap/TR6/J00/j2ee/j2eeclient/sap.comtcloggingjavaimpl.jar;C:/Program Files/sapinst_instdir/NW72/INSTALL/DEVSYSTEM/install/lib/tcje~cl_deploy.jar" -Xmx256m -Ddc.api.verbose=false com.sap.engine.services.dc.api.cmd.Runner deploy -l "C:/Program Files/sapinst_instdir/NW72/INSTALL/DEVSYSTEM/deploy.lst" -e stop -u lower -w safety --lcm bulk -t 14400000 --host L-156007555 --port 50004' aborts with return code 104. Error message is <b>'undefinedStatus:AlreadyDeployedDescription: 1. Already deployed component has version:1000.7.20.1.0.20091117001100.</b> SOLUTION: Check 'undefined' and '' for more information.). You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>View Log</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/NW72/INSTALL/DEVSYSTEM. </p> </body></html> -
A critical error has occured: java.lang.NullPointerException in bank detail
Hi all,
When i maintain data for infotype 0009 in R3, bank details link works fine. But when there is no data maintained in R3 for infotype 9..... instead of option for creating new bank details...im getting the following error...
java.lang.NullPointerException
at com.sap.xss.hr.per.nz.bank.fc.FcPerBankNz.readRecord(FcPerBankNz.java:276)
at com.sap.xss.hr.per.nz.bank.fc.wdp.InternalFcPerBankNz.readRecord(InternalFcPerBankNz.java:631)
at com.sap.xss.hr.per.nz.bank.fc.FcPerBankNzInterface.readRecord(FcPerBankNzInterface.java:146)
at com.sap.xss.hr.per.nz.bank.fc.wdp.InternalFcPerBankNzInterface.readRecord(InternalFcPerBankNzInterface.java:219)
at com.sap.xss.hr.per.nz.bank.fc.wdp.InternalFcPerBankNzInterface$External.readRecord(InternalFcPerBankNzInterface.java:295)
at com.sap.xss.hr.per.nz.bank.overview.VcPerBankNzOverview.onBeforeOutput(VcPerBankNzOverview.java:257)
at com.sap.xss.hr.per.nz.bank.overview.wdp.InternalVcPerBankNzOverview.onBeforeOutput(InternalVcPerBankNzOverview.java:265)
at com.sap.xss.hr.per.nz.bank.overview.VcPerBankNzOverviewInterface.onBeforeOutput(VcPerBankNzOverviewInterface.java:134)
at com.sap.xss.hr.per.nz.bank.overview.wdp.InternalVcPerBankNzOverviewInterface.onBeforeOutput(InternalVcPerBankNzOverviewInterface.java:132)
at com.sap.xss.hr.per.nz.bank.overview.wdp.InternalVcPerBankNzOverviewInterface$External.onBeforeOutput(InternalVcPerBankNzOverviewInterface.java:208)
I have maintained all configs in SPRO and active subtypes have been maintained....
Please help me solve this... ITs CRITICAL for me to solve this problem....
thanks,Hi,
I think system working fine ....logically there should be entry for the infotype "0009"
But if you want to change that then you need change the "Time constraint" for this ...
You can set that in table "T591A"
go to se16 give 'T591A" then selection screen give "0009" and check the DATA.
I think for infotype "0009 subtype "0" ( main bank ) the time contain will be "1" ......
And its means there should be data in the PA30 for infotype "0009" . -
Error while loading java file in Oracle
Hi,
I am facing error while loading java class into oracle . Can you please help
-bash-3.2$ cd /export/home/sacuser/
-bash-3.2$ loadjava -user sacuserdb/sacuserdb@BLM - resolve Oracle_Validator/src/com/nec/blm/oracle/validator/Validate.java
unrecognized or badly formed option -
loadjava: Usage: loadjava [-definer] [-encoding encoding] [-force] [-genmissing] [-genmissingjar jar] [-grant grant s] [-help] [-nousage] [-noverify] [-oci8] [-order] [-resolve] [-resolver resolver] [-schema schema] [-synonym] [-th in] [-tableschema schema] [-user user/password@database] [-verbose] classes..jars..resources..properties...
-bash-3.2$ loadjava -user sacuserdb/sacuserdb@BLM -resolve Oracle_Validator/src/com/nec/blm/oracle/validator/Validate.java
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x0
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at oracle.jdbc.driver.T2CConnection.t2cCreateState(Native Method)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:346)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:413)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:131)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:77)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
- locked <0xf5fdc448> (a java.lang.Class)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
- locked <0xf5fdc448> (a java.lang.Class)
at oracle.aurora.server.tools.loadjava.DatabaseOptions.getConnection(DatabaseOptions.java:180)
at oracle.aurora.server.tools.loadjava.DatabaseOptions.connect(DatabaseOptions.java:123)
at oracle.aurora.server.tools.loadjava.LoadJavaState.getConnection(LoadJavaState.java:409)
at oracle.aurora.server.tools.loadjava.LoadJavaState.getOldMD5(LoadJavaState.java:696)
at oracle.aurora.server.tools.loadjava.ClientSchemaObject.getOldMD5(ClientSchemaObject.java:52)
at oracle.aurora.server.tools.loadjava.SchemaObject.doCreate(SchemaObject.java:172)
at oracle.aurora.server.tools.loadjava.SchemaObject.process1(SchemaObject.java:215)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:532)
at oracle.aurora.server.tools.loadjava.LoadJava.addSource(LoadJava.java:574)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:439)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:349)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:652)
at oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles(LoadJava.java:617)
at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:818)
at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:251)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.java:103)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.java:28)
Dynamic libraries:
0x8050000 /opt/oracle/product/10g/jdk/jre/bin/java
0xfef80000 /lib/libthread.so.1
0xfef40000 /lib/libdl.so.1
0xfee10000 /lib/libc.so.1
0xfea00000 /opt/oracle/product/10g/jdk/jre/lib/i386/client/libjvm.so
0xfedd0000 /usr/lib/libCrun.so.1
0xfedb0000 /lib/libsocket.so.1
0xfe960000 /lib/libnsl.so.1
0xfed90000 /lib/libm.so.1
0xfedc0000 /usr/lib/libsched.so.1
0xfe900000 /lib/libm.so.2
0xfed40000 /lib/libscf.so.1
0xfe8e0000 /lib/libdoor.so.1
0xfe8b0000 /lib/libuutil.so.1
0xfe890000 /lib/libgen.so.1
0xfe870000 /lib/libmd.so.1
0xfe850000 /lib/libmp.so.2
0xfe830000 /opt/oracle/product/10g/jdk/jre/lib/i386/native_threads/libhpi.so
0xfe3d0000 /opt/oracle/product/10g/jdk/jre/lib/i386/libverify.so
0xfe3a0000 /opt/oracle/product/10g/jdk/jre/lib/i386/libjava.so
0xfe380000 /opt/oracle/product/10g/jdk/jre/lib/i386/libzip.so
0xf9e80000 /opt/oracle/product/10g/lib32/libocijdbc10.so
0xf0e00000 /opt/oracle/product/10g/lib32/libclntsh.so.10.1
0xf0c60000 /opt/oracle/product/10g/lib32/libnnz10.so
0xf9e60000 /lib/libkstat.so.1
0xf9e30000 /lib/libaio.so.1
0xf1b60000 /lib/librt.so.1
Heap at VM Abort:
Heap
def new generation total 576K, used 237K [0xf1e00000, 0xf1ea0000, 0xf22e0000)
eden space 512K, 45% used [0xf1e00000, 0xf1e3a058, 0xf1e80000)
from space 64K, 8% used [0xf1e90000, 0xf1e915c0, 0xf1ea0000)
to space 64K, 0% used [0xf1e80000, 0xf1e80000, 0xf1e90000)
tenured generation total 1408K, used 204K [0xf22e0000, 0xf2440000, 0xf5e00000)
the space 1408K, 14% used [0xf22e0000, 0xf23130f0, 0xf2313200, 0xf2440000)
compacting perm gen total 4096K, used 2662K [0xf5e00000, 0xf6200000, 0xf9e00000)
the space 4096K, 65% used [0xf5e00000, 0xf6099a38, 0xf6099c00, 0xf6200000)
Local Time = Mon Jun 17 16:29:08 2013
Elapsed Time = 0
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode)
# An error report file has been saved as hs_err_pid27805.log.
# Please refer to the file for further information.
Abort (core dumped)Please try to compile your java source file with jdk avaiable in ORACLE_HOME\jdk\bin\javac.
load the compiled class file in oracle DB using loadjava utility.
loadjava -user scott/tiger javafile.class -
Error in installing Java Add in
i am in the process of Installing EP in a Nw2004s system which was having AS-ABAP.
But EP was already installed before and it is not running.
I could not figure out the problem, so was planning to make a new installation
I selected the option Java ADd in for ABAP> MS SQL Server>central instance Java Add in
But while the program is executing i am getting the following error
<b>ERROR 2007-05-29 12:14:20
CJS-30051 Cannot insert a key value pair into the secure store fails; see output of log file SecureStoreInsert.log: SAP Secure Store in the File System - Copyright (c) 2003 SAP AG</b>
So when i see the securestoreinsert.log file i am getting the following message
<b>SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
A key/value pair with this key already exists in the store.</b>
Pls help me in thisHi,
Visit this link for the same problem and solution
1>A key/value pair with this key already exists in the store
Hope that helps -
Hi All,
The Actual query to perform is below.
SELECT name,number from emp WHERE CASE WHEN :1='T' AND term_date IS Not NULL THEN 1 WHEN :1='A' AND term_date IS NULL THEN 1 WHEN :1='ALL' THEN 1 ELSE 1 END = 1;
I have tried in DB adapter like below as a parameter for :1 as #vInputParam
SELECT name,number from emp WHERE CASE WHEN #vInputParam='T' AND term_date IS Not NULL THEN 1 WHEN #vInputParam='A' AND term_date IS NULL THEN 1 WHEN #vInputParam='ALL' THEN 1 ELSE 1 END = 1;
Getting Error code :17003 .java.sql.SQLException: Invalid column index error.
Please suggest me on using ':' bind character in DB adapter Select Query SOA11g.
Can someone help me on this please?
Thanks,
HariHi,
Could you please make sure your binding style(Oracle Positional,Oracle named..etc) of the Seeded VO and Custom Vo are same.
This is the option you will get when you are extending your vo. So make sure that both are same.
You can refer the below link too
VO extension leads to "Invalid column index" exception
Thanks
Bharat -
Mass processing - Error when processing Java programs / VMC out of memory
When running a mass update background process that updates the status of a service order in CRM the job fails due to error 'Error when processing Java programs'. I checked the VMC (SM52) and noticed that there is an error about the VMC running out of memory.
The background program can either be a PPF Action or a Z-ABAP program that performs the update. Both programs are performing a CRM_ORDER_INITIALIZE but it seems that the VMC is not releasing the memory fast enough.
Is there anyway we can force the VMC to release the memory after processing of each individual order?
Thanks!I got similar issue and it got resolved by useing CRM_ORDER_INITILAIZE. Initalization should happen after every Order processing and see that only one header guid is passed to the the FM. May not be good option ,but just try by putting wait for 5secs after CRM_ORDER_INITILAIZE.
-
There is another error in "TestIntegerStackWithExceptions.java"
There are two errors in "TestIntegerStackWithExceptions.java". Below are the classes to help you to correct.
* A class to represent the negative size exception. (NegativeSizeException.java)
* @author Lam Chou Yin @ Edwin
* @version 1.0.0 18 October 2004
public class NegativeSizeException extends Exception
* Constructor without parameter.
public NegativeSizeException()
super("cannot set a negative size");
* constructor with parameter.
* @param message message of the exception.
public NegativeSizeException(String message)
super(message);
* A class to represent the invalid stack position exception. (InvalidStackPositionException.java)
* @author Lam Chou Yin @ Edwin
* @version 1.0.0 18 October 2004
public class InvalidStackPositionException extends Exception
* Constructor without parameter.
public InvalidStackPositionException()
super("an invalid stack position was provided");
* Constructor with parameter.
* @param message message of the exception.
public InvalidStackPositionException(String message)
super(message);
* A class to represent <code>IntegerStackWithExceptions</code> object. (IntegerStackWithExceptions.java)
* @author Lam Chou Yin @ Edwin
* @version 1.0.0 2 October 2004
public class IntegerStackWithExceptions
* To hold the stack of integers.
private int[] stack;
* To track number of items.
private int total;
* A constructor with one argument.
public IntegerStackWithExceptions(int sizeIn) throws NegativeSizeException
if (sizeIn < 0)
throw new NegativeSizeException();
else
stack = new int[sizeIn];
total = 0;
* Add an item to the array.
* @return true when the item is successfully added.
public boolean push(int j)
if (isFull() == false) // checks if space in stack
stack[total] = j; // add item
total++; // increment item counter
return true; // to indicate success
else
return false; // to indicate failure
* Remove an item by obeying LIFO rule.
* @return true when the item is successfully removed.
public boolean pop()
if (isEmpty() == false) // makes sure stack is not empty
total--; // reduce counter by one
return true; // to indicate success
else
return false; // to indicate failure
* Checks if array is empty.
* @return true when an array is empty.
public boolean isEmpty()
if (total == 0)
return true;
else
return false;
* Checks if array is full.
* @return true when an array is full.
public boolean isFull()
if (total == stack.length)
return true;
else
return false;
* Returns the ith item.
* @return the ith item.
public int getItem(int i) throws InvalidStackPositionException
if (i < 1 || i > total)
throw new InvalidStackPositionException();
else
return stack[i - 1]; // ith item at position i - 1
* Return the number of items in the array.
* @return the number of items in the array.
public int getTotal()
return total;
// EasyIn.java - allows user to key in.
import java.io.*;
public abstract class EasyIn
public static String getString()
boolean ok = false;
String s = null;
while(!ok)
byte[] b = new byte[512];
try
System.in.read(b);
s = new String(b);
s = s.trim();
ok = true;
catch(IOException e)
System.out.println(e.getMessage());
return s;
public static int getInt()
int i = 0;
boolean ok = false;
String s ;
while(!ok)
byte[] b = new byte[512];
try
System.in.read(b);
s = new String(b);
i = Integer.parseInt(s.trim());
ok = true;
catch(NumberFormatException e)
System.out.println("Make sure you enter an integer");
catch(IOException e)
System.out.println(e.getMessage());
return i;
public static byte getByte()
byte i = 0;
boolean ok = false;
String s ;
while(!ok)
byte[] b = new byte[512];
try
System.in.read(b);
s = new String(b);
i = Byte.parseByte(s.trim());
ok = true;
catch(NumberFormatException e)
System.out.println("Make sure you enter a byte");
catch(IOException e)
System.out.println(e.getMessage());
return i;
public static short getShort()
short i = 0;
boolean ok = false;
String s ;
while(!ok)
byte[] b = new byte[512];
try
System.in.read(b);
s = new String(b);
i = Short.parseShort(s.trim());
ok = true;
catch(NumberFormatException e)
System.out.println("Make sure you enter a short integer");
catch(IOException e)
System.out.println(e.getMessage());
return i;
public static long getLong()
long l = 0;
boolean ok = false;
String s ;
while(!ok)
byte[] b = new byte[512];
try
System.in.read(b);
s = new String(b);
l = Long.parseLong(s.trim());
ok = true;
catch(NumberFormatException e)
System.out.println("Make surre you enter a long integer");
catch(IOException e)
System.out.println(e.getMessage());
return l;
public static double getDouble()
double d = 0;
boolean ok = false;
String s ;
while(!ok)
byte[] b = new byte[512];
try
System.in.read(b);
s = new String(b);
d = Double.parseDouble(s.trim());
ok = true;
catch(NumberFormatException e)
System.out.println("Make sure you enter a decimal number");
catch(IOException e)
System.out.println(e.getMessage());
return d;
public static float getFloat()
float f = 0;
boolean ok = false;
String s;
while(!ok)
byte[] b = new byte[512];
try
System.in.read(b);
s = new String(b);
f = Float.parseFloat(s.trim());
ok = true;
catch(NumberFormatException e)
System.out.println("Make sure you enter a decimal number");
catch(IOException e)
System.out.println(e.getMessage());
return f;
public static char getChar()
char c = ' ';
boolean ok = false;
String s;
while(!ok)
byte[] b = new byte[512];
try
System.in.read(b);
s = new String(b);
if(s.trim().length()!=1)
System.out.println("Make sure you enter a single character");
else
c = s.trim().charAt(0);
ok = true;
catch(IOException e)
System.out.println(e.getMessage());
return c;
public static void pause()
boolean ok = false;
while(!ok)
byte[] b = new byte[512];
try
System.in.read(b);
ok = true;
catch(IOException e)
System.out.println(e.getMessage());
public static void pause(String messageIn)
boolean ok = false;
while(!ok)
byte[] b = new byte[512];
try
System.out.print(messageIn);
System.in.read(b);
ok = true;
catch(IOException e)
System.out.println(e.getMessage());
}Finally, there are two errors in "TestIntegerStackWithExceptions.java"
public class TestIntegerStackWithExceptions
public static void main(String[] args)
int size;
IntegerStackWithExceptions stack;
try
char choice;
// ask user to fix maximum size of stack
System.out.print("Maximum number of items on stack? ");
size = EasyIn.getInt();
// create new stack
stack = new IntegerStackWithExceptions(size);
// offer menu
do
System.out.println();
System.out.println("1. Push number onto stack");
System.out.println("2. Pop number from stack");
System.out.println("3. Check if stack is empty");
System.out.println("4. Check if stack is full");
System.out.println("5. Display numbers in stack");
System.out.println("6. Get any item from the stack");
System.out.println("7. Quit");
System.out.println();
System.out.print("Enter choice [1 - 7]: ");
choice = EasyIn.getChar();
System.out.println();
// process choice
switch(choice)
{ // call static methods
case '1': option1(stack); break;
case '2': option2(stack); break;
case '3': option3(stack); break;
case '4': option4(stack); break;
case '5': option5(stack); break;
case '6': option6(stack); break;
case '7': break;
default: System.out.println("Invalid entry");
while (choice != '7');
catch (NegativeSizeException e) // from stack constructor call
{ // source and type of error displayed
while (size != stack.getTotal())
System.out.println(e.getMessage());
System.out.println("due to error created by stack constructor");
System.out.print("Maximum number of items on stack? ");
size = EasyIn.getInt();
catch (InvalidStackPositionException e) // from 'option6' method call
{ // source and type of error displayed
System.out.println(e.getMessage());
System.out.println("due to error created by call to 6th menu option");
catch (Exception e) // just in case any other exception is thrown
System.out.println("This exception was not considered");
System.out.println(e.getMessage());
EasyIn.pause("\nPress <Enter> to quit program");
// static method to push item onto stack
private static void option1(IntegerStackWithExceptions stackIn)
System.out.print("Enter number: ");
int num = EasyIn.getInt();
boolean ok = stackIn.push(num); // attempt to push
if (!ok) // check if push was unsuccessful
System.out.println("Push unsuccessful");
// static method to pop item onto stack
private static void option2(IntegerStackWithExceptions stackIn)
boolean ok = stackIn.pop(); // attempt to pop
if (!ok) // check if pop was unsuccessful
System.out.println("Pop unsuccessful");
// static method to check if stack is empty
private static void option3(IntegerStackWithExceptions stackIn)
if (stackIn.isEmpty())
System.out.println("Stack empty");
else
System.out.println("Stack not empty");
// static method to check if stack is full
private static void option4(IntegerStackWithExceptions stackIn)
if (stackIn.isFull())
System.out.println("Stack full");
else
System.out.println("Stack not full");
// static method to display stack
private static void option5(IntegerStackWithExceptions stackIn) throws InvalidStackPositionException
if (stackIn.isEmpty())
System.out.println("Stack empty");
else
System.out.println("Numbers in stack are: ");
System.out.println();
for (int i = 1; i <= stackIn.getTotal(); i++)
System.out.println(stackIn.getItem(i));
System.out.println();
// this method throws out any InvalidStackPositionException
private static void option6(IntegerStackWithExceptions stackIn)
System.out.print("\nWhich position would you like to get? ");
int position = EasyIn.getInt();
try
System.out.println("This item is: " + stackIn.getItem(position));
catch (InvalidStackPositionException ispe)
while (position != stackIn.getItem(position)) throws InvalidStackPositionException
System.out.println("Invalid position!");
System.out.print("\nWhich position would you like to get? ");
position = EasyIn.getInt();
System.out.println();
TestIntegerStackWithExceptions.java: Illegal start of expression at line 146
TestIntegerStackWithExceptions.java: ';' expected at line 152Hope to reply soon.Next time, please don't paste all your code unless it's relevant to the problem. The compiler is telling you exactly where the problem is (most of the time, anyway), so look at the line it indicates to see if there is anything strange there or in the line above it. This type of error means you've violated the rules of Java syntax.
In this case you are trying to add a throws clause to a while loop, which is not allowed. You can only add throws clauses to methods (and constructors). -
Error running applet, java.lang.UnsatisfiedLinkError: enableModeless
hi guys
I write an applet with JDevloper 3.1 using Oracle's B4J to connect to oracle 8.1.5. In Jdev all works fine. After deploying with the wizard to a webserver und running the applet using JRE 1.2.2 i got the following exception:
Opening http://test.woow.at/awork/oracle/dacf/control/ResTable_de_DE.class no proxy
Opening http://test.woow.at/awork/oracle/dacf/control/ResTable_de_DE.properties no proxy
Opening http://test.woow.at/awork/oracle/dacf/control/ResTable_de.class no proxy
Opening http://test.woow.at/awork/oracle/dacf/control/ResTable_de.properties.class no proxy
Opening http://test.woow.at/awork/borland/jbuilder/addin/VersionedAddin.class no proxy
java.lang.UnsatisfiedLinkError: enableModeless
at sun.beans.ole.OleEmbeddedFrame.modalityPushed(Unknown Source)
at sun.beans.ole.ModalityListenerImpl.modalityPushed(Unknown Source)
at sun.awt.windows.WToolkit$ModalityListenerList.modalityPushed(Unkown Source)
at sun.awt.windows.ModalityEvent.dispatch(Unkown Source)
at sun.awt.windows.WToolkit.notifyModalityChange(Unkown Source)
at sun.awt.windows.WDialogPeer.show(Unkown Source)
at sun.awt.Dialog.conditionalShow(Unkown Source)
at sun.awt.Dialog.show(Unkown Source)
at oracle.dacf.control.swing.LoginDlg.show(LoginDlg.java:503)
at oracle.dacf.control.swing.LoginDlg.showDialog(LoginDlg.java:488)
at package6.Applet1.init(Applet.java:290)
at sun.applet.AppletPanel.run(Unkown Source)
at java,lang.Thread.run(Unkown Source)
any idea, thanx a lot
ArminArmin,
I haven't seen this one before.
Is your browser set to run with German locale?
Here is my standard reply for problems with applet deployment in 3.1. It is probably the case that some classes available in the JDeveloper environment were not deployed to your web server environment.
Applet Deployment for JDev 3.1
Deployment issues for client and server:
1. Make sure you have the JDK 1.2 plugin installed on the client.
2. If your webserver and database are not on the same machine, you will have to configure your applet
differently, or install the Net8 Connection Manager. See the Oracle JDBC Developer's Guide for more
information (exact location of applet info depends on which version of the DB).
Creating your Applet within JDeveloper:
1. Create a new workspace.
2. Create a new Business Components project. You will define your data model and business logic in this
project. This is effectively your middle tier, but can be deployed to any tier you choose. In this
project you will use the Business Components wizard to create:
a. entity objects for each of the tables/views you want to develop against
b. view objects (and optionally view links, associations) for each of the entity objects or
combination of entity objects
c. application module(s) to represent your data model(s)
3. Save and build your business components project.
4. Create a new empty project to contain your applet code.
5. Launch the Infobus DataForm wizard to create your DAC applet. Choose the app module you created in
step 2 as a data source. (Alternately, you can create the applet from scratch using the controls and
binding your sessioninfo object to your app module).
Deployment Steps within JDeveloper:
1. Deploy your business components project.
a. decide how you will deploy your app module (local, visibroker, etc.)
b. if you decide to deploy in local mode, use the Deployment Profile Wizard and choose 'Simple
Archive', including all of the business components project's XML and .JAVA files in the archive.
c. if you will deploy to visibroker, see the online help for deploying your business components,
and see the Release Notes for additional changes you need to make to your applet project.
2. (if deploying BC4J project in local mode) Create a library using the archive you generated in Step
1. Add this library to your applet project from the Project Properties Libraries tab.
3. Clear out a directory on your local machine where the deployment wizard can copy everything you
need to deploy.
4. Deploy your applet project.
a. Run the JDeveloper Deployment Profile Wizard and choose the Web Application to Web Server option
on Page 1.
b. On page 2, select all of the .class files in your project that make up the applet.
c. Select all the libraries listed and shuttle them to the selected list. The contents of these
libraries will automatically be added to your applet's HTML file during deployment
d. Give the .jar file a name, and run the deployment to generate that jar file.
e. select the location of the 'clean' directory you created in step 3.
Deploying to your WebServer:
1. Copy everything that the deployment process placed in your 'clean' directory to your WebServer.
If you deployed your BC4J project locally, you will need to deploy the archive file containing your
business components to the webserver along with all of the other archives.
2. If you want to put the dependency archives in a different location from the applet's HTML file
under the webserver root, then you need to set the CODEBASE tag in the HTML file to the (relative)
location of the archives.
Troubleshooting:
1. Try both Netscape and IE. Different Browsers sometimes give different errors and one might be more
helpful/indicative of the problem's source.
2. Use the Java Console to get a more detailed stack trace. For Netscape, choose
Communicator->Tools->Java Console.
References w/in Oracle -
JDBC Developer's Guide
Net8 Admin Guide
Referenc es outside Oracle -
Borland JBuilder doc: http://www.borland.com/techpubs/jbuilder/jbuilder3-s/pg/applets.html
JavaSoft Plugin Download: http://java.sun.com/products/plugin/
JavaSoft Applets Resources Page: http://www.javasoft.com/applets/index.html
null -
Errors with CustomDialog.java
I've downloaded CustomDialog.java and it compiled without any errors. When I attempt to run the program, I receive the following error:
----jGRASP exec: java CustomDialog
java.lang.NoSuchMethodError: main
Exception in thread "main"
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete.
What could I be doing wrong? I had no problems whatsoever compiling / running the DialogDemo.java file.Would it compile correctly if there was a main() method problem?
source file can be found here: http://java.sun.com/docs/books/tutorial/uiswing/components/example-swing/CustomDialog.java
and here:
import javax.swing.JOptionPane;
import javax.swing.JDialog;
import javax.swing.JTextField;
import java.beans.*; //property change stuff
import java.awt.*;
import java.awt.event.*;
/* 1.4 example used by DialogDemo.java. */
class CustomDialog extends JDialog
implements ActionListener,
PropertyChangeListener {
private String typedText = null;
private JTextField textField;
private DialogDemo dd;
private String magicWord;
private JOptionPane optionPane;
private String btnString1 = "Enter";
private String btnString2 = "Cancel";
* Returns null if the typed string was invalid;
* otherwise, returns the string as the user entered it.
public String getValidatedText() {
return typedText;
/** Creates the reusable dialog. */
public CustomDialog(Frame aFrame, String aWord, DialogDemo parent) {
super(aFrame, true);
dd = parent;
magicWord = aWord.toUpperCase();
setTitle("Quiz");
textField = new JTextField(10);
//Create an array of the text and components to be displayed.
String msgString1 = "What was Dr. SEUSS's real last name?";
String msgString2 = "(The answer is \"" + magicWord
+ "\".)";
Object[] array = {msgString1, msgString2, textField};
//Create an array specifying the number of dialog buttons
//and their text.
Object[] options = {btnString1, btnString2};
//Create the JOptionPane.
optionPane = new JOptionPane(array,
JOptionPane.QUESTION_MESSAGE,
JOptionPane.YES_NO_OPTION,
null,
options,
options[0]);
//Make this dialog display it.
setContentPane(optionPane);
//Handle window closing correctly.
setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent we) {
* Instead of directly closing the window,
* we're going to change the JOptionPane's
* value property.
optionPane.setValue(new Integer(
JOptionPane.CLOSED_OPTION));
//Ensure the text field always gets the first focus.
addComponentListener(new ComponentAdapter() {
public void componentShown(ComponentEvent ce) {
textField.requestFocusInWindow();
//Register an event handler that puts the text into the option pane.
textField.addActionListener(this);
//Register an event handler that reacts to option pane state changes.
optionPane.addPropertyChangeListener(this);
/** This method handles events for the text field. */
public void actionPerformed(ActionEvent e) {
optionPane.setValue(btnString1);
/** This method reacts to state changes in the option pane. */
public void propertyChange(PropertyChangeEvent e) {
String prop = e.getPropertyName();
if (isVisible()
&& (e.getSource() == optionPane)
&& (JOptionPane.VALUE_PROPERTY.equals(prop) ||
JOptionPane.INPUT_VALUE_PROPERTY.equals(prop))) {
Object value = optionPane.getValue();
if (value == JOptionPane.UNINITIALIZED_VALUE) {
//ignore reset
return;
//Reset the JOptionPane's value.
//If you don't do this, then if the user
//presses the same button next time, no
//property change event will be fired.
optionPane.setValue(
JOptionPane.UNINITIALIZED_VALUE);
if (btnString1.equals(value)) {
typedText = textField.getText();
String ucText = typedText.toUpperCase();
if (magicWord.equals(ucText)) {
//we're done; clear and dismiss the dialog
clearAndHide();
} else {
//text was invalid
textField.selectAll();
JOptionPane.showMessageDialog(
CustomDialog.this,
"Sorry, \"" + typedText + "\" "
+ "isn't a valid response.\n"
+ "Please enter "
+ magicWord + ".",
"Try again",
JOptionPane.ERROR_MESSAGE);
typedText = null;
textField.requestFocusInWindow();
} else { //user closed dialog or clicked cancel
dd.setLabel("It's OK. "
+ "We won't force you to type "
+ magicWord + ".");
typedText = null;
clearAndHide();
/** This method clears the dialog and hides it. */
public void clearAndHide() {
textField.setText(null);
setVisible(false);
}
Maybe you are looking for
-
Hi unable to access itune store on my itunes app all my purchased songs are there
I am unable to access the store I have credit and I can access my account history but unable to connect with store to purchase more songs
-
HT1222 my pc no longer recognises my iphone and the iphone is in recovery mode any ideas
while downloading ios7 0.4 my Iphone 5 went into recovery mode and showed a signal to connect to i tunes which i did and followed the giude to restore phone, then it showed that my device "iphone 5" is not recognised any ideas how to fix this
-
Hyperlinks in PDF doc stop working when emailed out in Mac Mail. Why?
I have created a Pages document with hyperlinks and then saved it as a PDF. The PDF document retains the hyperlinks (they still work). When I attach the PDF to Mail and email it out the hyperlinks stop working unless I double click on the PDF documen
-
Hi experts, I have created a Y-table and have created table maintenanace generator for the same.I have a report by means of which i enter data into this table. i have given serial no. as a primary key. Now my requirement is that as the records get en
-
Tracker-extract spam in system log
Hi, I recently moved from Ubuntu to Arch. On both distribution I use Gnome 3. I took my home directory from Ubuntu to Arch. Now I get a couple of Gnome warnings and errors in my system log, especially from the tracker-extract. For every file, which w