Subject: JCA blackbox-tx.rar error 2005-07-22 - By Edward King
Back I want to test blackbox resource adapter,so I choose blackbox-tx.rar of J2EE 1 .3.First I start cloudscape cloudscape -start
Then I create a cloudscape in the directory of %J2EE_HOME%\lib\cloudscape,the sql is follows: create table demoaccount (accountid varchar(3) constraint demoaccount_pk primary key, firstname varchar(25), lastname varchar(25), balance decimal(12,2));
Next I start J2EE j2ee -verbose
Next I start deploytool,create a new Application,named 'Blackbox',then choose File Menu->Add to Application->Resource-adapter RAR,and choose the file %J2EE _HOME%\lib\connector\blackbox-tx.rar,last I use Tools Menu->Deploy command,but it raise errors:
There was a deployment error java.rmi.ServerException:RemoteException occurred in server thread;nested exception is: java.rmi.RemoteException:Error saving/opening
error.log is follows: java.io.FileNotFoundException: F:\j2sdkee1.3.1\repository\sky-ocean\explodeTMP \Blackbox\com\sun (System can't find assign path) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:176) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at com.sun.enterprise.deployment.DirectoryArchive.addEntry(DirectoryArchive .java:76) at com.sun.enterprise.deployment.ConnectorArchivist.makeArchiveClassLoadable (ConnectorArchivist.java:432) at com.sun.enterprise.deployment.ApplicationArchivist .saveInClassLoadableFormat(ApplicationArchivist.java:1772) at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl .deployApplication(JarInstallerImpl.java:150) at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl _Tie._invoke(Unknown Source) at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java :355) at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255) at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor .java:84) at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool .java:99)
Why raise above errors? How to correct it? Thanks in advance.
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=gb2312"> <META content="MSHTML 6.00.2800.1505" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT size=2>I want to test blackbox resource adapter,so I choose blackbox-tx.rar of J2EE 1.3.First I start cloudscape<BR>cloudscape -start</FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>Then I create a cloudscape in the directory of %J2EE_HOME%\lib\cloudscape,the sql is follows:<BR>create table demoaccount <BR>(accountid varchar(3) constraint demoaccount_pk primary key, <BR>firstname varchar(25), <BR>lastname varchar(25), <BR>balance decimal(12,2));</FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>Next I start J2EE<BR>j2ee -verbose</FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>Next I start deploytool,create a new Application,named 'Blackbox',then choose File Menu->Add to Application->Resource-adapter RAR,and choose the file %J2EE_HOME%\lib\connector\blackbox-tx.rar,last I use Tools Menu->Deploy command,but it raise errors:</FONT></DIV> <DIV><FONT size=2><BR>There was a deployment error<BR>java.rmi.ServerException:RemoteException occurred in server thread;nested exception is:<BR>java.rmi.RemoteException:Error saving/opening</FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>error.log is follows:<BR>java.io.FileNotFoundException: F:\j2sdkee1.3.1\repository\sky-ocean\explodeTMP\Blackbox\com\sun (System can't find assign path)<BR> at java.io.FileOutputStream.open(Native Method)<BR> at java.io.FileOutputStream.<init>(FileOutputStream.java:176)<BR> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)<BR> at com.sun.enterprise.deployment.DirectoryArchive.addEntry(DirectoryArchive.java :76)<BR> at com.sun.enterprise.deployment.ConnectorArchivist.makeArchiveClassLoadable (ConnectorArchivist.java:432)<BR> at com.sun.enterprise.deployment.ApplicationArchivist.saveInClassLoadableFormat (ApplicationArchivist.java:1772)<BR> at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication (JarInstallerImpl.java:150)<BR> at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie. _invoke(Unknown Source)<BR> at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355 )<BR> at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)<BR> at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java :84)<BR> at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java :99)</FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>Why raise above errors? How to correct it?<BR>Thanks in advance.<BR></FONT></DIV></BODY></HTML> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|