RE: [JBoss-user] dbase is acting way to slow

2001-07-27 Thread Sacha Labourey

Hello,

This is most probably out of topic but, what happens if you try to ping
these hosts: localhost, acais, cassia (with these exact spelling and by not
using their IP addresses.)

Just to check that you do not have a resolver issue (as you say that your
lookups are also slow).

Cheers,


Sacha


-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de G.L. Grobe
Envoyé : vendredi, 27 juillet 2001 08:04
À : [EMAIL PROTECTED]
Objet : [JBoss-user] dbase is acting way to slow


Some new information.

My problem has been that my dbase queries are extremely slow, but they work.
A query through 10 records in a table w/ only 5 fields (extremely simple sql
stuff) takes 10-20 seconds. The lookup()'s to the datasource are also slow.
Upon run_with_tomcat.sh, I see the following output from jboss ... (I went
ahead and included all the output at the end of this post).
--
[JdbcProvider] Initializing
[JdbcProvider] Loaded JDBC-driver:org.postgresql.Driver
[JdbcProvider] Initialized
...
[PostgresqlDB] XA Connection pool PostgresqlDB bound to java:/PostgresqlDB


There are no errors or exceptions in my startup.

1. I pulled the PostgresqlDB mbean... resource (below) out of my
~/conf/tomcat/jboss.jcml file. I'm using the postgresql dbase. When I did
this, I got exactly the same behavior, but my queries were still working.

2. Then I pulled the DefaultDS out of the jboss.jcml, and it took just as
long, same behavior, except exceptions were being thrown and no data was
returned. Note that at this point there were no dbase resources in my
jboss.jcml.

3. Then the below resource (PostgresqlDB) was added back into the jboss.jcml
so that it was the only DB resource in jboss.jcml and I got the same
behavior as if (in step 2 above) there were no resources in the jboss.jcml.

Conclusion:
So my guess is that my current configuration is still not correct as I don't
think my PostgresqlDB mbean ... was/is ever being used (although, like the
above output, it seems to be accepted by jboss w/o problems) and long time
delays are because of it having to use the DefaultDS instead of the one I've
config'd it to use.

Any help much appreciated.

---
  mbean code=org.jboss.jdbc.XADataSourceLoader
name=DefaultDomain:service=XADataSource,name=PostgresqlDB
attribute name=PoolNamePostgresqlDB/attribute
attribute
name=DataSourceClassorg.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl/attr
ibute
attribute name=Properties/attribute
attribute name=URLjdbc:postgresql:acais:@localhost:5432/attribute
attribute name=GCMinIdleTime120/attribute
attribute name=JDBCUserbuild/attribute
attribute name=MaxSize10/attribute
attribute name=Passwordbuild/attribute
attribute name=GCEnabledfalse/attribute
attribute name=InvalidateOnErrorfalse/attribute
attribute name=TimestampUsedfalse/attribute
attribute name=Blockingtrue/attribute
attribute name=GCInterval12/attribute
attribute name=IdleTimeout180/attribute
attribute name=IdleTimeoutEnabledfalse/attribute
attribute name=LoggingEnabledfalse/attribute
attribute name=MaxIdleTimeoutPercent1.0/attribute
attribute name=MinSize0/attribute
  /mbean

Here is my 'run_with_tomcat.sh' jboss output. This output is from running
with the PostgresqlDB only resource in the jboss.jcml.

cassia(build):/u/public/JBoss-2.4.0_Tomcat-3.2.2/jboss/bin$
./run_with_tomcat.sh
JBOSS_CLASSPATH=:/u/public/jdk1.3/lib/tools.jar:run.jar:../lib/crimson.jar
jboss.home = /u/public/JBoss-2.4.0_Tomcat-3.2.2/jboss
Using JAAS LoginConfig:
file:/u/public/JBoss-2.4.0_Tomcat-3.2.2/jboss/conf/tomcat/auth.conf
Using configuration tomcat
[root] Started Log4jService,
config=file:/u/public/JBoss-2.4.0_Tomcat-3.2.2/jboss/conf/tomcat/log4j.prope
rties
[Info] Java version: 1.3.0,Sun Microsystems Inc.
[Info] Java VM: Java HotSpot(TM) Server VM 1.3.0,Sun Microsystems Inc.
[Info] System: Linux 2.4.4,i386
[Shutdown] Shutdown hook added
[Service Control] Initializing 26 MBeans
[WebService] Initializing
[WebService] Initialized
[NamingService] Initializing
[NamingService] Initialized
[JNDIView] Initializing
[JNDIView] Initialized
[TransactionManagerService] Initializing
[TransactionManagerService] Initialized
[ClientUserTransactionService] Initializing
[ClientUserTransactionService] Initialized
[JaasSecurityManagerService] Initializing
[JaasSecurityManagerService] Initialized
[JdbcProvider] Initializing
[JdbcProvider] Loaded JDBC-driver:org.postgresql.Driver
[JdbcProvider] Initialized
[XADataSourceLoader] Initializing
[XADataSourceLoader] Initialized
[ServerDataCollector] Initializing
[ServerDataCollector] Initialized
[ContainerFactory] Initializing
[ContainerFactory] Initialized
[EmbeddedTomcatServiceSX] Initializing
[EmbeddedTomcatServiceSX] Initialized
[JBossMQService] Initializing
[JBossMQService] Initialized
[JMSProviderLoader] Initializing
[Default] queue factory name: XAQueueConnectionFactory

Re: [JBoss-user] Classpaths

2001-07-27 Thread Alice Ad

