Can any one clear the following my doubt:
where I have to keep my java bean to use with my jsp or servlet, please?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, June 08, 2001 5:02 PM
To: [EMAIL PROTECTED]
Subject: JBoss-user digest, Vol 1 #711 - 10 msgs


Send JBoss-user mailing list submissions to
        [EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.sourceforge.net/lists/listinfo/jboss-user
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of JBoss-user digest..."


Today's Topics:

   1. Q: Clustering... (Lachezar Dobrev)
   2. Re: Help with HTTPS (Guy Rouillier)
   3. Re: Lookup Datasource from Javabeans.  Possible? (Edward Wang)
   4. Re: Q: Clustering... (Lorenzo Resta)
   5. RE: Q: Clustering... (Sacha Labourey)
   6. Re: DEAR JBOSS USERS (Juha-P Lindfors)
   7. Re: DB pool without specified username/password. (Nicolai P Guba)
   8. OutOfMemoryError (Nicolai P Guba)
   9. Re: EJB Integration with existing Java Framework - Urgent! (Grim
Shieldsson)
  10. Re:  EntityBean CreateException with Oracle8i (Burkhard Vogel)

--__--__--

Message: 1
From: "Lachezar Dobrev" <[EMAIL PROTECTED]>
To: "JBoss Mailing-list" <[EMAIL PROTECTED]>
Date: Fri, 8 Jun 2001 11:03:51 +0300
Organization: LSN Software and telecommunication systems
Subject: [JBoss-user] Q: Clustering...
Reply-To: [EMAIL PROTECTED]

This is a multi-part message in MIME format.

------=_NextPart_000_045B_01C0F00A.B30FCBF0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

   (I)   Preface:
   I have some beans, that require an ENORMOUS CPU time to run. I want =
to be able to run many instances of them on many machines in order to be =
able to do my job.
   (II)  Solution: Using a clusterable EJB container/server. I can =
deploy these beans on more than one machine. Using a loadbalancer would =
be GREAT, if available.
   (III) Q: I have tried quite a number of AS-es and EJB servers. The =
only one, that I have come upon to be able to do such a clustering was =
IAS/BAS. However most of you know the license fee enormous also :(.


   The real question should be: Can I cluster multiple JBoss servers, in =
a manner, that looking up an EJB would give me a home interface on =
different machine, dependant on load, or even a roundrobin? That would =
be just GREAT!
   If it's not available at the current stage, than... Are there any =
future chances on getting this to work? I really would hate to code for =
a server, that I will not use later :(. Well... I will use JBoss, but if =
there is no clustering, than the project I'm working on is DOOMED on =
JBoss.

   Looking forward to hearing from ANYONE:

   Lachezar Dobrev.

------=_NextPart_000_045B_01C0F00A.B30FCBF0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DCourier size=3D2></FONT><FONT face=3DCourier =
size=3D2>&nbsp;&nbsp;=20
(I)&nbsp;&nbsp; Preface:</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp;&nbsp;I have some beans, =
that require=20
an ENORMOUS CPU time to run. I want to be able to run many instances of =
them on=20
many machines in order to be able to do my job.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp; (II)&nbsp; Solution: =
Using a=20
clusterable EJB container/server. I can deploy these beans on more than =
one=20
machine. Using a loadbalancer would be GREAT, if available.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp;&nbsp;(III) Q: I have =
tried quite a=20
number of AS-es and EJB servers. The only one, that I have come upon to =
be able=20
to do such a clustering was IAS/BAS. However most of you know the =
license fee=20
enormous also :(.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp; The real question should =
be: Can I=20
cluster multiple JBoss servers, in a manner, that looking up an EJB =
would give=20
me a home interface on different machine, dependant on load, or even a=20
roundrobin? That would be just GREAT!</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp; If it's not available at =
the current=20
stage, than... Are there any future chances on getting this to work? I =
really=20
would hate to code for a server, that I will not use later :(. Well... I =
will=20
use JBoss, but if there is no clustering, than the project I'm working =
on is=20
DOOMED on JBoss.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp; Looking forward to =
hearing from=20
ANYONE:</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp; Lachezar=20
Dobrev.</FONT></DIV></BODY></HTML>

------=_NextPart_000_045B_01C0F00A.B30FCBF0--




--__--__--

Message: 2
From: "Guy Rouillier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: [JBoss-user] Help with HTTPS
Date: Fri, 8 Jun 2001 04:07:18 -0400
Reply-To: [EMAIL PROTECTED]

Sorry, I'm still not getting the picture.  You say "from JBoss using a
servlet".  Again, JBoss is not a web server, so where is the servlet
running?  I'm thinking you are running one of the combined packages
JBoss+Tomcat or JBoss+Jetty.  And I've never used WebLogic, but I've only
seen it mentioned as an application server.  Does it also have an embedded
web server?

----- Original Message -----
From: "Nithin Bose" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 2:33 AM
Subject: RE: [JBoss-user] Help with HTTPS


I am trying to connect to a https server ( weblogic) running on my machine
from JBoss using a servlet (HttpURLConnection)



> -----Original Message-----
> From: Guy Rouillier [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 08, 2001 11:38 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Help with HTTPS
>
>
> Please explain what you are trying to accomplish.  https is a
> web protocol,
> and JBoss is not a web server.
>
> ----- Original Message -----
> From: "Nithin Bose" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 08, 2001 12:07 AM
> Subject: [JBoss-user] Help with HTTPS
>
>
> Hi,
>
> Can anyone please help me as to what all
> configurations need to be done to use https with JBoss.
>
> I have jsse.jar, I am unable to set the system properties it
> specifies.
> Is there any other way of doing it??
>
> Thanks
>
> Nithin
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user




--__--__--

Message: 3
From: "Edward Wang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: [JBoss-user] Lookup Datasource from Javabeans.  Possible?
Date: Fri, 8 Jun 2001 16:15:16 +0800
Reply-To: [EMAIL PROTECTED]

SWYgdGhlIEpCb3NzL1RvbWNhdCBwYWNrIGV2ZW4gZG9lc24ndCBhbGxvdyBteSBzZXJ2bGV0IHRv
IGFjY2VzcyBEYXRhc291cmNlLCB0aGVuIHdoeSB3b3VsZCBJIHVzZSBKQm9zcyBidXQgbm90IEpS
dW4gb3Igc29tZXRoaW5nIGVsc2U/DQpGb3IgdGhhdCwgSSBoYXZlIHRvIHdyaXRlIGFuIEVKQiBm
b3IgZXZlcnkgbGl0dGxlIHBpZWNlIG9mIFNRTCBJIHdhbnQgdG8gZXhlY3V0ZSBpbiBteSBEQiBp
biBteSBzZXJ2bGV0LiBJcyB0aGF0IHRvbyBpbmNvbnZpZW50Pw0KDQotLS0tLSBPcmlnaW5hbCBN
ZXNzYWdlIC0tLS0tIA0KRnJvbTogIkd1eS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X19fX18NCkpCb3NzLXVzZXIgbWFpbGluZyBsaXN0DQpKQm9z
cy11c2VyQGxpc3RzLnNvdXJjZWZvcmdlLm5ldA0KaHR0cDovL2xpc3RzLnNvdXJjZWZvcmdlLm5l
dC9saXN0cy9saXN0aW5mby9qYm9zcy11c2VyDQoNCg==



--__--__--

Message: 4
From: Lorenzo Resta <[EMAIL PROTECTED]>
Organization: Surfkitchen Inc.
To: [EMAIL PROTECTED],
 "Lachezar Dobrev" <[EMAIL PROTECTED]>
Subject: Re: [JBoss-user] Q: Clustering...
Date: Fri, 8 Jun 2001 10:32:00 +0200
Reply-To: [EMAIL PROTECTED]

Hi,

I think that right now there is no clustering in JBoss.  I guess that
someone
is working on a clustering solution for JBoss. I am trying to find out as
well, where clustering is today, since i will need clustering as well for
the
future deployment of my project. I hate to say this here, but did you look
at
Orionserver. Orionserver comes with clustering.....

An alternative might be to use a hardware loadbalancers like Alteon, but
such
a solution would just loadbalance a service running at a specific port.

Cheers

On Friday 08 June 2001 10:03, Lachezar Dobrev wrote:
>    (I)   Preface:
>    I have some beans, that require an ENORMOUS CPU time to run. I want to
> be able to run many instances of them on many machines in order to be able
> to do my job. (II)  Solution: Using a clusterable EJB container/server. I
> can deploy these beans on more than one machine. Using a loadbalancer
would
> be GREAT, if available. (III) Q: I have tried quite a number of AS-es and
> EJB servers. The only one, that I have come upon to be able to do such a
> clustering was IAS/BAS. However most of you know the license fee enormous
> also :(.
>
>
>    The real question should be: Can I cluster multiple JBoss servers, in a
> manner, that looking up an EJB would give me a home interface on different
> machine, dependant on load, or even a roundrobin? That would be just
GREAT!
> If it's not available at the current stage, than... Are there any future
> chances on getting this to work? I really would hate to code for a server,
> that I will not use later :(. Well... I will use JBoss, but if there is no
> clustering, than the project I'm working on is DOOMED on JBoss.
>
>    Looking forward to hearing from ANYONE:
>
>    Lachezar Dobrev.

----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description:
----------------------------------------


--__--__--

Message: 5
From: "Sacha Labourey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: [JBoss-user] Q: Clustering...
Date: Fri, 8 Jun 2001 10:31:03 +0200
Reply-To: [EMAIL PROTECTED]

Hello,

Someone on the ML recently described its cluster environment. You may search
the archive to find this post (last 10 days or something like this).

Otherwise, you may take a look at a first release of HA for JBoss:
http://194.38.95.241/jboss/

The clustering stuff should be included in JBoss 3.0

Cheers,


                            Sacha



-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Lachezar Dobrev
Envoy� : vendredi, 8 juin 2001 10:04
� : JBoss Mailing-list
Objet : [JBoss-user] Q: Clustering...


   (I)   Preface:
   I have some beans, that require an ENORMOUS CPU time to run. I want to be
able to run many instances of them on many machines in order to be able to
do my job.
   (II)  Solution: Using a clusterable EJB container/server. I can deploy
these beans on more than one machine. Using a loadbalancer would be GREAT,
if available.
   (III) Q: I have tried quite a number of AS-es and EJB servers. The only
one, that I have come upon to be able to do such a clustering was IAS/BAS.
However most of you know the license fee enormous also :(.


   The real question should be: Can I cluster multiple JBoss servers, in a
manner, that looking up an EJB would give me a home interface on different
machine, dependant on load, or even a roundrobin? That would be just GREAT!
   If it's not available at the current stage, than... Are there any future
chances on getting this to work? I really would hate to code for a server,
that I will not use later :(. Well... I will use JBoss, but if there is no
clustering, than the project I'm working on is DOOMED on JBoss.

   Looking forward to hearing from ANYONE:

   Lachezar Dobrev.



--__--__--

Message: 6
Date: Fri, 8 Jun 2001 11:35:07 +0300 (EET DST)
From: Juha-P Lindfors <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: [JBoss-user] DEAR JBOSS USERS
Reply-To: [EMAIL PROTECTED]


Please post the code of a finder method you think is not working
correctly.

-- Juha


On Thu, 7 Jun 2001, Faisal Abdallah wrote:

> Dear Jboss users I am interested in hearing your experience with Jboss  I
> ve been using it since jboss2.0 update ...nd  few improvements have
> occurred since .Till now it seems to me that IT can't, even, carry out the
> simplest EJB tasks such as finder methods( ByPrimarykey(),findAll(
> ) and Collection findBy...( )
> Hope I can hear your views so I can try another decent EJB server
> many thinks
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>



--__--__--

Message: 7
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] DB pool without specified username/password.
From: Nicolai P Guba <[EMAIL PROTECTED]>
Date: 08 Jun 2001 09:45:31 +0100
Reply-To: [EMAIL PROTECTED]

>>>>> "GR" == Guy Rouillier <[EMAIL PROTECTED]> writes:

[snip]

GR> you'll get a null pointer exception.  Second, we know the changes
GR> required to make the pool use userids and passwords properly.  One
GR> of the motivations for forking the minerva implementation into the
GR> JBossPool implementation was so that we could incorporate some of
GR> these fixes.

GR> My employer went out of business last week, so I should have
GR> plenty of time next week to coordinate with Toby to get these
GR> changes into JBossPool.

Very sorry to hear that your employer's business went belly-up.

Talking about JBossPool features.... Is it possible to add a new
connection to the pool without having to restart the server?

--
  Nicolai P Guba    http://www.gnu.org         http://www.frontwire.com
                    mailto:[EMAIL PROTECTED]     mailto:[EMAIL PROTECTED]
                    GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708


--__--__--

Message: 8
To: [EMAIL PROTECTED]
From: Nicolai P Guba <[EMAIL PROTECTED]>
Date: 08 Jun 2001 09:53:07 +0100
Subject: [JBoss-user] OutOfMemoryError
Reply-To: [EMAIL PROTECTED]


*ouch*

Hmmm, left the server overnight, came back next morning and ran the
client against it.  Not sure whether I am able to accurately pinpoint
why the system thinks it is out of memory... :(

npg@raphael:~$ free
             total       used       free     shared    buffers     cached
Mem:        255332     253244       2088          0          0     153308
-/+ buffers/cache:      99936     155396
Swap:       497972          0     497972

[User] TRANSACTION ROLLBACK EXCEPTION:unable to create new native thread;
nested exception is:    java.lang.OutOfMemoryError: unable to create new
native thread
[User] java.lang.OutOfMemoryError: unable to create new native thread
[User]  at java.lang.Thread.start(Native Method)
[User]  at
sun.rmi.transport.DGCClient$EndpointEntry.<init>(DGCClient.java:218)
[User]  at
sun.rmi.transport.DGCClient$EndpointEntry.lookup(DGCClient.java:190)
[User]  at sun.rmi.transport.DGCClient.registerRefs(DGCClient.java:108)
[User]  at sun.rmi.transport.LiveRef.read(LiveRef.java:267)
[User]  at sun.rmi.server.UnicastRef2.readExternal(UnicastRef2.java:57)
[User]  at java.rmi.server.RemoteObject.readObject(RemoteObject.java:203)
[User]  at java.lang.reflect.Method.invoke(Native Method)
[User]  at
java.io.ObjectInputStream.invokeObjectReader(ObjectInputStreamjava:2213)
[User]  at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1410)
[User]  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
[User]  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
[User]  at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.readExternal(GenericProxy
.java:166)
[User]  at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.readExternal(HomeProxy.java:
265)
[User]  at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
[User]  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
[User]  at
java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)

[snip]

--
  Nicolai P Guba    http://www.gnu.org         http://www.frontwire.com
                    mailto:[EMAIL PROTECTED]     mailto:[EMAIL PROTECTED]
                    GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708


--__--__--

Message: 9
Date: Fri, 8 Jun 2001 01:53:56 -0700 (PDT)
From: Grim Shieldsson <[EMAIL PROTECTED]>
Subject: Re: [JBoss-user] EJB Integration with existing Java Framework -
Urgent!
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]

However the IO/thread classes can use EJB's.. just not the other way
around.  I'm thinking that they are going to have to refactor their
software a bit to use EJB's.
--- Kar YEOW <[EMAIL PROTECTED]> wrote:
> I believe you can't use thread or IO either directly or indirectly.
> As
> these are resource controlled by the Container.  If they are used
> without
> the Container's knowledge, the Container will not be able to manage
> them.
> eg opened file and unterminated thread etc etc...
> Kar
> ----- Original Message -----
> From: "Allen Fogleson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 08, 2001 12:08 AM
> Subject: RE: [JBoss-user] EJB Integration with existing Java
> Framework -
> Urgent!
>
>
> Threads and IO are prohibited in an EJB, there is nothing to stop a
> separate
> class from using IO and threads, and having those classes be used
> within the
> EJB.
>
>
> Al
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of ZHU Jia
> Sent: Thursday, June 07, 2001 7:05 AM
> To: jbossuser
> Subject: [JBoss-user] EJB Integration with existing Java Framework -
> Urgent!
>
>
> 2. Some of our java files need threads and file IO, and the EJBs
> should
> call them. I don't know if this can be a problem because threads and
> file IO are forbidden in EJB. Also I think I have to put the existing
> files in an archive and place them into the lib dir of JBoss, right?
> But
> where's the best place for resources this library itself needs, like
> conf files, graphics etc.?
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=====
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the
door.
--Kyle Chandler

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/


--__--__--

Message: 10
From: "Burkhard Vogel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re:  [JBoss-user] EntityBean CreateException with Oracle8i
Date: Fri, 8 Jun 2001 10:55:10 +0200
Reply-To: [EMAIL PROTECTED]

Hi,
this NPE is usually caused by an illegal URL/user/pwd combinition, use a
tool to verify your settings, check wether you have sufficient priviledges
to create tables (by issuing a create table statement) and good luck, there
are numerous posts regarding oracle problems, search the archive (via
jboss.org link)
Burkhard
----- Original Message -----
From: "Joshua Zhao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 07, 2001 4:50 PM
Subject: [JBoss-user] EntityBean CreateException with Oracle8i


> Following the guide in
http://www.jboss.org/documentation/HTML/ch11s44.html,
> I have been able to run the examples from Richard Monson-Haefel's book
> "Enterprise JavaBeans" (Chap4). In this case, I used the default DB
> (Hypersonic). However, if I switch to Oracle8i, following the instructions
> from "Chapter 5. Customizing JAWS"
> (http://www.jboss.org/documentation/HTML/ch05.html) and others (JDBC
driver,
> jboss.jcml, and etc.), I get the following exception when I try to invoke
> com.titan.cabin.Client_1.
>
> javax.ejb.CreateException: Could not create
> entity:java.lang.NullPointerException
> at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
> Source)
> at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
> at sun.rmi.server.UnicastRef.invoke(Unknown Source)
> at
>
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unkno
> wn Source)
> at
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:248)
> at $Proxy0.create(Unknown Source)
> at com.titan.cabin.Client_1.main(Client_1.java:27)
>
> Any hints/comments would be greatly appreciated!
>
> Joshua Zhao
>
> FYI.
>
> I am using JBoss-2.2.1_Tomcat-3.2.1 with Windows NT workstation
environment.
> Below are what I have done for using Oracle8i:
> 1. Installed classes12.zip into the lib\ext directory;
> 2. Modified jboss.jcml as follows:
> <mbean code="org.jboss.jdbc.JdbcProvider"
> name="DefaultDomain:service=JdbcProvider">
>         <attribute
>
name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,orac
> le.jdbc.driver.OracleDriver</attribute>
>   </mbean>
>
> <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=OracleDS">
>   <attribute name="PoolName">OracleDS</attribute>
>   <attribute
>
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
> l</attribute>
> <attribute
> name="URL">jdbc:oracle:thin:@localhost:1521:JXZORA60</attribute>
> <attribute name="JDBCUser">scott</attribute>
> <attribute name="Password">tiger</attribute>
> </mbean>
> 3. Modified jboss.properties by uncommenting the following line:
> jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
> 4. Created a jaws.xml file in the META-INF and deployed with the cabin.jar
> <?xml version="1.0" encoding="UTF-8"?>
> <jaws>
>     <datasource>java:/OracleDS</datasource>
>     <type-mapping>Oracle8</type-mapping>
>     <debug>false</debug>
>
>     <default-entity>
>        <create-table>false</create-table>
>        <remove-table>false</remove-table>
>       <tuned-updates>false</tuned-updates>
>        <read-only>false</read-only>
>        <time-out>300</time-out>
>        <select-for-update>false</select-for-update>
>     </default-entity>
>
>     <type-mapping>
>     <name>Oracle8</name>
> <!-- copy Oracle8 mapping from
> standardjaws.xml here -->
> </type-mapping>
> </jaws>
> 5. Created the table CABIN in the database.
>
> Below are from the start-up screen:
>
> [JDBC provider] Initializing
> [JDBC provider] Loaded JDBC-driver:org.hsql.jdbcDriver
> [JDBC provider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver
> [JDBC provider] Loaded JDBC-driver:oracle.jdbc.driver.OracleDriver
> [JDBC provider] Initialized
> [Hypersonic] Initializing
> [Hypersonic] Initialized
> [InstantDB] Initializing
> [InstantDB] Initialized
> [DefaultDS] Initializing
> [DefaultDS] Initialized
> [OracleDS] Initializing
> [OracleDS] Initialized
> ......
> [Hypersonic] Starting
> [Hypersonic] Server 1.4 is running
> [Hypersonic] Database started
> [Hypersonic] Started
> [InstantDB] Starting
> [Hypersonic] Press [Ctrl]+[C] to abort
> [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB
> Enhydra InstantDB - Version 3.26
> [InstantDB] The Initial Developer of the Original Code is Lutris
> Technologies Inc.
> Portions created by Lutris are Copyright (C) 1997-2001 Lutris
Technologies,
> Inc.
> All Rights Reserved.
> [InstantDB] Started
> [DefaultDS] Starting
> [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
> [DefaultDS] Started
> [OracleDS] Starting
> [OracleDS] XA Connection pool OracleDS bound to java:/OracleDS
> ......
> ......
> [Service Control] java.lang.NullPointerException
> [Service Control]       at
> org.opentools.minerva.jdbc.xa.XAPoolDataSource.getCon
> nection(XAPoolDataSource.java:165)
> [Service Control]       at
> org.jboss.jdbc.XADataSourceLoader.startService(XAData
> SourceLoader.java:330)
> [Service Control]       at
> org.jboss.util.ServiceMBeanSupport.start(ServiceMBean
> Support.java:93)
> [Service Control]       at java.lang.reflect.Method.invoke(Native Method)
> [Service Control]       at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
> rverImpl.java:1628)
> [Service Control]       at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
> rverImpl.java:1523)
> [Service Control]       at
> org.jboss.util.ServiceControl.start(ServiceControl.ja
> va:97)
> [Service Control]       at java.lang.reflect.Method.invoke(Native Method)
> [Service Control]       at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
> rverImpl.java:1628)
> [Service Control]       at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
> rverImpl.java:1523)
> [Service Control]       at org.jboss.Main.<init>(Main.java:203)
> [Service Control]       at org.jboss.Main$1.run(Main.java:107)
> [Service Control]       at
> java.security.AccessController.doPrivileged(Native Me
> thod)
> [Service Control]       at org.jboss.Main.main(Main.java:103)
> ......
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user




--__--__--

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


End of JBoss-user Digest


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to