Error in JAVA Importer
I tried to import a JAVA Class inside a Form but I got the error: "PDE-UJI001 Failed to create the JVM". How can I solve it? How can I install the JVM? I have just convert my apllication from forms 5.0.6 to 6.0.8.17.1, I have no experience in WEB development and I need to convert my apllications for WEB, the papers on OTN does not explain much. Does anybody has an interesting paper or manual for downloading ???
Thanks.
First of all the error you are getting
You need to to install JDK 1.2.2 to run the Java Importer. And set the PATH's
and classpath's correctly.
1. Download and install the JDK 1.2.2.
2. Assuming the JDK 1.2.2 is installed in c:\jdk1.2.2 directory and the JRE in
C:\PROGRA~1\JAVASOFT\JRE\1.2 directory; ORACLE_HOME=C:\Dev6iR2.
Set the PATH to
set PATH=%PATH%;c:\jdk1.2.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin\classic
( If you are using ias9i then the JDK 1.2.2 comes with the ias installtion ,
in this case please set the PATH to
D:\ias9i\Apache\jdk\bin;D:\ias9i\Apache\jdk\jre\bin;D:\ias9i\Apache\jdk\jre\bin\classic;%PATH% )
3. Set the CLASSPATH to set CLASSPATH=%CLASSPATH%;C:\Dev6iR2\TOOLS\COMMON60\JAVA\IMPORTER.JAR;.
(If you do not set the CLASSPATH correctly you will get the error
PDE-UJI002 Unable to find the required java importer classes)
4. Now run the Forms Builder by using the command.
C:\Dev6iR2\bin\ifbld60.exe
Now the Java Importer Should Run fine.
Please follow the white paper on the Java Imported on OTN.
As for your question about deploying on the web - what about the on line help in Forms????
Select HELP -> Manuals
You will then see a manual for deploying Forms to the Web.
Regards
Grant Ronald
Forms Product Management
Similar Messages
-
Iam doing ABAP+JAVA system copy, ABAP stack imported sucessfully.During JAVA Import in target system iam gettting below error in the step"Backup/Restore database" .I can start Oracle using sqlplus/nolog
ERROR 2010-04-27 18:22:28.563
CJS-00084 SQL statement or script failed. DIAGNOSIS: Error message: ORA-01012: not logged on
ORACLE instance started.
ERROR 2010-04-27 18:22:28.563
MUT-03025 Caught ESAPinstException in Modulecall: ORA-01012: not logged on
ORACLE instance started.
let meknow your thoughts.
- JimHi,
Are you able to login to sqlplus from os. Since this is backup/restore method, you should have a successful restore before starting the import.
check whether there are any errors in alert_SID.log file, if any then pls do update here.
Regards,
Kishore Soma -
Java Importer - Error Occuring While invoking
I have installed form6i along with the forms6i server in my machine.When I try to invoke the Java Importer I am getting an error message as
"PDE-UJI1 Unable to create JVM".
I have set the classpath for importer.jar and also installed jre1.3 in the machine
and I set the path for this also but Still I am having the same problem.
Could any one help in this context.
Thanks
Venkatesh Kumar P
Chennai
India.you need JDK 1.2.2 in the path not 1.3
Check metalink for this message -
I am getting Error! java.sql.SQLException:General error
hi every body,
I struck with this error , can any one suggest in solving this.
I had a table in oracledatabase ,i have successfully created a table and inserted clob column with an attachment like xxx.txt.
table format----> id and text columns
Now my question is to retrieve that data and store it in local disk i am getting this error
import java.io.*;
import java.sql.*;
//import java.sql.SQLException;
public class Cread {
public static void main(String[] args) throws ClassNotFoundException,IOException,SQLException {
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection cn=DriverManager.getConnection("jdbc:odbc:sivadsn","scott","tiger");
Statement s = cn.createStatement();
ResultSet rs=s.executeQuery("Select text from ram where id=10");
if(rs.next()){
FileOutputStream file=new FileOutputStream("c:/store.txt");
InputStream fin=rs.getBinaryStream(1);
int c;
while((c=fin.read())!=-1){
file.write(c);
fin.close();
s.close();
rs.close();
catch(IOException e){
e.printStackTrace();
System.out.println("Err:"+e);
I am getting the error as
java.sql.SQLException: General error
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(Unknown Source)Error! java.sql.SQLException: General error
at attach.Clobread.main(Clobread.java:30)That usually means something is wrong with the syntax of your sql.
As a guess 'text' is probably a keyword and shouldn't be used as a field name. It is possible that the same is true for 'id' -
Getting Error in java mapping: Parsing empty source. Root element expected!
Hi Experts,
I am using java mapping for schema validation of input message. I have followed all the standard procedures and implemented the java class in the interface mapping.
My interface mapping is like this:
OrderData --->Java Class ---SchemaValidate
Mesg Map ---OrderData_to_BAP --->BAPI Msg
So first I want to validate the schema of the input message. If the input message is invalid then XI should throw an exception. Then I use the actual message mapping to map the input order data to the BAPI input parameters.
In the java code I am using xerces parser.
The java code works fine when I run it as a standalone application.
The interface mapping also works fine if I don't include the java mapping. Ofcourse schema validation does not happen.
But when I test the interface mapping by including the java mapping then I am getting the error:
Call method execute of the application Java mapping SchemaValidate
Java mapping SchemaValidate completed. (execute() of SchemaValidate
com.sap.aii.utilxi.misc.api.BaseRuntimeException: Parsing an empty source. Root element expected!
What am I doing wrong? Why it is not getting the root element?
My Java code is as follows:
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationConstants;
import com.sap.aii.mapping.api.StreamTransformationException;
import java.io.*;
import java.util.Map;
import javax.xml.parsers.*;
import org.xml.sax.helpers.*;
import org.xml.sax.*;
import org.apache.xerces.jaxp.*;
Sample mapper for SAP-XI
@author Gopal
public class SchemaValidate implements StreamTransformation {
//Constants when using XML Schema for SAX parsing.
static final String JAXP_SCHEMA_LANGUAGE =
"http://java.sun.com/xml/jaxp/properties/schemaLanguage";
static final String W3C_XML_SCHEMA =
"http://www.w3.org/2001/XMLSchema";
static final String JAXP_SCHEMA_SOURCE =
"http://java.sun.com/xml/jaxp/properties/schemaSource";
Injection of mapping parameters
from integration engine
@param map Map with configuration data
public void setParameter(Map map) {
Mapping implementation
@param inputStream Input data from integration engine
@param outputStream Output data to integration engine
public void execute(InputStream inputStream,
OutputStream outputStream)
throws StreamTransformationException {
try {
// obtain an object of class javax.xml.parsers.SAXParser,
SAXParserFactory spf = SAXParserFactoryImpl.newInstance();
spf.setNamespaceAware(true);
spf.setValidating(true);
SAXParser sp = spf.newSAXParser();
// setup the schema file
sp.setProperty(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
sp.setProperty(JAXP_SCHEMA_SOURCE, new File("IOReqMsgSchema.xsd"));
//parse the input xml using the given schema
sp.parse(inputStream, new ParseErrorHandler());
catch(SAXException se) {
se.printStackTrace();
catch ( Exception e ) {
throw new StreamTransformationException( e.getMessage() );
My input message is :
<?xml version="1.0" encoding="UTF-8"?>
<ns0:OrderCreate_request xmlns:ns0="mynamespace">
<ORDER>HTEST1234567</ORDER>
<ORDER_TYPE>z001</ORDER_TYPE>
<ORDER_NAME>Test Order</ORDER_NAME>
<CO_AREA>INTC</CO_AREA>
<CCTR_POSTED>1234567890888888888</CCTR_POSTED>
<CURRENCY>USD</CURRENCY>
<PERSON_RESP>12345679</PERSON_RESP>
</ns0:OrderCreate_request>
Kindly help! please this is urgent!!!!!!
Thanks
Gopal
Edited by: gopalkrishna baliga on Feb 28, 2008 9:34 AMHi Stefan,
I did the code changes to return output stream and the java code works perfectly in standalone mode in my PC.
But when I use the same in the Java mapping with XI then It throws an error "Getting Error in java mapping: Parsing empty source. Root element expected!".
My XI J2EE server has JDK1.4.3.11.
Is there any limitation of using SAX parser in XI? If Yes, then which parser should be used for schema validation in XI?
I have included the XSD file for schema validation along with class files in the .jar file. This jar file is then imported in XI repository. Is the XI engine not able to read the XSD file?
Do I have to handle reading XSD file differently? Any suggession how?
Is this parser error due to some security access?
Kindly help me! I have been struggling with this problem since 2 weeks. I will be greatfull to you if you can help me.
Thanks
Gopal -
JAVA Importer: ORA-105100 can't start the java virtual machine
Hi,
i am having trouble to make a work interaction between forms and java.
My PL/SQL code is calling a java code situated in an imported class.
the error i get says : can't start the java virtual machine
I modified the CLASSPATH to add some jar files.
What else should i do ?
should i modify LIBPATH ?
any idea ?
Thanks
Dani just found this documentation Oracle Forms Developer and Forms Server 6i (Patch 4) at this adress
http://download.oracle.com/otn_hosted_doc/forms/forms/p4_relnotef.pdf
which says that i need jdk 1.2.2 to make it work but the documentation was published in 2001...
Is there an earlier doc ? or an earlier doc of the java importer ?
http://www.oracle.com/technology/products/forms/pdf/javaimporter.pdf
any help would be appreciated -
Error calling Java in Oracle Stored Procedure
I can call a java function inside my Oracle Stored Procedure, but if I reference a class that uses JNI, I get problems. I don't know what forum to post this under. This seems the closest match.
Here is my error:
java.lang.NoClassDefFoundError
at AcmeComp.ec.Motor.<init>(Motor.java:35)
at BBOra.runBB(BBOra:13)
Here is my java class, BBOra.java:
import AcmeComp.ec.*;
class BBOra {
static String strCnt;
BBOra() {}
public static void runBB() {
try {
//Motor class is in AcmeComp.ec package
Motor eng = new Motor();
} catch(Exception e) {
System.out.println("Error: " + e);
public static void runNonBB() {
System.out.println("runNonBB works ok.");
From DOS prompt, I loaded ac222ec.jar (has the AcmeComp.ec package) and BBOra.java files into Oracle:
loadjava -u system/manager -resolve -verbose ac222ec.jar.java
loadjava -u system/manager -resolve -verbose BBOra.java
From SQL Plus, I created 2 stored sprocedures:
CREATE OR REPLACE PROCEDURE runBB
AS LANGUAGE JAVA
NAME 'BBOra.runBB()';
CREATE OR REPLACE PROCEDURE runNonBB
AS LANGUAGE JAVA
NAME 'BBOra.runNonBB()';
From SQL Plus, I gave myself permissions to load libraries, so I can load ac222ecjni.dll, which has all the Native (C++) code I use:
BEGIN
DBMS_JAVA.GRANT_PERMISSION('SYSTEM',
'java.lang.RuntimePermission',
'loadLibrary.*');
END;
From SQL Plus, I set up my output:
set SERVEROUTPUT ON;
CALL dbms_java.set_output(3000);
From SQL Plus, I called my Stored Procedures:
CALL runNonBB();
CALL runBB();
runNonBB() works great, but runBB() gives me the error I listed above. The Motor class that BBOra calls, itself calls a class NMotor, which has a call:
static {
System.loadLibrary("ac222ecjni");
Unfortunately, I don't know the inner workings of the native code. Does "at AcmeComp.ec.Motor.<init>(Motor.java:35)"? mean JServer was able to see the class "Motor", but not instatiate it? Or did it error trying to create the class "NMotor"?
Here's a snippet of Motor:
package AcmeComp.ec;
public class Motor implements IMotor {
public Motor() {
motor = new NMotor();
some functions
private NMotor motor;
Here's a snippet of NMotor:
package AcmeComp.ec;
class NMotor {
NMotor() {
sunjdk = true;
some native method declarations
private boolean sunjdk;
static {
//ac222ecjni.dll has all the Native (C++) code
System.loadLibrary("ac222ecjni");
PLEASE HELP ME FIGURE THIS OUT. IT IS KILLING ME. I can even look into the USER_OBJECTS view in Oracle and see that ALL of the classes from the ac222ec.jar are present and accounted for.Man, I guess I figured it out myself. Ten Duke dollars to myself. But, for the sake of anyone who may want to know the answer, here it is:
JServer (or Oracle9i JVM in Oracle 9i) does not support JNI. Here is their (weak) reasoning, taken from "Oracle9i Java Developer's Guide" as found in http://www.csis.gvsu.edu/GeneralInfo/Oracle/java.920/a96656/invokeap.htm#1007948
"Oracle does not support the use of JNI in Oracle9i Java applications. If you use JNI, your application is not 100% pure Java, and the native methods require porting between platforms. Native methods have the potential for crashing the server, violating security, and corrupting data."
Sounds like a fancy way to say they have a limitation--their JVM isn't up to par all the way. If JNI is a feature in Java, why should Oracle decide for me if I should use it? Don't Java methods also have the potential for crashing the server, violating security, and corrupting data? I think they should just provide the functionality you would expect from a VM and let the user decide which functionality to use. In my case, I HAVE to use JNI, so I'd have to use RMI so that a different VM can do the JNI part.
Sounds pretty lame of Oracle, but oh well. -
Error in Java Transports.
Dear All,
We are on JDI SP8 & are facing a problem while importing a request.
Yesterday we had a problem while transporting a request and we found out that it was due to the fact the the CMS userid password had expired. Then we changed and then then accordingly to the note 896427. After the changes, we did a system restore in the JDI instance and when we started with the first import. The import kept running and running and then it fails, I also tried with one more request and it again failed. I get the following error message:
Info:build process already running: waiting for another period of 30000 ms
Info:build process already running: waiting for another period of 30000 ms
Info:build process already running: waiting for another period of 30000 ms
Info:build process already running: waiting for another period of 30000 ms Info:build process already running: waiting for another period of 30000 ms Info:build process already running: waiting for another period of 30000 ms Info:build process already running: waiting for another period of 30000 ms Info:no changes on the CBS request queue (JDI_TSHOP_D) after a waiting time of 14430000 ms Fatal:The request queue is not processed by the CBS during the given time intervall => TCS cannot import the request because queue is not empty Fatal:Please look after the operational status of the CBS.
Fatal Exception:com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: The request queue is not processed during the given time intervall. Please look after the operational status of the CBS.:communication error: The request queue is not processed during the given time intervall. Please look after the operational status of the CBS.
com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: The request queue is not processed during the given time intervall. Please look after the operational status of the CBS.
at com.sap.cms.tcs.client.CBSCommunicator.importRequest(CBSCommunicator.java:370)
at com.sap.cms.tcs.core.CbsMakeTask.processMake(CbsMakeTask.java:120)
at com.sap.cms.tcs.core.CbsMakeTask.process(CbsMakeTask.java:347)
at com.sap.cms.tcs.process.ProcessStep.processStep(ProcessStep.java:77)
at com.sap.cms.tcs.process.ProcessStarter.process(ProcessStarter.java:197)
at com.sap.cms.tcs.core.TCSManager.importPropagationRequests(TCSManager.java:376)
at com.sap.cms.pcs.transport.importazione.ImportManager.importazione(ImportManager.java:227)
at com.sap.cms.pcs.transport.importazione.ImportQueueHandler.execImport(ImportQueueHandler.java:634)
at com.sap.cms.pcs.transport.importazione.ImportQueueHandler.startImport(ImportQueueHandler.java:103)
at com.sap.cms.pcs.transport.proxy.CmsTransportProxyBean.startImport(CmsTransportProxyBean.java:584)
at com.sap.cms.pcs.transport.proxy.CmsTransportProxyBean.startImport(CmsTransportProxyBean.java:560)
at com.sap.cms.pcs.transport.proxy.LocalCmsTransportProxyLocalObjectImpl0.startImport(LocalCmsTransportProxyLocalObjectImpl0.java:1146)
at com.sap.cms.ui.wl.Custom1.importQueue(Custom1.java:1198)
at com.sap.cms.ui.wl.wdp.InternalCustom1.importQueue(InternalCustom1.java:2215)
at com.sap.cms.ui.wl.Worklist.onActionImportQueue(Worklist.java:881)
at com.sap.cms.ui.wl.wdp.InternalWorklist.wdInvokeEventHandler(InternalWorklist.java:2390)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:707)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:661)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:229)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Info:Step CBS-make ended with result 'fatal error' ,stopping execution at 2007-07-30 23:21:15.0103 +2:00
I got a thread which also revolved around the same error,
JDI Configuration - Imports Still Running
But then, the idle system is already set to false, the memory settings are also quite good and the file system & niether the build space is in privelage mode.
I am not sure about how to resolve the error.
Please help us as we are stuck and unable to proceed further with our developments.
Awaiting few responses.
Thanks in advance.
Warm Regards,
Rajeet MathurHi All,
There was a password problem again, and we had to restart the CBS, change the password and then we did a system restore in the CMS and things started working fine.
Thanks.
Warm Regards,
Rajeet -
ARGENT:error in java.exe operating server (after updating remote dbase)
Hello,
I am getting big trouble in java.exe which is running server program.
interface : swings
windows: NT 4.0
database: MS access97
jdk 1.3 (jsdk2)
Dr. watson of NT reporting the error in java.exe(of server) that application error has occured and this is happening every time after i update or write something into the database. Currently i am doing it on localhost m/c.Error: "the instruction at "0x77b3cd19"
referenced memory at 0x77b3cd19".The memory could be read/"
//server code
import java.rmi.*;
import java.rmi.server.*;
public class LoginServer {
public LoginServer() {
try {
Login c = new LoginImpl();
Naming.rebind("login", c);
} catch (Exception e) {
System.out.println("Trouble: " + e);
public static void main(String args[]) {
new LoginServer();
//Remote functions implementation
import java.rmi.*;
import java.rmi.server.*;
import java.sql.*;
public class LoginImpl extends UnicastRemoteObject implements Login
public LoginImpl() throws RemoteException
super();
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
} catch(Exception e) { System.err.print("Exception: ");
System.err.println(e.getMessage());}
//register new user take name and password as arguement and creates
// new user and set status OFF (ie user not logged in)
public int NewUser(String n,String p) throws RemoteException
String url = "jdbc:odbc:Authentic";
int i=2;
Connection con;
Statement stmt;
ResultSet rs;
try {
con = DriverManager.getConnection(url, "anything", "anything");
stmt=con.createStatement();
rs = stmt.executeQuery("SELECT NAME FROM TAUTHENTIC");
while (rs.next()) {
String nam = rs.getString("NAME");
if((n.equalsIgnoreCase(nam)))
i=1;
rs.close();
stmt.close();
con.close();
break;
f (i==2) {
stmt.executeUpdate("INSERT INTO TAUTHENTIC "+"VALUES'"+n+"','"+p+"','OFF')");
i=3;
rs.close();
stmt.close();
con.close();
} catch(SQLException ex) {
System.err.println("SQLException: " + ex.getMessage());
return i;
//verifying usre and password and then checking status if off turns on else cant verify.
public int VerifyUser(String s,String p) throws RemoteException
{ int i=0;
String url="jdbc:odbc:Authentic";
String status="OFF";
Connection con;
Statement stmt;
ResultSet rs;
try {
con = DriverManager.getConnection(url, "anything", "anything");
stmt=con.createStatement();
rs = stmt.executeQuery("SELECT NAME, PASSWORD, STATUS FROM AUTHENTIC");
while (rs.next()) {
String nam = rs.getString("NAME");
String pas = rs.getString("PASSWORD");
String sta=rs.getString("STATUS");
if((s.equalsIgnoreCase(nam))&&(p.compareTo(pas)==0))
if(status.compareTo(sta)!=0)
{i=5; break;}
if((s.equalsIgnoreCase(nam))&&(p.compareTo(pas)==0)&&(status.compareTo(sta)==0))
System.out.println("Hi " +nam + " you are in our stock program now");
i=1;
break;
if(i==0)
System.out.println("Sorry either user dont exist or invalid user name or password");
rs.close();
stmt.close();
con.close();
} catch(SQLException ex) {
System.err.println("SQLException: " + ex.getMessage());
return i;
//changes status each time user logged in or logged off
public void cstatus(String name,String status) throws RemoteException
String url="jdbc:odbc:Authentic";
Connection con;
Statement stmt;
try {
con = DriverManager.getConnection(url, "anything", "anything");
stmt=con.createStatement();
stmt.executeUpdate("UPDATE TAUTHENTIC SET STATUS ='" + status + "' WHERE NAME LIKE '" + name + "'");
stmt.close();
con.close();
catch(Exception ex){ System.out.println("Exception: "+ex.getMessage());}
i have used swings to call these functions. Updation is happwning but also bringing runtime server application halt.
//if u need i can mail u my GUI client file from where i am making my RMI connections. my email is [email protected]. Please reply back as soon as possible as i am working on a java project of software agents and have to complete it by this month.
thanx and bye for nowFormat this mess.
http://forum.java.sun.com/faq.jsp#format -
Consolidator class error in java code...
Hi, I have difficult time for testing create publication programically.
Test step is
1. create MOBILEADMIN.EMP2 based by SCOTT.EMP
2. Create Primary Key to MOBILEADMIN.EMP2
3. Write Test Code
My test code is....as follows..
[Publication2.java]
import java.util.*;
import java.sql.*;
import oracle.lite.sync.*;
import oracle.mobile.admin.*;
public class Publication2
public static void main(String args[])
Statement s = null;
ConsolidatorManager mgr = null;
Connection con = null;
try {
con =getConnection( "MOBILEADMIN", "ADMIN" );
con.setAutoCommit(false);
ResourceManager.openConnection( "MOBILEADMIN", "ADMIN" );
mgr = new ConsolidatorManager();
s = con.createStatement();
} catch (Throwable e) {
System.out.println("con.createStatement failed: " + e + "\n");
System.exit(0);
System.out.println( "####################### OpenConnection ######################" );
try {
mgr.OpenConnection( "MOBILEADMIN", "ADMIN" );
} catch (Throwable e) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on OpenConnection xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### DeinstantiateSubscription ######################" );
try {
mgr.DeinstantiateSubscription( "PUBLISH01", "OTN" );
} catch (Throwable e) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on DropSubscription xxxxxxxxxxxxxxxxxxxxxxx " );
//System.exit( 0 );
System.out.println( "####################### DropSubscription ######################" );
try {
mgr.DropSubscription( "PUBLISH01", "OTN" );
} catch (Throwable e) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on DropSubscription xxxxxxxxxxxxxxxxxxxxxxx " );
//System.exit( 0 );
System.out.println( "####################### DropPublication ######################" );
try {
mgr.DropPublication("PUBLISH01");
} catch (Throwable e) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on DropPublication xxxxxxxxxxxxxxxxxxxxxxx " );
//System.exit( 0 );
System.out.println( "####################### DropPublicationItem ######################" );
try {
mgr.DropPublicationItem("PUBLISH01_ITEM01");
} catch (Throwable e) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on DropPublicationItem xxxxxxxxxxxxxxxxxxxxxxx " );
//System.exit( 0 );
System.out.println( "####################### CreatePublication ######################" );
try {
//mgr.CreatePublication("PUBLISH01", Consolidator.OKPI_CREATOR_ID, "%s", null );
mgr.CreatePublication( "PUBLISH01", Consolidator.OKAPI_WIN32, "%s", null );
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on CreatePublication xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### CreatePublicationItem ######################" );
try {
mgr.CreatePublicationItem( "PUBLISH01_ITEM01", "MOBILEADMIN", "emp2", "F", "SELECT * FROM emp2", null, null );
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on CreatePublicationItem xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### PrimaryKeyHint ######################" );
try {
mgr.PrimaryKeyHint( "PUBLISH01_ITEM01", "EMPNO", "MOBILEADMIN", "EMP2", "EMPNO" );
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on PrimaryKeyHint xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### CreatePublicationItemIndex ######################" );
try {
mgr.CreatePublicationItemIndex("PK_PUBLISH01_ITEM01", "PUBLISH01_ITEM01", "P", "EMPNO");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM01", "PUBLISH01_ITEM01", "I", "ENAME");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM02", "PUBLISH01_ITEM01", "I", "JOB");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM03", "PUBLISH01_ITEM01", "I", "MGR");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM04", "PUBLISH01_ITEM01", "I", "HIREDATE");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM05", "PUBLISH01_ITEM01", "I", "SAL");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM06", "PUBLISH01_ITEM01", "I", "COMM");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM07", "PUBLISH01_ITEM01", "I", "DEPTNO");
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on CreatePublicationItemIndex xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### AddPublicationItem ######################" );
try {
mgr.AddPublicationItem("PUBLISH01", "PUBLISH01_ITEM01", null, null, "S", null, null);
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on AddPublicationItem xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### CreateSubscription ######################" );
try {
mgr.CreateSubscription( "PUBLISH01", "OTN" );
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on CreateSubscription xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### InstantiateSubscription ######################" );
try {
mgr.InstantiateSubscription( "PUBLISH01", "OTN" );
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on InstantiateSubscription xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### Ending1... ######################" );
try {
ResourceManager.commitTransaction();
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on Ending1 xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### Ending2... ######################" );
try {
ResourceManager.closeConnection();
mgr.CloseConnection();
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on Ending2 xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
private static Connection getConnection(String user ,String password)
Connection conn =null;
try
DriverManager.registerDriver((Driver)(Class.forName("oracle.jdbc.driver.OracleDriver").newInstance()));
catch(Exception e)
e.printStackTrace();
try
conn=null;
String jdbc_url = "jdbc:oracle:thin:@localhost:1521:sid";
conn = DriverManager.getConnection(jdbc_url,user,password);
catch(Exception e)
e.printStackTrace();
return conn;
9_;}GO4B ?!7/ 8^=CAv @T4O4Y..
log9: ####################### AddPublicationItem ######################
log1: log_main: SELECT PUBLICATION FROM MOBILEADMIN.C$ALL_TEMPLATE_ITEMS WHERE TEMPLATE = ''PUBLISH01'' AND NAME = ''emp2''
log1: log_main: SELECT COUNT(*) FROM MOBILEADMIN.C$PUBLICATION_MTD WHERE PUBLICATION_ID = 97
log1: log_main: Will try to get object type for MOBILEADMIN,emp2
log1: log_main: Will describe emp2
log1: log_main: Finished describing emp2
log1: log_main: NCOLS=0
log1: log_main: PKS Length=0
log9: oracle.lite.sync.ConsolidatorException:
CONS-10032: MOBILEADMIN.emp2?! 4kGQ 1b:; E08& C#@; <v >x1b 6'9.?! 5n7O GW8q PUBLISH01_ITEM01@;(8&) 0;=EGR <v >x@=
(in english, this message shows can't update PUBLISH01_ITEM01 because there's no primary key to MOBILEADMIN.emp2)
log9: at oracle.lite.sync.Subscription.CreatePublicationMapInQueue(Subscription.java:2569)
log9: at oracle.lite.sync.Subscription.AddPublicationItem(Subscription.java:2431)
log9: at oracle.lite.sync.ConsolidatorManager.AddPublicationItem(ConsolidatorManager.java:730)
log9: at Publication2.main(Publication2.java:164)
log9: xxxxxxxxxxxxxxxxxxxxx Error on AddPublicationItem xxxxxxxxxxxxxxxxxxxxxxx
I found primary key to MOBILEADMIN.EMP2 when I query user_constraints table.
What did I wrong? Pls Help me out..
Thanks in advance..Hi, I have difficult time for testing create publication programically.
Test step is
1. create MOBILEADMIN.EMP2 based by SCOTT.EMP
2. Create Primary Key to MOBILEADMIN.EMP2
3. Write Test Code
My test code is....as follows..
[Publication2.java]
import java.util.*;
import java.sql.*;
import oracle.lite.sync.*;
import oracle.mobile.admin.*;
public class Publication2
public static void main(String args[])
Statement s = null;
ConsolidatorManager mgr = null;
Connection con = null;
try {
con =getConnection( "MOBILEADMIN", "ADMIN" );
con.setAutoCommit(false);
ResourceManager.openConnection( "MOBILEADMIN", "ADMIN" );
mgr = new ConsolidatorManager();
s = con.createStatement();
} catch (Throwable e) {
System.out.println("con.createStatement failed: " + e + "\n");
System.exit(0);
System.out.println( "####################### OpenConnection ######################" );
try {
mgr.OpenConnection( "MOBILEADMIN", "ADMIN" );
} catch (Throwable e) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on OpenConnection xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### DeinstantiateSubscription ######################" );
try {
mgr.DeinstantiateSubscription( "PUBLISH01", "OTN" );
} catch (Throwable e) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on DropSubscription xxxxxxxxxxxxxxxxxxxxxxx " );
//System.exit( 0 );
System.out.println( "####################### DropSubscription ######################" );
try {
mgr.DropSubscription( "PUBLISH01", "OTN" );
} catch (Throwable e) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on DropSubscription xxxxxxxxxxxxxxxxxxxxxxx " );
//System.exit( 0 );
System.out.println( "####################### DropPublication ######################" );
try {
mgr.DropPublication("PUBLISH01");
} catch (Throwable e) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on DropPublication xxxxxxxxxxxxxxxxxxxxxxx " );
//System.exit( 0 );
System.out.println( "####################### DropPublicationItem ######################" );
try {
mgr.DropPublicationItem("PUBLISH01_ITEM01");
} catch (Throwable e) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on DropPublicationItem xxxxxxxxxxxxxxxxxxxxxxx " );
//System.exit( 0 );
System.out.println( "####################### CreatePublication ######################" );
try {
//mgr.CreatePublication("PUBLISH01", Consolidator.OKPI_CREATOR_ID, "%s", null );
mgr.CreatePublication( "PUBLISH01", Consolidator.OKAPI_WIN32, "%s", null );
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on CreatePublication xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### CreatePublicationItem ######################" );
try {
mgr.CreatePublicationItem( "PUBLISH01_ITEM01", "MOBILEADMIN", "emp2", "F", "SELECT * FROM emp2", null, null );
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on CreatePublicationItem xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### PrimaryKeyHint ######################" );
try {
mgr.PrimaryKeyHint( "PUBLISH01_ITEM01", "EMPNO", "MOBILEADMIN", "EMP2", "EMPNO" );
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on PrimaryKeyHint xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### CreatePublicationItemIndex ######################" );
try {
mgr.CreatePublicationItemIndex("PK_PUBLISH01_ITEM01", "PUBLISH01_ITEM01", "P", "EMPNO");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM01", "PUBLISH01_ITEM01", "I", "ENAME");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM02", "PUBLISH01_ITEM01", "I", "JOB");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM03", "PUBLISH01_ITEM01", "I", "MGR");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM04", "PUBLISH01_ITEM01", "I", "HIREDATE");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM05", "PUBLISH01_ITEM01", "I", "SAL");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM06", "PUBLISH01_ITEM01", "I", "COMM");
mgr.CreatePublicationItemIndex("ID_PUBLISH01_ITEM07", "PUBLISH01_ITEM01", "I", "DEPTNO");
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on CreatePublicationItemIndex xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### AddPublicationItem ######################" );
try {
mgr.AddPublicationItem("PUBLISH01", "PUBLISH01_ITEM01", null, null, "S", null, null);
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on AddPublicationItem xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### CreateSubscription ######################" );
try {
mgr.CreateSubscription( "PUBLISH01", "OTN" );
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on CreateSubscription xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### InstantiateSubscription ######################" );
try {
mgr.InstantiateSubscription( "PUBLISH01", "OTN" );
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on InstantiateSubscription xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### Ending1... ######################" );
try {
ResourceManager.commitTransaction();
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on Ending1 xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
System.out.println( "####################### Ending2... ######################" );
try {
ResourceManager.closeConnection();
mgr.CloseConnection();
} catch( Throwable e ) {
e.printStackTrace();
System.out.println( "xxxxxxxxxxxxxxxxxxxxx Error on Ending2 xxxxxxxxxxxxxxxxxxxxxxx " );
System.exit( 0 );
private static Connection getConnection(String user ,String password)
Connection conn =null;
try
DriverManager.registerDriver((Driver)(Class.forName("oracle.jdbc.driver.OracleDriver").newInstance()));
catch(Exception e)
e.printStackTrace();
try
conn=null;
String jdbc_url = "jdbc:oracle:thin:@localhost:1521:sid";
conn = DriverManager.getConnection(jdbc_url,user,password);
catch(Exception e)
e.printStackTrace();
return conn;
9_;}GO4B ?!7/ 8^=CAv @T4O4Y..
log9: ####################### AddPublicationItem ######################
log1: log_main: SELECT PUBLICATION FROM MOBILEADMIN.C$ALL_TEMPLATE_ITEMS WHERE TEMPLATE = ''PUBLISH01'' AND NAME = ''emp2''
log1: log_main: SELECT COUNT(*) FROM MOBILEADMIN.C$PUBLICATION_MTD WHERE PUBLICATION_ID = 97
log1: log_main: Will try to get object type for MOBILEADMIN,emp2
log1: log_main: Will describe emp2
log1: log_main: Finished describing emp2
log1: log_main: NCOLS=0
log1: log_main: PKS Length=0
log9: oracle.lite.sync.ConsolidatorException:
CONS-10032: MOBILEADMIN.emp2?! 4kGQ 1b:; E08& C#@; <v >x1b 6'9.?! 5n7O GW8q PUBLISH01_ITEM01@;(8&) 0;=EGR <v >x@=
(in english, this message shows can't update PUBLISH01_ITEM01 because there's no primary key to MOBILEADMIN.emp2)
log9: at oracle.lite.sync.Subscription.CreatePublicationMapInQueue(Subscription.java:2569)
log9: at oracle.lite.sync.Subscription.AddPublicationItem(Subscription.java:2431)
log9: at oracle.lite.sync.ConsolidatorManager.AddPublicationItem(ConsolidatorManager.java:730)
log9: at Publication2.main(Publication2.java:164)
log9: xxxxxxxxxxxxxxxxxxxxx Error on AddPublicationItem xxxxxxxxxxxxxxxxxxxxxxx
I found primary key to MOBILEADMIN.EMP2 when I query user_constraints table.
What did I wrong? Pls Help me out..
Thanks in advance.. -
Hey ...this is sample program from "java 2 fourth edition by herbert schildt"
Class Box()
double width;
double height;
double depth;
//display volume of the box
void volume() {
System.out.print("Volume is");
System.out.println(width * height * depth);
Class BoxDemo3
public static void main(String args[])
Box mybox1 = new Box();
Box mybox2 = new Box();
//assign values to mybox1 instance variables
mybox1.width = 10;
mybox1.height = 20;
mybox1.depth = 15;
mybox2.width = 3;
mybox2.height = 6;
mybox2.depth = 9;
mybox1.volume();
mybox2.volume();
i have saved it as Box.java and using editplus i have compiled it then i got the error as
Error ::::: Box.java:2: 'class' or 'interface' expected
I think i have to import something in the code ......help me understand java
thanx alotclass, not Class
-
Where can i find java.lang.Exception class file which i must have for Java exception handling? I used find utility of Windows and did find a Exception.class file shown in directory "java/lang". But somehow i could not find such directory on my hard disk! I copied it to a self-named directory and then tried to import it into forms, i got an error 'no def found 'java/lang'.
Please help. I need to get it to work urgently.
Thanks.Ron,
the java.lang.Excpetion class is part of the Java platform and don't need to be present in a separate directory on your PC. Just import java.lang.Exception as you can see it in the Java importer class tree.
Frank -
To find the error in java code if any
i was learnig java.net package and this is the code i wrote to read the contents directly from a given url using openStream() method of URL class and got the message 'error' from
java.io.IOException which i had given in the catch block. please tell me what is happening & how
could i read the content from an url with url class method.
import java.io.*;
import java.net.*;
public class url
public static void main(String[] args)
throws java.io.IOException,java.java.MalformedURLException
try{
URL yahoo = new URL("http://www.yahoo.com");
BufferedReader read_io = new BufferedReader(new InputStreamReader(yahoo.openStream()));
String line;
while((line =read_io.readLine())!= null)
System.out.println(line);
line.close();}
catch(MalformedURLException e)
System.out.println("error");
catch(IOException e)
System.out.println("error"):
after execution at the terminal
bash-3.00#javac url.java
bash-3.00#java url
errorPlease use [code] tags when posting code.
Are you sure String has a close method? I'm not sure your code compiles.
Exceptions have a getMessage method, which can be useful (and a printStackTrace method that can be even more useful.) -
Installation Error: IDES Database Import
Hello everyone,
Thank for all for the help so far. The forums have really helped me along in my SAP installation. This
particular error has occurred for the second time in a row.... This error happens after importing
approximately 250GB of IDES data into the sap database (MaxDB). The error logs and system info are
posted below.
STDOUT:
+SNIP+
INFO 2009-02-24 10:37:15.650 [sixxcstepexecute.cpp:781]
Execute step sdb_instance_start of component
|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|
ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|
ind|3|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
INFO 2009-02-24 10:37:37.597 [sixxcstepexecute.cpp:781]
Execute step sdb_instance_activate of component
|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|
ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|
ind|3|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
INFO 2009-02-24 11:53:40.381 [sixxcstepexecute.cpp:781]
Execute step sdb_instance_wait_for_backup of component
|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|
ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|
ind|3|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
INFO 2009-02-24 11:53:41.181 [sixxcstepexecute.cpp:781]
Execute step sdb_instance_load_systables of component
|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|
ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|
ind|3|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
WARNING[E] 2009-02-24 11:53:42.882
CJSlibModule::writeError_impl()
The dbmcli call for action LOAD_SYSTAB failed. SOLUTION: Check the logfile XCMDOUT.LOG.
WARNING[E] 2009-02-24 11:53:42.955
CJSlibModule::writeError_impl()
The dbmcli call for action LOAD_SYSTAB failed. SOLUTION: Check the logfile XCMDOUT.LOG.
*ERROR* 2009-02-24 11:53:43.207 [sixxcstepexecute.cpp:951]
FCO-00011 The step sdb_instance_load_systables with step key
|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|
ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|
ind|3|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0|
sdb_instance_load_systables was executed with status ERROR .
XCMDOUT.LOG
+SNIP+
Subprocess starts at 20090224103715
Execute Command : /sapdb/programs/bin/dbmcli -n xa4-myexaserv -d XA4 -u CONTROL,******** db_start
Start subprocess as user with uid: root
Subprocess stops at 20090224103736
OK
Subprocess starts at 20090224103736
Execute Command : /sapdb/programs/bin/dbmcli -n xa4-myexaserv -d XA4 -u CONTROL,******** db_state
Start subprocess as user with uid: root
Subprocess stops at 20090224103736
OK
State
ADMIN
Subprocess starts at 20090224103737
Execute Command : /sapdb/programs/bin/dbmcli -n xa4-myexaserv -d XA4 -u CONTROL,******** db_state
Start subprocess as user with uid: root
Subprocess stops at 20090224103737
OK
State
ADMIN
Subprocess starts at 20090224103738
Execute Command : /sapdb/programs/bin/dbmcli -n xa4-myexaserv -d XA4 -u CONTROL,********
Start subprocess as user with uid: root
Execute Session Command : util_connect
Execute Session Command : db_activate SUPERDBA,********
Execute Session Command : exit
Subprocess stops at 20090224115339
OK
OK
Subprocess starts at 20090224115341
Execute Command : /sapdb/programs/bin/dbmcli -n xa4-myexaserv -d XA4 -u CONTROL,********
load_systab -u SUPERDBA,******** -ud ********
Start subprocess as user with uid: root
Subprocess stops at 20090224115342
ERR
-24964,ERR_EXECUTE: error in program execution
256,/sapdb/XA4/db/bin/x_python /sapdb/XA4/db/env/lsystab.py -R /sapdb/XA4/db -d XA4 -u SUPERDBA,********
---------Traceback---------------
---------Error-------------------
sql.SQLError: [-4008] (at 1) Unknown user name/password combination
Traceback (most recent call last):
File "/sapdb/XA4/db/env/lsystab.py", line 202, in ?
connectAndInstall (install, install.__doc__)
File "/sapdb/XA4/db/env/installib.py", line 393, in connectAndInstall
session = connect (options)
File "/sapdb/XA4/db/env/installib.py", line 348, in connect
alterUserNotExclusive(options)
File "/sapdb/XA4/db/env/installib.py", line 336, in alterUserNotExclusive
session.release()
AttributeError: 'NoneType' object has no attribute 'release'
System Information:
RHEL 5.2
SAP_ERP_6.0_SR3_IDES_Inst._Master
RDBMS_MAXDB_7.6.03_Build_09
NW_7.0_SR3_Kernel_WINDOWS__LNX_X86
Java:
[root@xa4-**** sapInstall]# java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 2.2)
IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux amd64-64 j9xa64142-20070708 (JIT enabled)
J9VM - 20070530_2352_LHdSMr
JIT - r7_level20070315_1745)
Python:
[root@xa4-**** sapInstall]# python -V
Python 2.4.3
Once again, thank you all for the help. Has there been a "sticky" post on how to format thread postings for
easy reading?
Thank you,
ZachMarkus,
To clarify on my original reply.
[root@xa4-myexaserv ~]# touch te$tpa$$word
[root@xa4-myexaserv ~]# ls -l te*
-rw-r--r-- 1 root root 0 Feb 24 15:12 te24682word
What's occurring here is:
-> $tpa isn't a registered variable so bash is dropping it out of the command
-> $$ is a special parameter in bash that evaluates to the pid of the shell
Do you think something similar to this is happening in the x_python execution? ...this assumes that all of
these commands are running in a bash environment. Even if this is the culprit of my error, I'm unsure why the
following command succeeds:
/sapdb/programs/bin/dbmcli -n xa4-myexaserv -d XA4 -u CONTROL,******** load_systab -u
SUPERDBA,******** -ud ********
Perhaps I am over thinking it... But I have a hard time believing that a particular script in a large installation
would behave so differently from the rest of the installation scripts.
Thank you for the help,
Zach -
Error when re-importing a model
I have a coworker who is trying to reimport a model in his Web Dynpro project. He is getting the following exception (full stack trace below):
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
We've tried removing the .registry file in the .metadata folder and we've tried removing the .metadata folder completely. We upgraded him to the same version of NDS that I'm using (7.0.13), and he's still getting the same error, even though I can reimport it with no problems.
Any ideas?
Full stack:
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2330)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:101)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:136)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:261)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.connectToServer(SAPLogonPage.java:1699)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.performFinish(SAPLogonPage.java:1805)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.initializeReimporter(ModelWizard.java:1410)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.performPostSapLogonPageForReimport(ModelWizard.java:1433)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:85)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.reimportModel(ModelEditorCallback.java:218)
at com.sap.ide.webdynpro.service.modeleditor.ModelService.reImportModel(ModelService.java:207)
at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.reImportModel(ServiceWithUI.java:120)
at com.sap.ide.webdynpro.tsmodel.application.actions.ReimportModelAction.run(ReimportModelAction.java:11)
at com.sap.ide.webdynpro.projectbrowser.actions.PBReimportModelAction.run(PBReimportModelAction.java:77)
at com.sap.ide.webdynpro.projectbrowser.actions.PBDevelopmentObjectAction.runInternal(PBDevelopmentObjectAction.java:80)
at com.sap.ide.webdynpro.projectbrowser.actions.PBDevelopmentObjectAction.run(PBDevelopmentObjectAction.java:61)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)Hi,
You have re-imported the model. This means that once you haev to restart your server. Just Restart it. Repair and Rebuild your Project. Try to import SWT.jar file again and then try.
That would surely help you.
Regards,
ROSHAN
Maybe you are looking for
-
Refurbished rapid exchange ipod will not sync
It's like a brand new one, but itunes is not recognizing it at all-there was cdrom that came with it, but don't know what program (in windows) to open it with. Please help tell me how to get new ipod to sync with existing account!!!!!!!!!!!!!!!
-
Attach the response file to Email notifications
Is there any way to automate the download of the response file, perhaps allowing it to be attaqched to the Email notification?
-
Could there be a more cumbersome process to get a new logo in there? 1) They don't have the size requirements in the readme... just that when I run it, it'll tell me if it's too big or not. 2) When you do run the tool, it tells you that the compress
-
Why am I seeing many of the same reocrds in my PSA when I run my infopackag
I am running into an issue when on occassion I will get the same records several times over when I run my infopackage. It grabs by date which is on each record so it should nver pull it more than 1 itme. this doens't happen all the time but seems t
-
So I have had my Macbook Pro for a few years now, and now I can't download anything. I have plenty of room on my hard drive, but every time I use the installer (for flash, growl, really anything!) it tells me: "You need about 13.1MB more free space o