thanks for the reply. yea, i was putting a lot of
things in my classpath and when i cleaned it up jboss
ran fine. but now (im running client on the same host)
i have to add classpaths for the client to pickup
initial context etc. so this time i again added all
jboss/client/*.jar on my classpath. it works fine but
im wondering if there's a way to compile/run client
w/o adding so many jars onto class paths. (as u said
addingg many classpaths can be a problem at a later
time)

thanks again!


--- David Jencks [EMAIL PROTECTED]
wrote:
 jboss as downloaded should start with empty
 classpath if you use
 run.sh/run.bat., or just run.jar if you want to
 start it some other way. 
 Usually putting things in the classpath breaks
 something else later. The
 jmx framework adds everything in jboss's lib/ext to
 the internal classpath.
 Are you doing this yet still having problems?  
 
 
 david jencks
 
 
 On 2001.07.26 18:21:53 -0400 Alice Ad wrote:
  Hi,
  
  Can anyone please tell me what classpaths to set
 for
  JBoss to start? Every time I do something new and
 try
  to start the server, some class files are not
 found
  and I have to spend quite a time to figure out
 what
  classpath to add.
  
  thanks a lot!
  
  __
  Do You Yahoo!?
  Make international calls for as low as $.04/minute
 with Yahoo! Messenger
  http://phonecard.yahoo.com/
  
  ___
  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


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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



RE: [JBoss-user] Jive Forums speed feed-back wanted

2001-07-27 Thread Dan - Blue Lotus Software

IIRC, you can give width suggestions to tables, which in turn causes
Netscape to render the tables without having to load the entire table first.
IE and Mozilla both have the ability to resize a table after it has been
drawn.  They use this to render a table when only part of the table has been
downloaded--they redraw the table as more data comes in (which, of course,
might change the width of cells already drawn).  Netscape is not so good
with this--it only draws a partial table if there are fixed widths for the
table.  Several products, including Adobe GoLive!, take this into account,
as they use the transparent 1-pixel image trick for layout.  The first
column and row of the table are 1 pixel high and 1 pixel wide, respectively.
This sets a fixed size for the table, and the resulting image renders
quickly on Netscape as well as IE and Mozilla.

This is all a vague memory from about 2 years ago.  If there's interest in
modifying the Jive HTML pages to take this into account, I can see if I can
dig up more information on this...

-dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tim Yates
Sent: Thursday, July 26, 2001 4:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Jive Forums speed feed-back wanted


Netscape does have _real_ problems rendering multiple tables, and tables
with many rows/columns

- Original Message -
From: Victor Langelo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 3:49 PM
Subject: Re: [JBoss-user] Jive Forums speed feed-back wanted


 Marc,

 I'm using Netscape Communicator 4.76 on a 330 MHz Window NT machine with a
high
 speed connection. Every topic list page takes about 5-6 seconds to
display. Even
 with only 15 topics in the list. Other pages take 2-3 seconds. I have
tried with
 IE and the pages draw much faster. However, I use Netscape because I
prefer the
 imap e-mail, newsreader and calendar. I won't be switching to IE anytime
soon.



___
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] Why can we deploy contents to Tomcat via jboss ?

2001-07-27 Thread Keiichiro Katayama

This is katayama.  Hello!

I'm using JBoss-2.2.2 + Tomcat-3.2.2.  I only deploy EAR files into 
jboss/deploy directory ,  so contents can be deployed to Tomcat.

Usual standalone Tomcat uses $TOMCAT_HOME/webapps directory for   
deployment , and Tomcat needs restart of himself for hotdeployment.

Why can we deploy contents to Tomcat via jboss?   And why can we use 
new servlet/JSP contents on Tomcat without restart of Tomcat?

I have tried to search the reason of this , so I found the directive  
in $TOMCAT_HOME/conf/server.xml as follows.

ContextInterceptor
className=org.jboss.tomcat.naming.JbossWebXmlReader /

Shall that class do the special works for tomcat?And if we use
tomcat in standalone , can we use hotdeploy like with jboss? 
I found in many documents that Tomcat needs restart for new contents  
deployment.  Is it correct?



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



Re: [JBoss-user] Custom Finders

2001-07-27 Thread laurent . broudoux



Hello,

Here's an example of a custom finder method (designed to run for MySql).
My entity bean has got 2 fields (among others) that are the project key (f_ad)
and the document type key (f_ae).

This finder returns all the documents for a project having a specific type.
(a document can be linked to many projects. They are referenced like this :
#projectkey_1#projectkey_2#  in the f_ad field. So, I use a LIKE statement)

Here's the declaration in jaws.xml

finder
  namefindByProjectAndTypeKeys/name
  queryf_ae = {1} AND f_ad LIKE %#{0}#%/query
  order/
/finder


Regards,

Laurent





Devraj Mukherjee [EMAIL PROTECTED]@lists.sourceforge.net on 27/07/2001 05:11:11

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To: [EMAIL PROTECTED]
cc:  (bcc: Laurent Broudoux/LME/PCC/PHILIPS)
Subject:  [JBoss-user] Custom Finders
Classification:



I am looking for an example where someone has used a custom finder.

Can any one of you give me snippets of your jaws.xml file to demonstrate
the use of custom finders.

thanks

devraj


___
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] using PortableRemoteObject.narrow

2001-07-27 Thread Toby Hede

I keep seeing code samples that use the followng syntaxt:

  Object ref = ctx.lookup(EJBHome.JNDI_NAME);   
  EJBHome home = (EJBHome) PortableRemoteObject.narrow(ref, EJBHome.class);

I also see other samples that use the following:

  EJBHome home Object ref = (EJBHome) ctx.lookup(EJBHome.JNDI_NAME);   

What is the correct format in JBoss (I have used the latter)

/t
Toby Hede













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



RE: [JBoss-user] SAP resource Adapter

2001-07-27 Thread van Husen, Thomas

hi paul,

i doubt whether the resource connector architecture already works for SAP or
whether we will see some spectacular things on this in the near future. 
We just connect through standard bapi technology to r/3. It works. Problem
however is the availability of a bapi. In case you need to access
information not availabe through a standard bapi you are on your own with
rfc. 


thomas

 o oLibra 
 o  o  o o o  o o o  o o o  Mannheim
 o  o  o o o  o  o o o  +49-621-41997-0
 o o o  o  o o o  o  o o o  +49-621-41997-30 



-Ursprüngliche Nachricht-
Von: Paul McLachlan [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 27. Juli 2001 03:07
An: [EMAIL PROTECTED]
Cc: Chris Pinfold; Glenn Dickson
Betreff: [JBoss-user] SAP resource Adapter


Hi All,

I need to connect JBoss to SAP(PM). So I need a Resource Adapter. 

There are a few companies listed at
http://java.sun.com/j2ee/connector/products.html but if anyone has waded
through the options I'd appreciate their help. Preferably one that
simply fits into JBossCX that I can just download and use. I don't mind
paying for it if I have to.

(also a jboss.jcml snippit would be nice).

Thanks,
Paul.

___
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



Re: [JBoss-user] dbase is acting way to slow

2001-07-27 Thread G.L. Grobe

The pings report back fine to localhost and cassia (the node w/ jboss and my
enterprise app), acais is just my context name to the webapp. Everything on
my network is normal in this respect.

I think the problem still lies somewheres in my configuration of the
DataSource's.

- Original Message -
From: Sacha Labourey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 1:22 AM
Subject: RE: [JBoss-user] dbase is acting way to slow


 Hello,

 This is most probably out of topic but, what happens if you try to ping
 these hosts: localhost, acais, cassia (with these exact spelling and by
not
 using their IP addresses.)

 Just to check that you do not have a resolver issue (as you say that your
 lookups are also slow).

 Cheers,


 Sacha


 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de G.L. Grobe
 Envoyé : vendredi, 27 juillet 2001 08:04
 À : [EMAIL PROTECTED]
 Objet : [JBoss-user] dbase is acting way to slow


 Some new information.

 My problem has been that my dbase queries are extremely slow, but they
work.
 A query through 10 records in a table w/ only 5 fields (extremely simple
sql
 stuff) takes 10-20 seconds. The lookup()'s to the datasource are also
slow.
 Upon run_with_tomcat.sh, I see the following output from jboss ... (I went
 ahead and included all the output at the end of this post).
 --
 [JdbcProvider] Initializing
 [JdbcProvider] Loaded JDBC-driver:org.postgresql.Driver
 [JdbcProvider] Initialized
 ...
 [PostgresqlDB] XA Connection pool PostgresqlDB bound to java:/PostgresqlDB


 There are no errors or exceptions in my startup.

 1. I pulled the PostgresqlDB mbean... resource (below) out of my
 ~/conf/tomcat/jboss.jcml file. I'm using the postgresql dbase. When I did
 this, I got exactly the same behavior, but my queries were still working.

 2. Then I pulled the DefaultDS out of the jboss.jcml, and it took just as
 long, same behavior, except exceptions were being thrown and no data was
 returned. Note that at this point there were no dbase resources in my
 jboss.jcml.

 3. Then the below resource (PostgresqlDB) was added back into the
jboss.jcml
 so that it was the only DB resource in jboss.jcml and I got the same
 behavior as if (in step 2 above) there were no resources in the
jboss.jcml.

 Conclusion:
 So my guess is that my current configuration is still not correct as I
don't
 think my PostgresqlDB mbean ... was/is ever being used (although, like
the
 above output, it seems to be accepted by jboss w/o problems) and long time
 delays are because of it having to use the DefaultDS instead of the one
I've
 config'd it to use.

 Any help much appreciated.

 ---
   mbean code=org.jboss.jdbc.XADataSourceLoader
 name=DefaultDomain:service=XADataSource,name=PostgresqlDB
 attribute name=PoolNamePostgresqlDB/attribute
 attribute

name=DataSourceClassorg.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl/attr
 ibute
 attribute name=Properties/attribute
 attribute
name=URLjdbc:postgresql:acais:@localhost:5432/attribute
 attribute name=GCMinIdleTime120/attribute
 attribute name=JDBCUserbuild/attribute
 attribute name=MaxSize10/attribute
 attribute name=Passwordbuild/attribute
 attribute name=GCEnabledfalse/attribute
 attribute name=InvalidateOnErrorfalse/attribute
 attribute name=TimestampUsedfalse/attribute
 attribute name=Blockingtrue/attribute
 attribute name=GCInterval12/attribute
 attribute name=IdleTimeout180/attribute
 attribute name=IdleTimeoutEnabledfalse/attribute
 attribute name=LoggingEnabledfalse/attribute
 attribute name=MaxIdleTimeoutPercent1.0/attribute
 attribute name=MinSize0/attribute
   /mbean

 Here is my 'run_with_tomcat.sh' jboss output. This output is from running
 with the PostgresqlDB only resource in the jboss.jcml.
 
 cassia(build):/u/public/JBoss-2.4.0_Tomcat-3.2.2/jboss/bin$
 ./run_with_tomcat.sh
 JBOSS_CLASSPATH=:/u/public/jdk1.3/lib/tools.jar:run.jar:../lib/crimson.jar
 jboss.home = /u/public/JBoss-2.4.0_Tomcat-3.2.2/jboss
 Using JAAS LoginConfig:
 file:/u/public/JBoss-2.4.0_Tomcat-3.2.2/jboss/conf/tomcat/auth.conf
 Using configuration tomcat
 [root] Started Log4jService,

config=file:/u/public/JBoss-2.4.0_Tomcat-3.2.2/jboss/conf/tomcat/log4j.prope
 rties
 [Info] Java version: 1.3.0,Sun Microsystems Inc.
 [Info] Java VM: Java HotSpot(TM) Server VM 1.3.0,Sun Microsystems Inc.
 [Info] System: Linux 2.4.4,i386
 [Shutdown] Shutdown hook added
 [Service Control] Initializing 26 MBeans
 [WebService] Initializing
 [WebService] Initialized
 [NamingService] Initializing
 [NamingService] Initialized
 [JNDIView] Initializing
 [JNDIView] Initialized
 [TransactionManagerService] Initializing
 [TransactionManagerService] Initialized
 [ClientUserTransactionService] Initializing
 [ClientUserTransactionService] Initialized
 [JaasSecurityManagerService] Initializing
 

RE: AW: AW: [JBoss-user] JBOSS-ZOAP: questions on its features

2001-07-27 Thread Jm Seigneur

Hello,

If I understand well, the JBoss/Zoap project isn't supported anymore and
the coming JBoss3.0 should include an Apache-SOAP component which will
replace JBoss/Zoap.

I'd like to know whether the JBoss/Zoap feature of no manual 
deployment of EJB SOAP counterparts will be still available.

Thanks,

Jm

From: Jung , Dr. Christoph [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]'
 [EMAIL PROTECTED]
Subject: AW: AW: [JBoss-user] JBOSS-ZOAP: questions on its features
Date: Thu, 26 Jul 2001 14:35:25 +0200
Reply-To: [EMAIL PROTECTED]

If I interpret the recent undertakings towards rabbit hole right,
Apache-SOAP is already used as a=20
JMXAdaptor ... and JMX will be the bus to do application invocations, =
too.

I=B4m just wondering how this is going to be integrated with
application-specific transformation=20
and mapping rules ... that was the major part of ZOAP and I do not see =
a
counterpart in the lightweight=20
JMX approach. =20

My submission for a replacement project to ZOAP based on Apache was
unfortunately ignored by the board.

CGJ


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



[JBoss-user] Tibco Rendezvous

2001-07-27 Thread Guido . Kracke


I switched from jBoss 2.2.2 to jBoss 2.4.0-beta and everything works
fine. Whether this is the result of code changes or of changes in the
default configuration ... I don't know.

Cheers,
Guido


[EMAIL PROTECTED] writes:
  Hi,
  
  I wrote an MBean (org.jboss.util.ServiceBMeanSupport) dedicated to
  accepting Tibco Rendezvous text messages and sending them to JMS. 
  
  Outside of jBoss the bean works perfectly alright (The main method
  calls the startService method and blocks). It connects to the
  Rendezvous daemon within parts of a second and receives all messages 
  send to the Rendezvous subject.
  
  As soon as you run the bean as a jBoss MBean it takes a couple of
  seconds to connect to the daemon and no Rendezvous message will be
  received. 
  
  Has anyone any idea what could be wrong? 
  
  Threading problems (the bean runs a dedicated thread to receive the
  Rendezvous messages)? 
  
  Security issues?
  
  
  Cheers,
  Guido



--
If you have received this e-mail in error or wish to read our e-mail 
disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender.
--

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



Re: [JBoss-user] Jive Forums speed feed-back wanted

2001-07-27 Thread Juha-P Lindfors



On Fri, 27 Jul 2001, Ole Husgaard wrote:
 Netscape 4.61???

Yep. Version 4.61 [en}-99147, win32 build to be exact.


 I use that, and cannot even see the left side
 navigation links on the front page of www.jboss.org,
 (big yellow blurb over the links) so I have not
 been able to navigate to the forum.

It renders the navigation links correctly for me. Better than the IE3 (!!)
that I use to read the forums now ;-)

 Did you use a direct link?

Nope.

-- Juha



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



RE: [JBoss-user] Jive Forums speed feed-back wanted

2001-07-27 Thread Juha-P Lindfors



On Fri, 27 Jul 2001, Dan - Blue Lotus Software wrote:

 This is all a vague memory from about 2 years ago.  If there's interest in
 modifying the Jive HTML pages to take this into account, I can see if I can
 dig up more information on this...

Yes please. I'm curious to know.

-- Juha


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



RE: [JBoss-user] Auto Incrementing Primary Key with PostgreSQL a nd JBoss

2001-07-27 Thread Federico Vesco

Hi.
Maybe someone might be interested to the solution I adopted:

private Integer insertRow (String projectName,int budget,java.sql.Date 
start,java.sql.Date end) throws SQLException {



  String nextStatement=select nextval('project_idproject_seq');
  String insertStatement =
insert into project 
(\projectName\,\budget\,\start\,\end\) values ( ? , ? , ? , ? );


  PreparedStatement nextStmt =
con.prepareStatement(nextStatement);
  PreparedStatement prepStmt =
con.prepareStatement(insertStatement);

  prepStmt.setString(1, projectName);
  prepStmt.setInt(2, budget);
  prepStmt.setDate(3, start);
  prepStmt.setDate(4, end);

  ResultSet rsn=nextStmt.executeQuery();
  rsn.next();
  int i=rsn.getInt(1);
  Integer result=new Integer(i);
  nextStmt.close(); // In this way I obtain the value of the 
auto-incrementing PK

  prepStmt.executeUpdate();
  prepStmt.close();



  if(result!=null)
  {  return result; }
  else { return null;}


   }


Rember that this solution works for PostgreSQL.

Federico

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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



[JBoss-user] Problem Activating beans

2001-07-27 Thread Nicolai P Guba

JAWS seems to have a problem I don't understand.  Suddenly, everything
seems broken!  Here is some output:

[Stakeholder] Activated bean Stakeholder with id = 826
[JAWS] Unable to read from ResultSet:
java.lang.reflect.InvocationTargetException
[Stakeholder] Activated bean Stakeholder with id = 20107
[JAWS] Unable to read from ResultSet:
java.lang.reflect.InvocationTargetException
[Stakeholder] Activated bean Stakeholder with id = 827
[JAWS] Unable to read from ResultSet:
java.lang.reflect.InvocationTargetException
[Stakeholder] Activated bean Stakeholder with id = 20108
[JAWS] Unable to read from ResultSet:
java.lang.reflect.InvocationTargetException
[Stakeholder] Activated bean Stakeholder with id = 828
[JAWS] Unable to read from ResultSet:
java.lang.reflect.InvocationTargetException

I have no idea what is going wrong here :(  

I'm using Jboss 2.2.2, CMP and PostgreSQL, IBM JDK1.3, Linux 2.4.6-xfs

--
  Nicolai P Gubahttp://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

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



Re: [JBoss-user] using PortableRemoteObject.narrow

2001-07-27 Thread Lachezar Dobrev

   Hi.
   For JBoss as with many app/ejb servers both are valid.
   However the second is not valid on some RMI-IIOP servers (IAS/BAS at
least).

   If you want speed and lower your portability use the second (no
PortableRemoteObject).
   If you want portability... Well... A narrow is needed to use the
stub/skeletons.
   That is also true for the JRMP protocol. Most of the protocols that
require stubs/skeletons/handlers/helpers/operations. These have to be
narrowed in order to receive a local interface implementation.

   Lachezar.

 I keep seeing code samples that use the followng syntaxt:

   Object ref = ctx.lookup(EJBHome.JNDI_NAME);
   EJBHome home = (EJBHome) PortableRemoteObject.narrow(ref,
EJBHome.class);

 I also see other samples that use the following:

   EJBHome home Object ref = (EJBHome) ctx.lookup(EJBHome.JNDI_NAME);

 What is the correct format in JBoss (I have used the latter)

 /t
 Toby Hede



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



Re: [JBoss-user] Auto Incrementing Primary Key with PostgreSQL a nd JBoss

2001-07-27 Thread Maurice le Rutte

Database independent way:
Create a sequence bean that has a name and a counter. The PK is the name,
and you can get a next value of the counter.

Maurice.

- Original Message -
From: Federico Vesco [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 10:27 AM
Subject: RE: [JBoss-user] Auto Incrementing Primary Key with PostgreSQL a nd
JBoss


 Hi.
 Maybe someone might be interested to the solution I adopted:
String nextStatement=select
nextval('project_idproject_seq');





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



RE: [JBoss-user] Auto Incrementing Primary Key with PostgreSQL a ndJBoss

2001-07-27 Thread Ludovic Orban


And how to perform this with CMP ?

Ludovic


--On vendredi 27 juillet 2001 10:27 +0200 Federico Vesco 
[EMAIL PROTECTED] wrote:

 Hi.
 Maybe someone might be interested to the solution I adopted:

 private Integer insertRow (String projectName,int budget,java.sql.Date
 start,java.sql.Date end) throws SQLException {



   String nextStatement=select nextval('project_idproject_seq');
   String insertStatement =
 insert into project
 (\projectName\,\budget\,\start\,\end\) values ( ?
 , ? , ? , ? );


   PreparedStatement nextStmt =
 con.prepareStatement(nextStatement);
   PreparedStatement prepStmt =
 con.prepareStatement(insertStatement);

   prepStmt.setString(1, projectName);
   prepStmt.setInt(2, budget);
   prepStmt.setDate(3, start);
   prepStmt.setDate(4, end);

   ResultSet rsn=nextStmt.executeQuery();
   rsn.next();
   int i=rsn.getInt(1);
   Integer result=new Integer(i);
   nextStmt.close(); // In this way I obtain the value of the
   auto-incrementing PK

   prepStmt.executeUpdate();
   prepStmt.close();



   if(result!=null)
   {  return result; }
   else { return null;}


}


 Rember that this solution works for PostgreSQL.

 Federico

 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


 ___
 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



RE: [JBoss-user] using PortableRemoteObject.narrow

2001-07-27 Thread Hanna Khamis

The first is necessary if you are using a protocol other than JRMP on the
wire.  JRMP is the default with JBoss, so the second form will work for you.
However, if you may be switching to another protocol (eg RMI-IIOP), you
should use the first.

Hanna Khamis


-Original Message-
From:   Toby Hede [mailto:[EMAIL PROTECTED]]
Sent:   Friday, July 27, 2001 07:59
To: [EMAIL PROTECTED]
Subject:[JBoss-user] using
PortableRemoteObject.narrow

I keep seeing code samples that use the followng syntaxt:

  Object ref = ctx.lookup(EJBHome.JNDI_NAME);   
  EJBHome home = (EJBHome) PortableRemoteObject.narrow(ref,
EJBHome.class);

I also see other samples that use the following:

  EJBHome home Object ref = (EJBHome)
ctx.lookup(EJBHome.JNDI_NAME);   

What is the correct format in JBoss (I have used the latter)

/t
Toby Hede













___
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



Re: [JBoss-user] Jive Forums speed feed-back wanted

2001-07-27 Thread jK.MkIII


marc fleury wrote:
could
it be a browser issue??? hm that needs to be more clearly documentedthreads
having new messages since your last visit is simply implemented on the
client by making the title include a number of posts asmy
post [2]this
way the browser will interpret it as a new link and will show the right
color (matt you listening?)marcf

At least for me (using IE 6.0) I do not see any difference between threads
that have new mesages since last visit.
All threads I have ever visited show as visited links, and only way
to see where are new messages is to see time of last post and not going
to do that.
--
 jK.MkIII




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


Re: [JBoss-user] Jive Forums speed feed-back wanted

2001-07-27 Thread jK.MkIII


Victor Langelo wrote:
Marc,
I'm using Netscape Communicator 4.76 on a 330 MHz Window NT machine
with a high
speed connection. Every topic list page takes about 5-6 seconds to
display. Even
with only 15 topics in the list. Other pages take 2-3 seconds. I have
tried with
IE and the pages draw much faster. However, I use Netscape because
I prefer the
imap e-mail, newsreader and calendar. I won't be switching to IE anytime
soon.
Do like me. I use Netscape to read my mail and news, but use IE to surf
the web. Take best parts of everything :)
--
 jK.MkIII




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


Re: [JBoss-user] Auto Incrementing Primary Key with PostgreSQL a nd JBoss

2001-07-27 Thread Hermann RANGAMANA

It works only if you decide to generate yourself auto-incr value. But what
folk are talking about is how to get a database generated auto-incr and map
it with your entity bean.

--hermann
- Original Message -
From: Maurice le Rutte [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 11:10 AM
Subject: Re: [JBoss-user] Auto Incrementing Primary Key with PostgreSQL a nd
JBoss


 Database independent way:
 Create a sequence bean that has a name and a counter. The PK is the name,
 and you can get a next value of the counter.

 Maurice.

 - Original Message -
 From: Federico Vesco [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, July 27, 2001 10:27 AM
 Subject: RE: [JBoss-user] Auto Incrementing Primary Key with PostgreSQL a
nd
 JBoss


  Hi.
  Maybe someone might be interested to the solution I adopted:
 String nextStatement=select
 nextval('project_idproject_seq');
 
 



 ___
 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



RE: [JBoss-user] Jive Forums speed feed-back wanted

2001-07-27 Thread marc fleury

Yes please,

The source for the JBoss LF is under website (look at index.jsp).  The jive
pages I guess you can get from www.jivesoftware.com.

marcf

|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Dan - Blue
|Lotus Software
|Sent: Friday, July 27, 2001 2:37 AM
|To: [EMAIL PROTECTED]
|Subject: RE: [JBoss-user] Jive Forums speed feed-back wanted
|
|
|IIRC, you can give width suggestions to tables, which in turn causes
|Netscape to render the tables without having to load the entire
|table first.
|IE and Mozilla both have the ability to resize a table after it has been
|drawn.  They use this to render a table when only part of the
|table has been
|downloaded--they redraw the table as more data comes in (which, of course,
|might change the width of cells already drawn).  Netscape is not so good
|with this--it only draws a partial table if there are fixed widths for the
|table.  Several products, including Adobe GoLive!, take this into account,
|as they use the transparent 1-pixel image trick for layout.  The first
|column and row of the table are 1 pixel high and 1 pixel wide,
|respectively.
|This sets a fixed size for the table, and the resulting image renders
|quickly on Netscape as well as IE and Mozilla.
|
|This is all a vague memory from about 2 years ago.  If there's interest in
|modifying the Jive HTML pages to take this into account, I can see if I can
|dig up more information on this...
|
|-dan
|
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Tim Yates
|Sent: Thursday, July 26, 2001 4:00 PM
|To: [EMAIL PROTECTED]
|Subject: Re: [JBoss-user] Jive Forums speed feed-back wanted
|
|
|Netscape does have _real_ problems rendering multiple tables, and tables
|with many rows/columns
|
|- Original Message -
|From: Victor Langelo [EMAIL PROTECTED]
|To: [EMAIL PROTECTED]
|Sent: Thursday, July 26, 2001 3:49 PM
|Subject: Re: [JBoss-user] Jive Forums speed feed-back wanted
|
|
| Marc,
|
| I'm using Netscape Communicator 4.76 on a 330 MHz Window NT
|machine with a
|high
| speed connection. Every topic list page takes about 5-6 seconds to
|display. Even
| with only 15 topics in the list. Other pages take 2-3 seconds. I have
|tried with
| IE and the pages draw much faster. However, I use Netscape because I
|prefer the
| imap e-mail, newsreader and calendar. I won't be switching to IE anytime
|soon.
|
|
|
|___
|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



RE: [JBoss-user] Jive Forums speed feed-back wanted

2001-07-27 Thread marc fleury

|P.S: Do you _really_ mean to shut down the jboss-user
|list?

if and when the nntp gateway is there yes, in the mean time no, I can't say
I am too crazy about the forum stuff.  It is good, when it works it works
well, but it doesn't cover all our needs, by far.


marcf

|
|___
|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] Jestpeed - A Horrible Exception - NewbeeQ

2001-07-27 Thread Sigurður Reynisson

Hi all!

I posted this in the Jetspeed group and got no answers and I'm posting
here as a last try - pls forgive me if this is not related to JBoss! ;)

Specs:
JBoss 2.4 BETA(Rel_2_4_0_23) w/Embedded Tomcat-3.2.3
Jetspeed Portal Implementation 1.3a2 (builds ok)

I'm trying to use Postgresql DB for Jetspeed, I've put the following in my
TurbineResources.properties:

database.default.driver=org.postgresql.Driver
database.default.url=jdbc:postgresql://10.10.10.5:5432/TST
database.default.username=dba
database.default.password=dba
...
database.adaptor=DBPostgres
database.adaptor.DBPostgres=org.hsql.jdbcDriver

I then run build and start JBoss with the new jetspeed.war and I get from
JBoss:

[AutoDeployer] Auto deploy of
file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/jetspeed.war
[J2EE Deployer Default] Deploy J2EE application:
file:/usr/java/JBoss-2.4.0_Tomcat-  3.2.3/jboss/deploy/jetspeed.war
[J2EE Deployer Default] Create application jetspeed.war
[J2EE Deployer Default] inflate and install module jetspeed.war
[Container factory] Deploying:file:/usr/java/JBoss-2.4.0_Tomcat-
3.2.3/jboss/tmp/deploy/Default/jetspeed.war
[Default] Added ClassLoader: org.jboss.web.WebClassLoader@ec10c6
URL:http://tom.zoom.is:8083/WebClassLoader@15470790/
[Container factory] Deployed application:
file:/usr/java/JBoss-2.4.0_Tomcat-
3.2.3/jboss/tmp/deploy/Default/jetspeed.war
[J2EE Deployer Default] Starting module jetspeed.war
[EmbeddedTomcatSX] deploy, ctxPath=/jetspeed,
warUrl=file:/usr/java/JBoss-2.4.0_Tomcat-
3.2.3/jboss/tmp/deploy/Default/jetspeed.war/web1004/
[J2EE Deployer Default] J2EE application:
file:/usr/java/JBoss-2.4.0_Tomcat-  3.2.3/jboss/deploy/jetspeed.war is
deployed.

I then goto my browser's http://tom.zoom.is:8080/jetspeed/index.jsp and get:

Horrible Exception:
org.apache.velocity.exception.ResourceNotFoundException: 
Unable to find resource 'screens/Error'
...SNIP...

The full Exception is included in the Horrible Exception.txt file. I also
included an updated verion of the turbine-postgres.sql file, this one runs
without any errors, at least on my postgresql install ;)

I don't even see the index page. Just the Exception.

Also, right after the jetspeed deployment message from JBoss, I get:

[AutoDeployer] Auto deploy of
file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/lib/jbosspool-
jdbc.rar
[RARDeployer] Attempting to deploy RAR at
'file:/usr/java/JBoss-2.4.0_Tomcat-
3.2.3/jboss/deploy/lib/jbosspool-jdbc.rar'
[RARDeployer] Loading Minerva Resource Adapter for JDBC 1/2 drivers
[RARDeployer] Required license terms present. See deployment
descriptor.
[MinervaDS] Not setting config property 'Driver'
[MinervaDS] Not setting config property 'Password'
[MinervaDS] Not setting config property 'UserName'
[MinervaDS] Bound connection factory for resource adapter 'Minerva
JDBC LocalTransaction   ResourceAdapter' to JNDI name 'java:/MinervaDS'
[AutoDeployer] Auto deploy of
file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/lib/jms-ra.rar
[RARDeployer] Attempting to deploy RAR at
'file:/usr/java/JBoss-2.4.0_Tomcat- 3.2.3/jboss/deploy/lib/jms-ra.rar'
[JmsXA] Using default value 'java:DefaultJMSProvider' for config
property 'JmsProviderAdapterJNDI'
[JmsXA] FINE: Setting LogWriter:
org.jboss.logging.LogWriter@1ed0d0c6
[JmsXA] Bound connection factory for resource adapter 'JMS Adapter'
to JNDI name 'java:/JmsXA'

Is this in any way related to my troubles? Esp. the message about not
setting config property for Driver, Password and Username. I am using the CD
example in JBoss with PostgreSQL and it works fine.

Any ideas and/or help welcome - TIA!
--
Sigurdur Reynisson
[EMAIL PROTECTED]



Horrible Exception: org.apache.velocity.exception.ResourceNotFoundException: Unable to 
find resource 'screens/Error'
at 
org.apache.velocity.exception.VelocityException.init(VelocityException.java)
at 
org.apache.velocity.exception.ResourceNotFoundException.init(ResourceNotFoundException.java)
at 
org.apache.velocity.runtime.resource.ResourceManager.getResource(ResourceManager.java)
at org.apache.velocity.runtime.Runtime.getTemplate(Runtime.java)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java)
rethrown as org.apache.turbine.util.TurbineException: Error rendering Velocity 
template: screens/Error: Unable to find resource 'screens/Error'
at org.apache.turbine.util.TurbineException.init(TurbineException.java:177)
at 
org.apache.turbine.services.velocity.TurbineVelocityService.renderingError(TurbineVelocityService.java:392)
rethrown as org.apache.turbine.util.TurbineException: Error rendering Velocity 
template: screens/Error: Error rendering Velocity template: 

Re: [JBoss-user] Auto Incrementing Primary Key with PostgreSQL a ndJBoss

2001-07-27 Thread Ludovic Orban


How would you choose the next key manually ?

I mean: if the field was just an integer (not auto-incr), how would you get 
the value of the next primary key ?

Ludovic


--On vendredi 27 juillet 2001 11:47 +0200 Hermann RANGAMANA 
[EMAIL PROTECTED] wrote:

 It works only if you decide to generate yourself auto-incr value. But what
 folk are talking about is how to get a database generated auto-incr and
 map it with your entity bean.


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



Re: [JBoss-user] Jestpeed - A Horrible Exception - NewbeeQ

2001-07-27 Thread David Jencks

I've never heard of jetspeed before and don't know what turbine does but...

database.adaptor.DBPostgres=org.hsql.jdbcDriver
looks peculiar, since (I believe) this is the Hypersonic driver.

david jencks


On 2001.07.27 06:14:27 -0400 Sigurður Reynisson wrote:
 Hi all!
 
 I posted this in the Jetspeed group and got no answers and I'm posting
 here as a last try - pls forgive me if this is not related to JBoss! ;)
 
 Specs:
   JBoss 2.4 BETA(Rel_2_4_0_23) w/Embedded Tomcat-3.2.3
   Jetspeed Portal Implementation 1.3a2 (builds ok)
 
 I'm trying to use Postgresql DB for Jetspeed, I've put the following in
 my
 TurbineResources.properties:
 
   database.default.driver=org.postgresql.Driver
   database.default.url=jdbc:postgresql://10.10.10.5:5432/TST
   database.default.username=dba
   database.default.password=dba
   ...
   database.adaptor=DBPostgres
   database.adaptor.DBPostgres=org.hsql.jdbcDriver
 
 I then run build and start JBoss with the new jetspeed.war and I get from
 JBoss:
 
   [AutoDeployer] Auto deploy of
 file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/jetspeed.war
   [J2EE Deployer Default] Deploy J2EE application:
 file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/jetspeed.war
   [J2EE Deployer Default] Create application jetspeed.war
   [J2EE Deployer Default] inflate and install module jetspeed.war
   [Container factory] Deploying:file:/usr/java/JBoss-2.4.0_Tomcat-
 3.2.3/jboss/tmp/deploy/Default/jetspeed.war
   [Default] Added ClassLoader: org.jboss.web.WebClassLoader@ec10c6
 URL:  http://tom.zoom.is:8083/WebClassLoader@15470790/
   [Container factory] Deployed application:
 file:/usr/java/JBoss-2.4.0_Tomcat-
 3.2.3/jboss/tmp/deploy/Default/jetspeed.war
   [J2EE Deployer Default] Starting module jetspeed.war
   [EmbeddedTomcatSX] deploy, ctxPath=/jetspeed,
 warUrl=file:/usr/java/JBoss-2.4.0_Tomcat-
 3.2.3/jboss/tmp/deploy/Default/jetspeed.war/web1004/
   [J2EE Deployer Default] J2EE application:
 file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/jetspeed.war
 is
 deployed.
 
 I then goto my browser's http://tom.zoom.is:8080/jetspeed/index.jsp and
 get:
 
   Horrible Exception:
 org.apache.velocity.exception.ResourceNotFoundException: 
   Unable to find resource 'screens/Error'
   ...SNIP...
 
 The full Exception is included in the Horrible Exception.txt file. I also
 included an updated verion of the turbine-postgres.sql file, this one
 runs
 without any errors, at least on my postgresql install ;)
 
 I don't even see the index page. Just the Exception.
 
 Also, right after the jetspeed deployment message from JBoss, I get:
 
   [AutoDeployer] Auto deploy of
 file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/lib/jbosspool-
 jdbc.rar
   [RARDeployer] Attempting to deploy RAR at
 'file:/usr/java/JBoss-2.4.0_Tomcat-
 3.2.3/jboss/deploy/lib/jbosspool-jdbc.rar'
   [RARDeployer] Loading Minerva Resource Adapter for JDBC 1/2
 drivers
   [RARDeployer] Required license terms present. See deployment
 descriptor.
   [MinervaDS] Not setting config property 'Driver'
   [MinervaDS] Not setting config property 'Password'
   [MinervaDS] Not setting config property 'UserName'
   [MinervaDS] Bound connection factory for resource adapter
 'Minerva
 JDBC LocalTransaction ResourceAdapter' to JNDI name
 'java:/MinervaDS'
   [AutoDeployer] Auto deploy of
 file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/lib/jms-ra.rar
   [RARDeployer] Attempting to deploy RAR at
 'file:/usr/java/JBoss-2.4.0_Tomcat-   3.2.3/jboss/deploy/lib/jms-ra.rar'
   [JmsXA] Using default value 'java:DefaultJMSProvider' for config
 property 'JmsProviderAdapterJNDI'
   [JmsXA] FINE: Setting LogWriter:
 org.jboss.logging.LogWriter@1ed0d0c6
   [JmsXA] Bound connection factory for resource adapter 'JMS
 Adapter'
 to JNDI name 'java:/JmsXA'
 
 Is this in any way related to my troubles? Esp. the message about not
 setting config property for Driver, Password and Username. I am using the
 CD
 example in JBoss with PostgreSQL and it works fine.
 
 Any ideas and/or help welcome - TIA!
 --
 Sigurdur Reynisson
 [EMAIL PROTECTED]
 
 
 Horrible Exception: org.apache.velocity.exception.ResourceNotFoundException:
 Unable to find resource 'screens/Error'
   at 
org.apache.velocity.exception.VelocityException.init(VelocityException.java)
   at 
org.apache.velocity.exception.ResourceNotFoundException.init(ResourceNotFoundException.java)
   at 
org.apache.velocity.runtime.resource.ResourceManager.getResource(ResourceManager.java)
   at org.apache.velocity.runtime.Runtime.getTemplate(Runtime.java)
   at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java)
 rethrown as org.apache.turbine.util.TurbineException: Error rendering
 Velocity template: screens/Error: Unable to find resource 'screens/Error'
   at 

Re: [JBoss-user] Classpaths

2001-07-27 Thread David Jencks

I think starting your client from a script where you set exactly the
classpath you need (ignoring the gloabal classpath) is a good idea, rather
than relying on the global classpath.  Maybe theres a better way...?

david jencks

On 2001.07.27 02:33:30 -0400 Alice Ad wrote:
 thanks for the reply. yea, i was putting a lot of
 things in my classpath and when i cleaned it up jboss
 ran fine. but now (im running client on the same host)
 i have to add classpaths for the client to pickup
 initial context etc. so this time i again added all
 jboss/client/*.jar on my classpath. it works fine but
 im wondering if there's a way to compile/run client
 w/o adding so many jars onto class paths. (as u said
 addingg many classpaths can be a problem at a later
 time)
 
 thanks again!
 
 
 --- David Jencks [EMAIL PROTECTED]
 wrote:
  jboss as downloaded should start with empty
  classpath if you use
  run.sh/run.bat., or just run.jar if you want to
  start it some other way. 
  Usually putting things in the classpath breaks
  something else later. The
  jmx framework adds everything in jboss's lib/ext to
  the internal classpath.
  Are you doing this yet still having problems?  
  
  
  david jencks
  
  
  On 2001.07.26 18:21:53 -0400 Alice Ad wrote:
   Hi,
   
   Can anyone please tell me what classpaths to set
  for
   JBoss to start? Every time I do something new and
  try
   to start the server, some class files are not
  found
   and I have to spend quite a time to figure out
  what
   classpath to add.
   
   thanks a lot!
   
   __
   Do You Yahoo!?
   Make international calls for as low as $.04/minute
  with Yahoo! Messenger
   http://phonecard.yahoo.com/
   
   ___
   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
 
 
 __
 Do You Yahoo!?
 Make international calls for as low as $.04/minute with Yahoo! Messenger
 http://phonecard.yahoo.com/
 
 ___
 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



Re: [JBoss-user] Problem with connecting to an Oracle database

2001-07-27 Thread Tim Yates

try

DataSource ds = (javax.sql.DataSource)
initCtx.lookup(java:/OracleDB);

- Original Message -
From: Eli Gjørven [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 23, 2001 11:00 AM
Subject: [JBoss-user] Problem with connecting to an Oracle database



 There is probably a solution to this problem to be found in the archives
 at sourceforge, but the search service has unfortunately not been
 available when I have tried to use it.

 I used to have this in my jboss.jcml file:

   mbean code=org.jboss.jdbc.HypersonicDatabase
  name=DefaultDomain:service=Hypersonic
 attribute name=Port1476/attribute
 attribute name=Silenttrue/attribute
 attribute name=Databasedefault/attribute
 attribute name=Tracefalse/attribute
   /mbean

   mbean code=org.jboss.jdbc.XADataSourceLoader
  name=DefaultDomain:service=XADataSource,name=DefaultDS
 attribute name=PoolNameDefaultDS/attribute
 attribute
  name=URLjdbc:HypersonicSQL:hsql://localhost:1476/attribute
 .
 .
   /mbean

   mbean code=org.jboss.jdbc.XADataSourceLoader
  name=DefaultDomain:service=XADataSource,name=OracleDB
  attribute name=PoolNameOracleDB/attribute
  attribute name=DataSourceClass
  org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl/attribute
  attribute name=URL
  jdbc:oracle:thin:@myhost:1521:mydatabase/attribute
  attribute name=JDBCUsermyuser/attribute
  attribute name=Passwordmypasswd/attribute
  attribute name=MaxSize10/attribute
   /mbean

 I tried to lookup Oracle from an EJB with this call:

 DataSource ds = (javax.sql.DataSource)
 initCtx.lookup(java:comp/env/OracleDB);

 and got a connection to Hypersonic (and no exceptions). Why?

 When i removed the two upper xml parts, i got the following error message
 when starting JBoss:

 [Container factory] Deploying mybean
 [Container factory] No resource manager found for OracleDB

 I have found no documentation on the upper xml part about Hypersonic. It
 seems like it have to be there, do I have to change it to make this work?
 What else is missing? I am quite new to JBoss, so I guess there might be
 an obvious reason why this does not work.

 --
 Eli.



 ___
 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



AW: AW: AW: [JBoss-user] JBOSS-ZOAP: questions on its features

2001-07-27 Thread Jung , Dr. Christoph



-Ursprüngliche Nachricht-
Von: Jm Seigneur [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 27. Juli 2001 09:23
An: [EMAIL PROTECTED]
Betreff: RE: AW: AW: [JBoss-user] JBOSS-ZOAP: questions on its features


Hello,

If I understand well, the JBoss/Zoap project isn't supported anymore and
the coming JBoss3.0 should include an Apache-SOAP component which will
replace JBoss/Zoap.

I'd like to know whether the JBoss/Zoap feature of no manual 
deployment of EJB SOAP counterparts will be still available.

... there may be some pragmatic adaptor which can be used in that sense,
yes. But I doubt whether 
it will then cover any advanced mappings/encodings, not to speak of
application specific
ones that come with the deployed ears.

CGJ


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



RE: [JBoss-user] Jestpeed - A Horrible Exception - NewbeeQ

2001-07-27 Thread Sigurður Reynisson

It sure is! ;) However, after replacing it with org.postgresql.Driver,
I still get:
Horrible Exception: org.apache.velocity.exception.ResourceNotFoundException:

Unable to find resource 'screens/Error'
--
sr


-Original Message-
From: David Jencks [mailto:[EMAIL PROTECTED]] 
Sent: 27. júlí 2001 12:14
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Jestpeed - A Horrible Exception - NewbeeQ


I've never heard of jetspeed before and don't know what turbine does but...

database.adaptor.DBPostgres=org.hsql.jdbcDriver
looks peculiar, since (I believe) this is the Hypersonic driver.

david jencks


On 2001.07.27 06:14:27 -0400 Sigurður Reynisson wrote:
 Hi all!
 
 I posted this in the Jetspeed group and got no answers and I'm posting 
 here as a last try - pls forgive me if this is not related to JBoss! 
 ;)
 
 Specs:
   JBoss 2.4 BETA(Rel_2_4_0_23) w/Embedded Tomcat-3.2.3
   Jetspeed Portal Implementation 1.3a2 (builds ok)
 
 I'm trying to use Postgresql DB for Jetspeed, I've put the following 
 in my
 TurbineResources.properties:
 
   database.default.driver=org.postgresql.Driver
   database.default.url=jdbc:postgresql://10.10.10.5:5432/TST
   database.default.username=dba
   database.default.password=dba
   ...
   database.adaptor=DBPostgres
   database.adaptor.DBPostgres=org.hsql.jdbcDriver
 
 I then run build and start JBoss with the new jetspeed.war and I get 
 from
 JBoss:
 
   [AutoDeployer] Auto deploy of 
 file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/jetspeed.war
   [J2EE Deployer Default] Deploy J2EE application:
 file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/jetspeed.war
   [J2EE Deployer Default] Create application jetspeed.war
   [J2EE Deployer Default] inflate and install module jetspeed.war
   [Container factory] Deploying:file:/usr/java/JBoss-2.4.0_Tomcat-
 3.2.3/jboss/tmp/deploy/Default/jetspeed.war
   [Default] Added ClassLoader: org.jboss.web.WebClassLoader@ec10c6
 URL:  http://tom.zoom.is:8083/WebClassLoader@15470790/
   [Container factory] Deployed application:
 file:/usr/java/JBoss-2.4.0_Tomcat-
 3.2.3/jboss/tmp/deploy/Default/jetspeed.war
   [J2EE Deployer Default] Starting module jetspeed.war
   [EmbeddedTomcatSX] deploy, ctxPath=/jetspeed,
 warUrl=file:/usr/java/JBoss-2.4.0_Tomcat-
 3.2.3/jboss/tmp/deploy/Default/jetspeed.war/web1004/
   [J2EE Deployer Default] J2EE application:
 file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/jetspeed.war
 is
 deployed.
 
 I then goto my browser's http://tom.zoom.is:8080/jetspeed/index.jsp 
 and
 get:
 
   Horrible Exception:
 org.apache.velocity.exception.ResourceNotFoundException: 
   Unable to find resource 'screens/Error'
   ...SNIP...
 
 The full Exception is included in the Horrible Exception.txt file. I 
 also included an updated verion of the turbine-postgres.sql file, this 
 one runs without any errors, at least on my postgresql install ;)
 
 I don't even see the index page. Just the Exception.
 
 Also, right after the jetspeed deployment message from JBoss, I get:
 
   [AutoDeployer] Auto deploy of
 file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/lib/jbosspool-
 jdbc.rar
   [RARDeployer] Attempting to deploy RAR at
 'file:/usr/java/JBoss-2.4.0_Tomcat-
 3.2.3/jboss/deploy/lib/jbosspool-jdbc.rar'
   [RARDeployer] Loading Minerva Resource Adapter for JDBC 1/2 drivers
   [RARDeployer] Required license terms present. See deployment
 descriptor.
   [MinervaDS] Not setting config property 'Driver'
   [MinervaDS] Not setting config property 'Password'
   [MinervaDS] Not setting config property 'UserName'
   [MinervaDS] Bound connection factory for resource adapter
 'Minerva
 JDBC LocalTransaction ResourceAdapter' to JNDI name
 'java:/MinervaDS'
   [AutoDeployer] Auto deploy of
 file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/lib/jms-ra.rar
   [RARDeployer] Attempting to deploy RAR at
 'file:/usr/java/JBoss-2.4.0_Tomcat-   3.2.3/jboss/deploy/lib/jms-ra.rar'
   [JmsXA] Using default value 'java:DefaultJMSProvider' for config
 property 'JmsProviderAdapterJNDI'
   [JmsXA] FINE: Setting LogWriter:
 org.jboss.logging.LogWriter@1ed0d0c6
   [JmsXA] Bound connection factory for resource adapter 'JMS
 Adapter'
 to JNDI name 'java:/JmsXA'
 
 Is this in any way related to my troubles? Esp. the message about not 
 setting config property for Driver, Password and Username. I am using 
 the CD example in JBoss with PostgreSQL and it works fine.
 
 Any ideas and/or help welcome - TIA!
 --
 Sigurdur Reynisson
 [EMAIL PROTECTED]
 
 
 Horrible Exception: 
 org.apache.velocity.exception.ResourceNotFoundException:
 Unable to find resource 'screens/Error'
   at
org.apache.velocity.exception.VelocityException.init(VelocityException.jav
a)
   at
org.apache.velocity.exception.ResourceNotFoundException.init(ResourceNotFo
undException.java)
   at

Re: [JBoss-user] Force create of table after manual drop?

2001-07-27 Thread Nicolai P Guba

On 26 Jul 2001 19:45:41 -0700, David M. Karr wrote:
  Nicolai == Nicolai P Guba Nicolai writes:

 My situation is less complicated than that.  I just changed the default
 standardjaws.xml to use mySQL instead of Hypersonic, then I created my project.
 I didn't change any type mappings.  When I deployed the jar initially, it
 worked fine.  It created the table, and I was able to run methods to create
 rows, delete rows, list rows, etcetera.  I then decided I wanted to try
 something absurd and drop the table.  Now, I can't seem to convince it that the
 table needs to be recreated.

I'm not sure it is a good idea manually manipulating a database where a
EJB server is running on top of it...  However, on tests I've dropped
tables and databases many times and they were always re-created.
Hm

My real problem is with JAWS right now.  I've done imports of recrords
larger than 20k rows and suddenly JAWS couln't read the ResultSet any
more.  I am a bit perplexed and have ABSOLUTELY no clue what is going
on.  (See my JAWS problem posting).  I am thinking going live in three
weeks time.  If I cannot get over this hurdle rather soon then I cannot
use JBoss for deployment.  I wish I had your problem :)


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

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



[JBoss-user] Message Driven Bean not picking up messages after restart.

2001-07-27 Thread Cameron Tabor

Hello,
   I have been using Jboss for Message Driven Beans and have run into a
problem with the latest version of the jboss2.4 BETA.  When I shutdown the
server while it is processing messages from the queue, then restart, the
messages appear to be reloaded, but the beans never process them.  New
messages continue to be processed normally.  This used to work in jboss2.2.x
Thanks in advance for any help with this.

   -Cameron Tabor


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



[JBoss-user] InterestServlet example questions

2001-07-27 Thread Martin Welch
Title: InterestServlet example questions





Hi,


I've finally, finally got this servlet example to work, sort of.


If I change this line:


 Object ref = jndiContext.lookup(java:comp/env/ejb/Interest);


to


 Object ref = jndiContext.lookup(interest/Interest);


it works. If I run the original line I get:


javax.servlet.ServletException: Failed to lookup java:comp/env/ejb/Interest
 at org.jboss.docs.interest.InterestServlet.init(InterestServlet.java:46)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
.
.
.


Root cause: 
javax.naming.NameNotFoundException: env not bound
 at org.jnp.server.NamingServer.getBinding(NamingServer.java:473)
 at org.jnp.server.NamingServer.getBinding(NamingServer.java:481)


.
.
.


Is this a bug in the servlet since it doesn't match up to the entry in jboss.xml?


Thanks,


Martin





Re: [JBoss-user] java.io.NotSerializableException need help

2001-07-27 Thread yan fan

Yes , it did.
--- Dmitri Colebatch [EMAIL PROTECTED] wrote:
 Does com.arcsight.vssreport.VssReportItem implement
 java.io.Serializable?  It needs to.
 
 cheesr
 dim
 
 On Thu, 26 Jul 2001, yan fan wrote:
 
  I am runing jbosstomcat , with servlet , BMP, and
  when I try to get a ArrayList(which inside is the
  VssReportItem object hold some properties) in BMP,
 I
  get the exception :(please give me some hints, Thx
 a
  lot)
  
  [VssReportB] java.io.NotSerializableException:
  com.arcsight.vssreport.VssReportItem
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]

http://lists.sourceforge.net/lists/listinfo/jboss-user


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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



[JBoss-user] Stateful Session Bean declaration

2001-07-27 Thread Anthony IVETAC

I'm stuck.

I can't figure out how to correctly declare a statfeul session bean in the 
ejb-jar.xml file!!!

The bean works, except it's attributes aren't being stored in between method 
invocations.

Does anyone have a snippet of EJB-JAR.xml for a stateful session bean, please? 

BTW - where are stateful session beans passivated to, the default datasource?


Thanks very much!


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



Re: [JBoss-user] InterestServlet example questions

2001-07-27 Thread David Ward

Martin,

Try adding a jboss-web.xml in your war's WEB-INF directory with the 
following contents:

?xml version=1.0?
jboss-web
ejb-ref
ejb-ref-nameejb/Interest/ejb-ref-name
jndi-nameinterest/Interest/jndi-name
/ejb-ref
/jboss-web

You should then be able to use the java:comp/env/ejb/Interest jndi 
name in your servlet.  I've never tried to run the Interest example, but 
this has worked for me in other stuff...

Hope this helps,
David

--

Martin Welch wrote:

 Hi,
 
 I've finally, finally got this servlet example to work, sort of.
 
 If I change this line:
 
  Object ref  = jndiContext.lookup(java:comp/env/ejb/Interest);
 
 to
 
  Object ref  = jndiContext.lookup(interest/Interest);
 
 it works. If I run the original line I get:
 
 javax.servlet.ServletException: Failed to lookup java:comp/env/ejb/Interest
 at 
 org.jboss.docs.interest.InterestServlet.init(InterestServlet.java:46)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 .
 .
 .
 
 Root cause:
 javax.naming.NameNotFoundException: env not bound
 at org.jnp.server.NamingServer.getBinding(NamingServer.java:473)
 at org.jnp.server.NamingServer.getBinding(NamingServer.java:481)
 
 .
 .
 .
 
 Is this a bug in the servlet since it doesn't match up to the entry in 
 jboss.xml?
 
 Thanks,
 
 Martin
 




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



Re: [JBoss-user] InterestServlet example questions

2001-07-27 Thread A.L.

Martin,
   Where did you change this information?  Also could
you explain to me why you say you only sort of got it
to work?  What exactly is this change doing? 
Thanks,
  -Amos
--- Martin Welch [EMAIL PROTECTED] wrote:
 Hi,
 
 I've finally, finally got this servlet example to
 work, sort of.
 
 If I change this line:
 
  Object ref  =
 jndiContext.lookup(java:comp/env/ejb/Interest);
 
 to
 
  Object ref  =
 jndiContext.lookup(interest/Interest);
 
 it works. If I run the original line I get:
 
 javax.servlet.ServletException: Failed to lookup
 java:comp/env/ejb/Interest
   at

org.jboss.docs.interest.InterestServlet.init(InterestServlet.java:46)
   at

javax.servlet.GenericServlet.init(GenericServlet.java:258)
 .
 .
 .
 
 Root cause: 
 javax.naming.NameNotFoundException: env not bound
   at

org.jnp.server.NamingServer.getBinding(NamingServer.java:473)
   at

org.jnp.server.NamingServer.getBinding(NamingServer.java:481)
 
 .
 .
 .
 
 Is this a bug in the servlet since it doesn't match
 up to the entry in
 jboss.xml?
 
 Thanks,
 
 Martin
 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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



[JBoss-user] JSP PreCompilation

2001-07-27 Thread Tahir Awan

Hi,
 
Any idea if its possible topreCompile JSPs bundled in .war file? I could not
find anything on jakarta.org about this.
 
Thanks,
Tahir

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



[JBoss-user] Classes not being searched in WebApp

2001-07-27 Thread Jake Thompson

Hi all.

When I deploy an ear, the beans deploy and the webapp deploys.  However it
seems that the webapp is not searching the WEB-INF/classes directory.  When
I was deploying this not using jboss, it seemed to work fine.

Has anyone experinced this?  Any help is much appreciated.

Thanks,
Jake T.

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



RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread Daniel Cardin

[from the web page]
Microfiber Cap  
$18.99
Sale Price $16.99!  
JBoss  

Have a look at the rendering :) the 8 being --crossed-- it really LOOKS
like the regular price is 10.99 and that it is being offered at the very
special price of 16.99$ 

heheh I'd do something about this :)

Dan

-Message d'origine-
De : marc fleury [mailto:[EMAIL PROTECTED]]
Envoyé : 27 juillet, 2001 15:17 
À : [EMAIL PROTECTED]; Jboss-User@Lists.
Sourceforge. Net
Objet : [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!


you get it, we get money

money money money, it is important and we need it to fight this war.

it will be on the website soon but for those that can read cvs logs you
can
go there and order you t-shirt... man they are pretty :)

http://www.cafepress.com/jbossstore

marcf

|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of
Scott
|M Stark
|Sent: Friday, July 27, 2001 2:27 PM
|To: [EMAIL PROTECTED]
|Subject: [JBoss-dev] CVS update: newsite navigation.jsp
|
|
|  User: starksm
|  Date: 01/07/27 11:26:50
|
|  Modified:.navigation.jsp
|  Log:
|  Added Merchandise link under JBossGroup
|
|  Revision  ChangesPath
|  1.6   +3 -2  newsite/navigation.jsp
|
|  Index: navigation.jsp
|  ===
|  RCS file: /cvsroot/jboss/newsite/navigation.jsp,v
|  retrieving revision 1.5
|  retrieving revision 1.6
|  diff -u -r1.5 -r1.6
|  --- navigation.jsp   2001/07/11 06:37:00 1.5
|  +++ navigation.jsp   2001/07/27 18:26:50 1.6
|  @@ -116,8 +116,9 @@
|
|   a class=linkmenu
|href=/JBG/training.jspTraining/abr
|   a class=linkmenu href=/JBG/support.jspSupport/abr
|  -a class=linkmenu
href=/JBG/support.jspConsulting/abr
|  -
|  +a class=linkmenu
href=/JBG/support.jspConsulting/abr
|  +a class=linkmenu
|href=http://www.cafepress.com/jbossstore;Merchandise/abr
|  +
|   /td
|   td valign=topimg src=../pictures/tb5.gif/td
|   /trtr
|
|
|
|
|___
|Jboss-development mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-development


___
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



Re: [JBoss-user] Classes not being searched in WebApp

2001-07-27 Thread Julian Gosnell

 --- Jake Thompson [EMAIL PROTECTED]
wrote:

Tomcat or Jetty or...


Jules


  Hi all.
 
 When I deploy an ear, the beans deploy and the
 webapp deploys.  However it
 seems that the webapp is not searching the
 WEB-INF/classes directory.  When
 I was deploying this not using jboss, it seemed to
 work fine.
 
 Has anyone experinced this?  Any help is much
 appreciated.
 
 Thanks,
 Jake T.
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]

http://lists.sourceforge.net/lists/listinfo/jboss-user 


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

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



Re: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread Scott M Stark

That is a sale being run by cafepress, not us as we don't generate the page.
I don't see any confusion in the listing though.

- Original Message - 
From: Daniel Cardin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 12:13 PM
Subject: RE: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!


[from the web page]
Microfiber Cap  
$18.99
Sale Price $16.99!  
JBoss  

Have a look at the rendering :) the 8 being --crossed-- it really LOOKS
like the regular price is 10.99 and that it is being offered at the very
special price of 16.99$ 

heheh I'd do something about this :)

Dan





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



RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread Daniel Cardin

Please forgive the binary attachment ... but it's worth it :)

-Message d'origine-
De : Scott M Stark [mailto:[EMAIL PROTECTED]]
Envoyé : 27 juillet, 2001 15:53 
À : [EMAIL PROTECTED]
Objet : Re: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!


That is a sale being run by cafepress, not us as we don't generate the
page.
I don't see any confusion in the listing though.

- Original Message - 
From: Daniel Cardin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 12:13 PM
Subject: RE: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!


[from the web page]
Microfiber Cap  
$18.99
Sale Price $16.99!  
JBoss  

Have a look at the rendering :) the 8 being --crossed-- it really LOOKS
like the regular price is 10.99 and that it is being offered at the very
special price of 16.99$ 

heheh I'd do something about this :)

Dan





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

attachment: cap.jpg

RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread Frank Marx

HI,

I have seen the T-Shirts and Mugs and they are far away from pretty, they
are just boring.
The Hat sucks too a lot.

Maybe some different color and design would much be better.

Frank

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



Re: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread Scott M Stark

Pick a better font!

- Original Message - 
From: Daniel Cardin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 12:37 PM
Subject: RE: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!


Please forgive the binary attachment ... but it's worth it :)





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



RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread marc fleury

|Maybe some different color and design would much be better.

what the fuck are you talking about?

did you look at the color balls one or the old jboss one.

Beware that someone had opened an account in jboss' name back when and the
new one is jbossstore...

it needs to be the colored balls and not the blah cog we had before.

marcf


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



RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread Daniel Cardin

AHHAHAH :))) 

Why not change the browser or the OS, while being there? :-))) 

I'm just saying that this is how it shows on my machine... and probably
on other's... 
So it should be changed, because it's confusing. Or else, I'll ask for
that special 10.99 price :))

Cheers,

Dan

-Message d'origine-
De : Scott M Stark [mailto:[EMAIL PROTECTED]]
Envoyé : 27 juillet, 2001 16:21 
À : [EMAIL PROTECTED]
Objet : Re: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!


Pick a better font!

- Original Message - 
From: Daniel Cardin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 12:37 PM
Subject: RE: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!


Please forgive the binary attachment ... but it's worth it :)





___
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] New user

2001-07-27 Thread Shiva P

Hi All,
I am newbie to JBoss. Got most of the things working except
for the Tomcat and JBoss integration. I am on Windows NT
4.0 with SP 6.
My JBoss version is 2.2.2 and my Tomcat is 3.2.3. Below is
the error I am getting

[EmbeddedTomcatSX] Starting
[EmbeddedTomcatSX] Starting EmbeddedTomcatSX
[Service Control] Could not start
DefaultDomain:service=EmbeddedTomcatSX
[Service Control] java.lang.NoClassDefFoundError:
org/apache/tomcat/util/xml/Xml
Action
[Service Control]   at
org.jboss.tomcat.EmbeddedTomcatServiceSX.startService
(EmbeddedTomcatServiceSX.java:80)
[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:217)
[Service Control]   at
org.jboss.Main$1.run(Main.java:121)
[Service Control]   at
java.security.AccessController.doPrivileged(Native Me
thod)
[Service Control]   at
org.jboss.Main.main(Main.java:117)

I am also attaching the jboss.conf, jboss.jcml and the
server.xml of tomcat. I would really appreciate if someone
could help me in this regard.

Thanks,
Shiva.

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
 jboss.conf

?xml version=1.0 encoding=UTF-8?
!-- This is where you can add and configure your MBeans
  ATTENTION: The order of the listing here is the same order as
the MBeans are loaded. Therefore if a MBean depends on another
MBean to be loaded and started it has to be listed after all
the MBeans it depends on.
--

server
  !-- Classloading --
  mbean code=org.jboss.web.WebService name=DefaultDomain:service=Webserver
attribute name=Port8083/attribute
  /mbean

  !-- JNDI --
  mbean code=org.jboss.naming.NamingService name=DefaultDomain:service=Naming
attribute name=Port1099/attribute
  /mbean
  mbean code=org.jboss.naming.JNDIView name=DefaultDomain:service=JNDIView /


  !-- Transactions --
  mbean code=org.jboss.tm.TransactionManagerService name=DefaultDomain:service=TransactionManager
attribute name=TransactionTimeout300/attribute
  /mbean

  !-- Security --

  !-- Uncomment to enable the sample SRPVerifierStore service
  mbean code=org.jboss.security.srp.SRPVerifierStoreService name=Security:name=SRPVerifierStoreService
attribute name=JndiNameSRPDefaultVerifierSource/attribute
attribute name=StoreFileSRPVerifierStore.ser/attribute
  /mbean
--
  !-- Uncomment to enable the SRP login service
  mbean code=org.jboss.security.srp.SRPService name=service:name=SRPService
attribute name=JndiNameSRPServerInterface/attribute
attribute name=VerifierSourceJndiNameSRPDefaultVerifierSource/attribute
attribute name=AuthenticationCacheJndiNameSRPAuthenticationCache/attribute
attribute name=ServerPort10099/attribute
  /mbean
--

  !-- JAAS security manager and realm mapping --
  mbean code=org.jboss.security.plugins.JaasSecurityManagerService name=Security:name=JaasSecurityManager
attribute name=SecurityManagerClassNameorg.jboss.security.plugins.JaasSecurityManager/attribute
  /mbean

  !-- Uncomment to enable the XML implementation of the JAAS policy
  mbean code=org.jboss.security.plugins.SecurityPolicyService name=Security:name=SecurityPolicyService
attribute name=JndiNameDefaultSecurityPolicy/attribute
attribute name=PolicyFilesample_policy.xml/attribute
  /mbean
--

  !-- JDBC --
  mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider
 attribute name=Driversoracle.jdbc.driver.OracleDriver/attribute
  /mbean

  mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource,name=OracleDB
 attribute name=PoolNameOraclePool/attribute
 attribute name=DataSourceClassorg.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl/attribute
 attribute name=URLjdbc:oracle:thin:@localhost:1521:ORCL/attribute
 attribute name=JDBCUserscott/attribute
 attribute name=Passwordtiger/attribute
  /mbean


  !-- J2EE deployment --

  mbean code=org.jboss.ejb.ContainerFactory name=:service=ContainerFactory
attribute name=VerifyDeploymentstrue/attribute
attribute name=MetricsEnabledfalse/attribute
attribute name=VerifierVerbosetrue/attribute
attribute name=BeanCacheJMSMonitoringEnabledfalse/attribute
  /mbean

  

[JBoss-user] jbossms examples

2001-07-27 Thread Grobe, Gary

Anyone know of any examples of a session bean sending to a queue using the
jbossms provider. I looked at chpt 7 of the docs but since the docs use
mdb's and this is my first time trying it (and I'm using session beans), I'm
not sure how to apply this.

Any help much appreciated.


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



RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread marc fleury

|Beware that someone had opened an account in jboss' name back when and the
|new one is jbossstore...

hey speaking of which... does someone know the guy who did that ? I believe
it was when we were talking about t-shirts back when, so I think it is
kosher but redundant now and we trying to close this down... any
old-timers with a back log as long as my d888 out there?

marcf

|
|it needs to be the colored balls and not the blah cog we had before.
|
|marcf
|
|
|___
|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



RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread Juha-P Lindfors


http://www.mail-archive.com/jboss-user@list.working-dogs.com/msg05752.html


On Fri, 27 Jul 2001, marc fleury wrote:

 |Beware that someone had opened an account in jboss' name back when and the
 |new one is jbossstore...

 hey speaking of which... does someone know the guy who did that ? I believe
 it was when we were talking about t-shirts back when, so I think it is
 kosher but redundant now and we trying to close this down... any
 old-timers with a back log as long as my d888 out there?

 marcf

 |
 |it needs to be the colored balls and not the blah cog we had before.
 |
 |marcf
 |
 |
 |___
 |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



Re: [JBoss-user] Building examples

2001-07-27 Thread Aravinda Ghosh Addala

Thank you. I missed that one.
--

On Fri, 27 Jul 2001 09:18:34  
 Devraj Mukherjee wrote:
One to me it looks like you don't have j2ee.jar in your class path and even 
the standard libraries distributed with java.

Devraj


At 13:33 26/07/01 -0700, you wrote:
Hi,

I have just downloaded and installed JBoss2.2.2 with tomcat on Window2000 
professional.

I got the following error when I tried to compile examples using
ant cmp-cd-compile. What have I missed? I am new to Jboss  EJB..


D:\apps\jboss\jboss\examples\buildant cmp-cd-compile
Buildfile: build.xml

validate:

fail_if_not_valid:

init:
  [echo] Using JBoss directory=D:\apps\jboss\jboss
  [echo] Using base 
 
classpath=D:\apps\jboss\jboss\client\ejb.jar;D:\apps\jboss\jboss\client\jaas.jar;D:\apps\jboss\jboss\client\jbosssx-client.jar;D:\apps\jboss\jboss\client\jboss-client.jar;D:\apps\jboss\jboss\client\jnp-client.jar;D:\apps\jboss\tomcat\lib\servlet.jar
  [echo] Using Source directory=D:\apps\jboss\jboss\examples
  [echo] Using Build directory=D:\apps\jboss\jboss\examples/build-examples

cmp-cd-compile:

main:
 [javac] Compiling 5 source files to 
 D:\apps\jboss\jboss\examples\build-examples\cmp-cd\classes
 [javac] 
 D:\apps\jboss\jboss\examples\org\jboss\docs\cmp\cd\bean\CDCollectionBean.java:11: 
 Class javax.naming.InitialContext not found in import.
 [javac] import javax.naming.InitialContext;
 [javac]^
 [javac] 
 D:\apps\jboss\jboss\examples\org\jboss\docs\cmp\cd\bean\CDCollectionBean.java:12: 
 Class javax.rmi.PortableRemoteObject not found in import.
 [javac] import javax.rmi.PortableRemoteObject;
 [javac]^
 [javac] 
 D:\apps\jboss\jboss\examples\org\jboss\docs\cmp\cd\List.java:7: Class 
 javax.rmi.PortableRemoteObject not found in import.
 [javac] import javax.rmi.PortableRemoteObject;
 [javac]^
 [javac] 
 D:\apps\jboss\jboss\examples\org\jboss\docs\cmp\cd\List.java:8: Class 
 javax.naming.InitialContext not found in import.
 [javac] import javax.naming.InitialContext;
 [javac]^
 [javac] 
 D:\apps\jboss\jboss\examples\org\jboss\docs\cmp\cd\Lookup.java:6: Class 
 javax.naming.InitialContext not found in import.
 [javac] import javax.naming.InitialContext;
 [javac]^
 [javac] 
 D:\apps\jboss\jboss\examples\org\jboss\docs\cmp\cd\Lookup.java:7: Class 
 javax.rmi.PortableRemoteObject not found in import.
 [javac] import javax.rmi.PortableRemoteObject;
 [javac]^
 [javac] 
 D:\apps\jboss\jboss\examples\org\jboss\docs\cmp\cd\Remove.java:7: Class 
 javax.naming.InitialContext not found in import.
 [javac] import javax.naming.InitialContext;
 [javac]^
 [javac] 
 D:\apps\jboss\jboss\examples\org\jboss\docs\cmp\cd\Remove.java:8: Class 
 javax.rmi.PortableRemoteObject not found in import.
 [javac] import javax.rmi.PortableRemoteObject;
 [javac]^
 [javac] 
 D:\apps\jboss\jboss\examples\org\jboss\docs\cmp\cd\Upload.java:8: Class 
 javax.naming.InitialContext not found in import.
 [javac] import javax.naming.InitialContext;
 [javac]^
 [javac] 
 D:\apps\jboss\jboss\examples\org\jboss\docs\cmp\cd\Upload.java:9: Class 
 javax.rmi.PortableRemoteObject not found in import.
 [javac] import javax.rmi.PortableRemoteObject;
 [javac]^
 [javac] 10 errors

BUILD FAILED

D:\apps\jboss\jboss\examples\org\jboss\docs\cmp\cd\build\build-cmp-cd-compile.xml:19:
 
Compile failed, messages should have been provided.


Thanks in advance,
Aravinda.


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/

___
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



Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/

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



[JBoss-user] jboss not sync'd with external db changes

2001-07-27 Thread David Ward

(Originally accidently sent this to jboss-development.  BTW, this is on 
JBoss-2.2.2_Tomcat-3.2.2, JDK 1.3.1, RedHat 7.1, Oracle 8.1.6)

I'm goin' a bit crazy here...

If I have a sqlplus window open to my Oracle database, I can see the 
data change as I change values via my CMP Entity Bean.  However, if I 
change a value in the DB using sqlplus (and commit it), my already 
active CMP Entity Bean doesn't pick up the change (it still has the old 
value).

What am I doing wrong?  I've attached my jaws/ejb-jar/jboss xml files. 
I'm going to look real stupid if it turns out the kind of synchronicity 
I'm looking for isn't supported...

Thanks,
David


?xml version=1.0?

jaws

	datasourcejava:/OracleDS/datasource
	type-mappingOracle8/type-mapping
	debugtrue/debug

	default-entity
		create-tablefalse/create-table
		remove-tablefalse/remove-table
		tuned-updatestrue/tuned-updates
		read-onlyfalse/read-only
		select-for-updatetrue/select-for-update
	/default-entity

	enterprise-beans
		entity
			ejb-nameProductionFileType/ejb-name
			table-namePRODUCTION_FILE_TYPES/table-name
			cmp-field
field-namefileTypeID/field-name
column-nameFILE_TYPE_ID/column-name
java-typejava.lang.String/java-type
jdbc-typeVARCHAR/jdbc-type
sql-typeVARCHAR2(10)/sql-type
			/cmp-field
			cmp-field
field-namedescription/field-name
column-nameDESCRIP/column-name
java-typejava.lang.String/java-type
jdbc-typeVARCHAR/jdbc-type
sql-typeVARCHAR2(35)/sql-type
			/cmp-field
			cmp-field
field-nameduration/field-name
column-nameDURATION/column-name
java-typejava.lang.Long/java-type
jdbc-typeBIGINT/jdbc-type
sql-typeNUMBER(38)/sql-type
			/cmp-field
			cmp-field
field-nameelectronicFile/field-name
column-nameELECTRONIC_FILE/column-name
java-typejava.lang.String/java-type
jdbc-typeVARCHAR/jdbc-type
sql-typeVARCHAR2(3)/sql-type
			/cmp-field
		/entity
	/enterprise-beans

/jaws


?xml version=1.0?

!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'

ejb-jar

	display-nameDOCS/display-name

	enterprise-beans
		entity
			ejb-nameProductionFileType/ejb-name
			homecorp.docs.ejb.ProductionFileTypeHome/home
			remotecorp.docs.ejb.ProductionFileType/remote
			ejb-classcorp.docs.ejb.ProductionFileTypeBean/ejb-class
			persistence-typeContainer/persistence-type
			prim-key-classjava.lang.String/prim-key-class
			reentrantFalse/reentrant
			cmp-fieldfield-namefileTypeID/field-name/cmp-field
			cmp-fieldfield-namedescription/field-name/cmp-field
			cmp-fieldfield-nameduration/field-name/cmp-field
			cmp-fieldfield-nameelectronicFile/field-name/cmp-field
			primkey-fieldfileTypeID/primkey-field
		/entity
	/enterprise-beans

	assembly-descriptor
		container-transaction
			method
ejb-nameProductionFileType/ejb-name
method-name*/method-name
			/method
			trans-attributeRequired/trans-attribute
		/container-transaction
	/assembly-descriptor

