Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Subject: JCA blackbox-tx.rar error

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>&nbsp;</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&nbsp;
<BR>(accountid varchar(3) constraint demoaccount_pk primary key,&nbsp;
<BR>firstname varchar(25),&nbsp; <BR>lastname varchar(25),&nbsp; <BR>balance
decimal(12,2));</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Next I start J2EE<BR>j2ee -verbose</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Next I start deploytool,create a new Application,named
'Blackbox',then choose File Menu-&gt;Add to Application-&gt;Resource-adapter
RAR,and choose the file %J2EE_HOME%\lib\connector\blackbox-tx.rar,last I use
Tools Menu-&gt;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>&nbsp;</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>&nbsp;at java.io.FileOutputStream.open(Native
Method)<BR>&nbsp;at
java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:176)<BR>&nbsp;at
java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:131)<BR>&nbsp;at
com.sun.enterprise.deployment.DirectoryArchive.addEntry(DirectoryArchive.java
:76)<BR>&nbsp;at
com.sun.enterprise.deployment.ConnectorArchivist.makeArchiveClassLoadable
(ConnectorArchivist.java:432)<BR>&nbsp;at
com.sun.enterprise.deployment.ApplicationArchivist.saveInClassLoadableFormat
(ApplicationArchivist.java:1772)<BR>&nbsp;at
com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication
(JarInstallerImpl.java:150)<BR>&nbsp;at
org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie.
_invoke(Unknown
Source)<BR>&nbsp;at
com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355
)<BR>&nbsp;at
com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)<BR>&nbsp;at
com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java
:84)<BR>&nbsp;at
com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java
:99)</FONT></DIV>
<DIV>&nbsp;</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>

©2008 junlu.com - Jax Systems, LLC, U.S.A.