/ejb-jar


?xml version=1.0?

jboss

	enterprise-beans
		entity
			ejb-nameProductionFileType/ejb-name
			jndi-namedocs/ProductionFileType/jndi-name
		/entity
	/enterprise-beans

/jboss



RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread Frank Marx


What I mean is that white t-shirts and this white ugly hat are really
boring, both get dirty very fast.
Maybe something in black or some other colors, maybe have a look at the
stuff from ORACLE or SUN the
things they have are pretty nice.

Frank


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



RE: [JBoss-user] jboss not sync'd with external db changes

2001-07-27 Thread Bill Burke

I replied on JBoss dev.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of David Ward
 Sent: Friday, July 27, 2001 5:18 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] jboss not sync'd with external db changes
 Importance: High
 
 
 (Originally accidently sent this to jboss-development.  BTW, this is on 
 JBoss-2.2.2_Tomcat-3.2.2, JDK 1.3.1, RedHat 7.1, Oracle 8.1.6)
 
 I'm goin' a bit crazy here...
 
 If I have a sqlplus window open to my Oracle database, I can see the 
 data change as I change values via my CMP Entity Bean.  However, if I 
 change a value in the DB using sqlplus (and commit it), my already 
 active CMP Entity Bean doesn't pick up the change (it still has the old 
 value).
 
 What am I doing wrong?  I've attached my jaws/ejb-jar/jboss xml files. 
 I'm going to look real stupid if it turns out the kind of synchronicity 
 I'm looking for isn't supported...
 
 Thanks,
 David
 


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



RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread marc fleury

ok so you want black t-shirts instead of white ok...

marcf

|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Frank Marx
|Sent: Friday, July 27, 2001 5:36 PM
|To: [EMAIL PROTECTED]
|Subject: RE: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!
|
|
|
|What I mean is that white t-shirts and this white ugly hat are really
|boring, both get dirty very fast.
|Maybe something in black or some other colors, maybe have a look at the
|stuff from ORACLE or SUN the
|things they have are pretty nice.
|
|Frank
|
|
|___
|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



RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread Frank Marx


yes and a different design of the hat  a different model ... 

Frank


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury
Sent: Friday, July 27, 2001 2:58 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!


ok so you want black t-shirts instead of white ok...

marcf

|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Frank Marx
|Sent: Friday, July 27, 2001 5:36 PM
|To: [EMAIL PROTECTED]
|Subject: RE: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!
|
|
|
|What I mean is that white t-shirts and this white ugly hat are really
|boring, both get dirty very fast.
|Maybe something in black or some other colors, maybe have a look at the
|stuff from ORACLE or SUN the
|things they have are pretty nice.
|
|Frank
|
|
|___
|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



RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-27 Thread marc fleury

sorry no can do, the choice on cafepress is pretty limited as it turns out. 

So tough luck for the black stuff, sorry, it's got to be white

sorry

marcf


|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Frank Marx
|Sent: Friday, July 27, 2001 6:20 PM
|To: [EMAIL PROTECTED]
|Subject: RE: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!
|
|
|
|yes and a different design of the hat  a different model ... 
|
|Frank
|
|
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury
|Sent: Friday, July 27, 2001 2:58 PM
|To: [EMAIL PROTECTED]
|Subject: RE: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!
|
|
|ok so you want black t-shirts instead of white ok...
|
|marcf
|
||-Original Message-
||From: [EMAIL PROTECTED]
||[mailto:[EMAIL PROTECTED]]On Behalf Of Frank Marx
||Sent: Friday, July 27, 2001 5:36 PM
||To: [EMAIL PROTECTED]
||Subject: RE: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS!
||
||
||
||What I mean is that white t-shirts and this white ugly hat are really
||boring, both get dirty very fast.
||Maybe something in black or some other colors, maybe have a look at the
||stuff from ORACLE or SUN the
||things they have are pretty nice.
||
||Frank
||
||
||___
||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

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



[JBoss-user] Jboss JNDI from oracle

2001-07-27 Thread Ferguson, Doug

Hi,

I am trying to execute a java stored procedure that access a bean inside
jBoss.

When I try to instantiate my InitialContext it says class not found for
NamingContextFactory.
I did a loadJava to load the jnp classes into oracle but for some reason I
still get this exception.

Anybody done this?

d.

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



[JBoss-user] problem getting correct datasource

2001-07-27 Thread G.L. Grobe



I'm hunting down a problem in my database 
configuration where the DefaultDS is being used and I can't get my PostgresqlDB 
resource to be used. Does anyone see anything wrong w/ the following 
config?

Here's what JBoss's output reports upon startup, 
'run_with_tomcat.sh' :
-
[XADataSourceLoader] Starting[DefaultDS] XA 
Connection pool DefaultDS bound to java:/DefaultDS[XADataSourceLoader] 
Started[XADataSourceLoader] Starting[PostgresqlDB] XA Connection pool 
PostgresqlDB bound to java:/PostgresqlDB[XADataSourceLoader] 
Started[ServerDataCollector] Starting
Here's the lookup.
--- MyEntityBean.java 
dataSource = (DataSource) 
context.lookup("java:/PostgresqlDB");
And here's the resource-ref... tag I use in my 
ejb-jar.xml:
---
 
resource-ref 
res-ref-namejdbc/PostgresqlDB/res-ref-name 
res-typejavax.sql.DataSource/res-type 
res-authContainer/res-auth 
/resource-ref

And here's the resource-ref... tag I use in my 
jboss.xml: 
---
resource-managers 
resource-manager 
res-class="org.jboss.ejb.deployment.JDBCResource" 
res-namejdbc/PostgresqlDB/res-name 
res-typejavax.sql.DataSource/res-type 
res-jndi-namejava:/access/res-jndi-name 
/resource-manager
enteprise-beans
 session
  ...
 
resource-ref 
res-ref-namejdbc/PostgresqlDB/res-ref-name 
resource-namejdbc/access/resource-name 
/resource-ref ...

And my ~/conf/tomcat/jboss.jcml DataSource

 mbean code="org.jboss.jdbc.XADataSourceLoader" 
name="DefaultDomain:service=XADataSource,name=DefaultDS" 
attribute 
name="PoolName"DefaultDS/attribute 
attribute 
name="DataSourceClass"org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl/attribute 
attribute name="Properties"/attribute 
attribute 
name="URL"jdbc:postgresql:acais:@localhost:5432/attribute 
attribute 
name="GCMinIdleTime"120/attribute 
attribute name="JDBCUser"myuser/attribute 
attribute name="MaxSize"10/attribute 
attribute name="Password"mypass/attribute 
attribute name="GCEnabled"false/attribute 
attribute 
name="InvalidateOnError"false/attribute 
attribute 
name="TimestampUsed"false/attribute 
attribute name="Blocking"true/attribute 
attribute 
name="GCInterval"12/attribute 
attribute 
name="IdleTimeout"180/attribute 
attribute 
name="IdleTimeoutEnabled"false/attribute 
attribute 
name="LoggingEnabled"false/attribute 
attribute 
name="MaxIdleTimeoutPercent"1.0/attribute 
attribute name="MinSize"0/attribute 
/mbean

 mbean code="org.jboss.jdbc.XADataSourceLoader" 
name="DefaultDomain:service=XADataSource,name=PostgresqlDB" 
attribute 
name="PoolName"PostgresqlDB/attribute 
attribute 
name="DataSourceClass"org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl/attribute 
attribute name="Properties"/attribute 
attribute 
name="URL"jdbc:postgresql:acais:@localhost:5432/attribute 
attribute 
name="GCMinIdleTime"120/attribute 
attribute name="JDBCUser"myuser/attribute 
attribute name="MaxSize"10/attribute 
attribute name="Password"mypass/attribute 
attribute name="GCEnabled"false/attribute 
attribute 
name="InvalidateOnError"false/attribute 
attribute 
name="TimestampUsed"false/attribute 
attribute name="Blocking"true/attribute 
attribute 
name="GCInterval"12/attribute 
attribute 
name="IdleTimeout"180/attribute 
attribute 
name="IdleTimeoutEnabled"false/attribute 
attribute 
name="LoggingEnabled"false/attribute 
attribute 
name="MaxIdleTimeoutPercent"1.0/attribute 
attribute name="MinSize"0/attribute
/mbean




Re: [JBoss-user] New user

2001-07-27 Thread Dan Bereczki

Hi Shiva,

 From one Newbie to another, I ran into the same error, until I fixed the 
path for the TOMCAT_HOME in the jboss.conf file.  First make sure you 
replace the default put your path to tomcat here, then when you're doing 
that make sure you don't leave off the trailing /  like I did.

Now for another Newbie question - Now that tomcat is loading, when the 
tomcat-test.ear tries to deploy I get a null pointer error:
[Auto deploy]   at 
org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(Embedd
edTomcatServiceSX.java:103)

Anyone else know what I'm doing wrong?

Dan

At 01:24 PM 7/27/2001 -0700, you wrote:
Hi All,
I am newbie to JBoss. Got most of the things working except
for the Tomcat and JBoss integration. I am on Windows NT
4.0 with SP 6.
My JBoss version is 2.2.2 and my Tomcat is 3.2.3. Below is
the error I am getting

[EmbeddedTomcatSX] Starting
[EmbeddedTomcatSX] Starting EmbeddedTomcatSX
[Service Control] Could not start
DefaultDomain:service=EmbeddedTomcatSX
[Service Control] java.lang.NoClassDefFoundError:
org/apache/tomcat/util/xml/Xml
Action
[Service Control]   at
org.jboss.tomcat.EmbeddedTomcatServiceSX.startService
(EmbeddedTomcatServiceSX.java:80)
[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:217)
[Service Control]   at
org.jboss.Main$1.run(Main.java:121)
[Service Control]   at
java.security.AccessController.doPrivileged(Native Me
thod)
[Service Control]   at
org.jboss.Main.main(Main.java:117)

I am also attaching the jboss.conf, jboss.jcml and the
server.xml of tomcat. I would really appreciate if someone
could help me in this regard.

Thanks,
Shiva.

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
?xml version=1.0 encoding=UTF-8?
!-- This is where you can add and configure your MBeans
   ATTENTION: The order of the listing here is the same order as
 the MBeans are loaded. Therefore if a MBean depends on another
 MBean to be loaded and started it has to be listed after all
 the MBeans it depends on.
--

server
   !-- Classloading --
   mbean code=org.jboss.web.WebService 
 name=DefaultDomain:service=Webserver
 attribute name=Port8083/attribute
   /mbean

   !-- JNDI --
   mbean code=org.jboss.naming.NamingService 
 name=DefaultDomain:service=Naming
 attribute name=Port1099/attribute
   /mbean
   mbean code=org.jboss.naming.JNDIView 
 name=DefaultDomain:service=JNDIView /


   !-- Transactions --
   mbean code=org.jboss.tm.TransactionManagerService 
 name=DefaultDomain:service=TransactionManager
 attribute name=TransactionTimeout300/attribute
   /mbean

   !-- Security --

   !-- Uncomment to enable the sample SRPVerifierStore service
   mbean code=org.jboss.security.srp.SRPVerifierStoreService 
 name=Security:name=SRPVerifierStoreService
 attribute name=JndiNameSRPDefaultVerifierSource/attribute
 attribute name=StoreFileSRPVerifierStore.ser/attribute
   /mbean
--
   !-- Uncomment to enable the SRP login service
   mbean code=org.jboss.security.srp.SRPService 
 name=service:name=SRPService
 attribute name=JndiNameSRPServerInterface/attribute
 attribute 
 name=VerifierSourceJndiNameSRPDefaultVerifierSource/attribute
 attribute 
 name=AuthenticationCacheJndiNameSRPAuthenticationCache/attribute
 attribute name=ServerPort10099/attribute
   /mbean
--

   !-- JAAS security manager and realm mapping --
   mbean code=org.jboss.security.plugins.JaasSecurityManagerService 
 name=Security:name=JaasSecurityManager
 attribute 
 
name=SecurityManagerClassNameorg.jboss.security.plugins.JaasSecurityManager/attribute
   /mbean

   !-- Uncomment to enable the XML implementation of the JAAS policy
   mbean code=org.jboss.security.plugins.SecurityPolicyService 
 name=Security:name=SecurityPolicyService
 attribute name=JndiNameDefaultSecurityPolicy/attribute
 attribute name=PolicyFilesample_policy.xml/attribute
   /mbean
--

   !-- JDBC --
   mbean code=org.jboss.jdbc.JdbcProvider 
 name=DefaultDomain:service=JdbcProvider
  attribute name=Driversoracle.jdbc.driver.OracleDriver/attribute
   /mbean

   mbean code=org.jboss.jdbc.XADataSourceLoader 
 

[JBoss-user] Not setting config property?

2001-07-27 Thread G.L. Grobe



What does the following output from 
'run_with_tomcat.sh'mean and how might it affect an 
appliation?

[MinervaDS] Not setting config property 
'Driver'[MinervaDS] Not setting config property 'Password'[MinervaDS] 
Not setting config property 'UserName'[MinervaDS] Bound connection factory 
for resource adapter 'Minerva JDBC LocalTransaction ResourceAdapter' to JNDI 
name 'java:/MinervaDS'
Thnxs,


Re: [JBoss-user] New user

2001-07-27 Thread Scott M Stark

So why don't you try to use the JBoss/Tomcat bundle that comes preconfigured
to avoid these problems?

- Original Message - 
From: Dan Bereczki [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 6:12 PM
Subject: Re: [JBoss-user] New user


 Hi Shiva,
 
  From one Newbie to another, I ran into the same error, until I fixed the 
 path for the TOMCAT_HOME in the jboss.conf file.  First make sure you 
 replace the default put your path to tomcat here, then when you're doing 
 that make sure you don't leave off the trailing /  like I did.
 
 Now for another Newbie question - Now that tomcat is loading, when the 
 tomcat-test.ear tries to deploy I get a null pointer error:
 [Auto deploy]   at 
 org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(Embedd
 edTomcatServiceSX.java:103)
 
 Anyone else know what I'm doing wrong?
 
 Dan
 



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



Re: [JBoss-user] Not setting config property?

2001-07-27 Thread David Jencks

It will not affect your application in any way unless you are using
MinervaDS, which is a jca connector/resource adapter version of the
hypersonic DefaultDS.  I think it may be caused by removing the hypersonic
db config bean.

david jencks

On 2001.07.27 21:37:20 -0400 G.L. Grobe wrote:
 What does the following output from 'run_with_tomcat.sh' mean and how
 might it affect an appliation?
 
 [MinervaDS] Not setting config property 'Driver'
 [MinervaDS] Not setting config property 'Password'
 [MinervaDS] Not setting config property 'UserName'
 [MinervaDS] Bound connection factory for resource adapter 'Minerva JDBC
 LocalTransaction ResourceAdapter' to JNDI name 'java:/MinervaDS'
 
 Thnxs,
 
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
 HTMLHEAD
 META http-equiv=Content-Type content=text/html; charset=iso-8859-1
 META content=MSHTML 5.50.4616.200 name=GENERATOR
 STYLE/STYLE
 /HEAD
 BODY bgColor=#ff
 DIVFONT face=Arial size=2What does the following output from 
 'run_with_tomcat.sh'nbsp;mean and how might it affect an 
 appliation?/FONT/DIV
 DIVFONT face=Arial size=2/FONTnbsp;/DIV
 DIVFONT face=Arial size=2[MinervaDS] Not setting config property 
 'Driver'BR[MinervaDS] Not setting config property
 'Password'BR[MinervaDS] 
 Not setting config property 'UserName'BR[MinervaDS] Bound connection
 factory 
 for resource adapter 'Minerva JDBC LocalTransaction ResourceAdapter' to
 JNDI 
 name 'java:/MinervaDS'BR/FONT/DIV
 DIVFONT face=Arial size=2Thnxs,/DIV/FONT/BODY/HTML
 

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



RE: [JBoss-user] New user

2001-07-27 Thread marc fleury

cause it's much more fun to dump questions on you?

marcf

|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Scott M
|Stark
|Sent: Friday, July 27, 2001 9:49 PM
|To: [EMAIL PROTECTED]
|Subject: Re: [JBoss-user] New user
|
|
|So why don't you try to use the JBoss/Tomcat bundle that comes 
|preconfigured
|to avoid these problems?
|
|- Original Message - 
|From: Dan Bereczki [EMAIL PROTECTED]
|To: [EMAIL PROTECTED]
|Sent: Friday, July 27, 2001 6:12 PM
|Subject: Re: [JBoss-user] New user
|
|
| Hi Shiva,
| 
|  From one Newbie to another, I ran into the same error, until I 
|fixed the 
| path for the TOMCAT_HOME in the jboss.conf file.  First make sure you 
| replace the default put your path to tomcat here, then when 
|you're doing 
| that make sure you don't leave off the trailing /  like I did.
| 
| Now for another Newbie question - Now that tomcat is loading, when the 
| tomcat-test.ear tries to deploy I get a null pointer error:
| [Auto deploy]   at 
| org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(Embedd
| edTomcatServiceSX.java:103)
| 
| Anyone else know what I'm doing wrong?
| 
| Dan
| 
|
|
|
|___
|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



Re: [JBoss-user] using PortableRemoteObject.narrow

2001-07-27 Thread Dmitri Colebatch

The correct form is:

MyBeanHome home = (EJBHome) PortableRemoteObject.narrow(
ctx.lookup(JNDI_NAME),
MyBeanHome.class);

cheesr
dim

On Fri, 27 Jul 2001, Toby Hede wrote:

 I keep seeing code samples that use the followng syntaxt:
 
   Object ref = ctx.lookup(EJBHome.JNDI_NAME);   
   EJBHome home = (EJBHome) PortableRemoteObject.narrow(ref, EJBHome.class);
 
 I also see other samples that use the following:
 
   EJBHome home Object ref = (EJBHome) ctx.lookup(EJBHome.JNDI_NAME);   
 
 What is the correct format in JBoss (I have used the latter)
 
 /t
 Toby Hede
 
 
 
 
 
 
 
 
 
 
 
 
 
 ___
 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



Re: [JBoss-user] Force create of table after manual drop?

2001-07-27 Thread David M. Karr

 Nicolai == Nicolai P Guba Nicolai writes:

Nicolai On 26 Jul 2001 19:45:41 -0700, David M. Karr wrote:
  Nicolai == Nicolai P Guba Nicolai writes:

 My situation is less complicated than that.  I just changed the default
 standardjaws.xml to use mySQL instead of Hypersonic, then I created my project.
 I didn't change any type mappings.  When I deployed the jar initially, it
 worked fine.  It created the table, and I was able to run methods to create
 rows, delete rows, list rows, etcetera.  I then decided I wanted to try
 something absurd and drop the table.  Now, I can't seem to convince it that the
 table needs to be recreated.

Nicolai I'm not sure it is a good idea manually manipulating a database where a
Nicolai EJB server is running on top of it...  However, on tests I've dropped
Nicolai tables and databases many times and they were always re-created.
Nicolai Hm

Yes, of course it's not a good idea.  It was just an experiment.  However, now
I'm stuck.  I can't figure out how to get the table re-created.

-- 
===
David M. Karr  ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


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



Re: [JBoss-user] Force create of table after manual drop?

2001-07-27 Thread David M. Karr

 David == David M Karr [EMAIL PROTECTED] writes:

David In JBoss 2.2.2, using MySQL, I had a sample application, and it had created 
a
David table.  I manually dropped the table, now I'm trying to figure out how to 
get
David JBoss to figure out it needs to recreate the table.  I've tried various 
things,
David like deleting the deployed jar from the deploy directory, and the unjarred
David directory in the tmp directory.  I've redeployed the jar, and JBoss seems 
to
David do it without complaining, but it still refuses to create the table.

Ok, I have some more information.  I checked the server.log file, and I saw
the following:

[JAWS] java.sql.SQLException: General error: All parts of a PRIMARY KEY must be NOT 
NULL;  If you need NULL in a key, use UNIQUE instead
[JAWS]  at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java:497)
[JAWS] ...
[JAWS] Could not create table CDBean: General error: All parts of a PRIMARY KEY must 
be NOT NULL;  If you need NULL in a key, use UNIQUE instead

However, I'm not sure when this occurred.  I'm having trouble understanding how
the log file works.  It seems to be created with a large number of nulls at the
beginning of the file, even when I delete it and restart JBoss.  I haven't
noticed any option to timestamp log file entries.

-- 
===
David M. Karr  ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


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



[JBoss-user] informix 7.X jdbc driver

2001-07-27 Thread ivan



Dear All,

I have a informix jdbc driver on hand now. But, it only for 
jdbc1.x.
I would like to configure jdbc.jcml to use the function of 
connection pooling. I am sure that I set the configuration, including db URL, 
username, and password, correctly. However, Jboss can't connect to informix 
database even i can load the driver. 

The following exception thrown:
[InformixDB01] 
java.lang.NullPointerException[InformixDB01] at 
org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:165)[InformixDB01] 
at 
org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:330)[InformixDB01] 
at 
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)[InformixDB01] 
at java.lang.reflect.Method.invoke(Native Method)[InformixDB01] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[InformixDB01] 
at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[InformixDB01] 
at 
org.jboss.util.ServiceControl.start(ServiceControl.java:97)[InformixDB01] 
at java.lang.reflect.Method.invoke(Native Method)[InformixDB01] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[InformixDB01] 
at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[InformixDB01] 
at org.jboss.Main.init(Main.java:203)[InformixDB01] at 
org.jboss.Main$1.run(Main.java:107)[InformixDB01] at 
java.security.AccessController.doPrivileged(Native 
Method)[InformixDB01] at 
org.jboss.Main.main(Main.java:103)[Service Control] Could not start 
DefaultDomain:service=XADataSource,name=InformixDB01[Service Control] 
java.lang.NullPointerException[Service 
Control] at 
org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:165)[Service 
Control] at 
org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:330)[Service 
Control] at 
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)[Service 
Control] at 
java.lang.reflect.Method.invoke(Native Method)[Service 
Control] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Service 
Control] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Service 
Control] at 
org.jboss.util.ServiceControl.start(ServiceControl.java:97)[Service 
Control] at 
java.lang.reflect.Method.invoke(Native Method)[Service 
Control] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Service 
Control] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.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 Method)[Service 
Control] at 
org.jboss.Main.main(Main.java:103)

Can anyone tell me how to solve this problems? 

Thanks a lot!!!