[JBoss-user] configuring jms queues

2001-07-14 Thread G.L. Grobe



I'm needing whatever 
configuration examples/data I can find on configuring a queue in JBoss from 
session beans. I've got my queues coded but am confused w/ the descriptor 
information.Are there any examples in the JBoss CVS that show how to 
configure a Queue from a Session Bean (not MDB's as shown in the docs)? And if 
possible, a client that receives the message? I don't mean code, but deployment 
descriptor info here.Or anything that might help me configure this w/ 
JBoss?Adv(Thnxs)ance 


[JBoss-user] dbase is acting way too slow

2001-07-14 Thread G.L. Grobe



My DBase queries are 
extremely slow, but they work. I'm doing a query through *7* records in a table 
and it literally takes 10-20 seconds for each query.I copied the 
postgresql driver into ~/lib/ext dir. I also added the following to my 
jboss.jcml file.--- jboss.jcml (JDBC section) -mbean 
code="org.jboss.jdbc.JdbcProvider" 
name="DefaultDomain:service=JdbcProvider"attribute 
name="Drivers"org.postgresql.Driver/attribute/mbeanI 
*DO NOT* see the messages that should look similiar to this in the jboss 
output.---[JDBC] Loaded JDBC-driver:oracle.jdbc.driver.OracleDriver 
[JDBC] Could not load driver:com.sybase.jdbc2.jdbc.SybDriverAny help 
much appreciated.


RE: [JBoss-user] jboss on start up

2001-07-14 Thread Richard Bottoms

   In short, there is no Linux 6.1.  There is a RedHat Linux
distribution that has a 6.1 version

That's what the RH refers to:

I'm running RH Linux 6.1.


Thanks,
r.b.






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



Re: [JBoss-user] How to send message to MDB

2001-07-14 Thread Jason Dillon

It is just like sending to any other JMS queue (or topic for that matter).
Lookup the connection factory, lookup the destination (a queue), create a
connection, create a session, create a producer (sender in this case) and
send.  If you are in a tx session, then commit, else close everything and
get on with your life.

If you used JNDI to lookup your resources, you should close the context too.

--jason


On Sat, 14 Jul 2001, Rajesh Vilasrao Bhujbal wrote:

 Hi,
 I developed a MDB called TestMDB. This MDB uses queue.
 I want to send message to this MDB through java client running on
 different machine. how to do it? I have already seen example in jboss
 manual, but it doesn't give code/method for accessing MDB through
 client.

 my question is how to get context to message queue and queueconnection
 factory?

 Regards
 rajesh






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



RE: [JBoss-user] jboss on start up

2001-07-14 Thread Jason Dillon

Just wait 'till the 6.1 kernel comes out; it's gonna be sweet!

=P

--jason


On Fri, 13 Jul 2001, Richard Bottoms wrote:

  In short, there is no Linux 6.1.  There is a RedHat Linux
 distribution that has a 6.1 version

 That's what the RH refers to:

   I'm running RH Linux 6.1.


 Thanks,
 r.b.






 ___
 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] EJB RDBMS Issue

2001-07-14 Thread Jason Dillon

   The ideal way is to do all such database modifications thru the ejb
 interface only, but, unfortunately, that is not the case for me. Any inputs
 on problems i might face?

How about, why on earth would you do something like that?  What external
thingy is going to delete records and leave your application in a state of
confusion.  Are you trying to write a Microsoft application?

I don't think there is part of the EJB spec that says what will happen when
some other application deletes a record, drops a table or reboots the
database.  If it does, let me know... I am in for a good chuckle.

On a positive note, you might want to reconsider the usage of entity beans if
the case truly is that you can not avoid the situation you described above.
Perhaps you want a session facade to a table or perhaps you don't really
want an EJB at all.

--jason


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



Re: [JBoss-user] More than one TopicConnectionFactory??

2001-07-14 Thread Jason Dillon

Where are you expecting that it will be bound too?  Where is the topic
factory connection that you wish DurableTopicConnFactory to be bound to?
Perhaps you should specify the jndi-name?

--jason


On Fri, 13 Jul 2001, Scott Bermon wrote:

 Can I create more than one TopicConnectionFactory?

 I would like to use one for Durable Subscribers and the other
 for non-durable.

 But when I try to access the DurableTopicConnFactory it says it's not bound.

 In JNDIView there is only one entry for TopicConnectionFactory.

 HELP!

 jboss.xml
 --
 
 resource-ref
 res-ref-namejms/DurableTopicConnFactory/res-ref-name
 resource-namejms/DurableTopicConnFactory/resource-name
 /resource-ref
 resource-ref
  res-ref-namejms/TopicConnectionFactory/res-ref-name
  resource-namejms/TopicConnectionFactory/resource-name
 /resource-ref
 .



 ejb-jar.xml
 ---
 
 resource-ref
   descriptionSupports Durable Subscriber for AFS-ATS/description
   res-ref-namejms/DurableTopicConnFactory/res-ref-name
   res-typejavax.jms.TopicConnectionFactory/res-type
   res-authContainer/res-auth
  /resource-ref
  resource-ref
   description/description
   res-ref-namejms/TopicConnectionFactory/res-ref-name
   res-typejavax.jms.TopicConnectionFactory/res-type
  res-authContainer/res-auth
 /resource-ref




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



Re: [JBoss-user] BLOB

2001-07-14 Thread Jason Dillon

It looks like JAWS can persist objects via BLOB... but that is just a simple
guess by looking at the standardjaws.xml, it has some lines that look like
this:

  mapping
java-typejava.lang.Object/java-type
jdbc-typeJAVA_OBJECT/jdbc-type
sql-typeBLOB(2000)/sql-type
  /mapping

Which would lead me to believe that you could get JAWS to persist to a record
with a BLOB column.  I would try it.

--jason


On Fri, 13 Jul 2001,
Ivan Novick wrote:

 So to create an Entity Bean for that stores a blob, would you have to use
 BMP?

 Ivan
 - Original Message -
 From: david [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, July 13, 2001 12:20 PM
 Subject: Re: [JBoss-user] BLOB


  Hi,
  Well, I wonder if it can work, I could find no way in the jdbc spec to
  create a new blob!  So maybe you could read the picture but I don't know
 
  how JAWS could insert a new row.  I hope I'm wrong, please tell me how.
 
  Thanks
  David Jencks
 
  On 2001.07.12 04:31:21 -0400 Burkhard Vogel wrote:
   Hi,
   If your DB driver supports blobs, why not (oracle has problems, AFAIK)
 
   Burkhard
   - Original Message -
   From: Ivan Novick [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Thursday, July 12, 2001 9:16 AM
   Subject: [JBoss-user] BLOB
  
  
Can an entity bean contain a BLOB type attribute that represents a
   picture
in a database?
   
Ivan
   
   
___
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 mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] isModified Method

2001-07-14 Thread Jason Dillon

The method name 'getIsModified' is redundant, at least in JavaBean terms,
where the prefix 'is' refers the the getter/accessor of a boolean property.
Why not just use isModified()?  The above would result in a property named
'isModified', not 'modified', which basically means the same thing, one is
just a bit more passive than the other.

If you must, like Burkhard mentioned... define both, preferably having
getIsModifed() call isModified() so the JBoss version runs it faster =)

--jason


On Fri, 13 Jul 2001, Syed wrote:

 Is there anyway to configure the name of the method isModified.

 Currently we are using weblogic and weblogic has a tag to indicate the name
 of this method.
 So our method name is getIsModified and if we want to use our ejbs in
 JBoss, we would have to modify our
 source code to change the method name to isModified.



 Thanks  Best Regards,
  Mustaffa Syed Meerkasim.



 ___
 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] How to send message to MDB

2001-07-14 Thread Wei-ju Wu

But how does one retrieve the connection factory ?
I didn't find any documentation to setting up the
client.

In Bea Weblogic you can do this:

TopicConnectionFactory factory =
(TopicConnectionFactory) context.lookup(weblogic.jms.ConnectionFactory);
topicConnection = factory.createTopicConnection();
topicConnection.start();

What would be the equivalent in JBoss ?


- Original Message -
From: Jason Dillon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 14, 2001 11:40 AM
Subject: Re: [JBoss-user] How to send message to MDB


 It is just like sending to any other JMS queue (or topic for that matter).
 Lookup the connection factory, lookup the destination (a queue), create a
 connection, create a session, create a producer (sender in this case) and
 send.  If you are in a tx session, then commit, else close everything and
 get on with your life.

 If you used JNDI to lookup your resources, you should close the context
too.

 --jason


 On Sat, 14 Jul 2001, Rajesh Vilasrao Bhujbal wrote:

  Hi,
  I developed a MDB called TestMDB. This MDB uses queue.
  I want to send message to this MDB through java client running on
  different machine. how to do it? I have already seen example in jboss
  manual, but it doesn't give code/method for accessing MDB through
  client.
 
  my question is how to get context to message queue and queueconnection
  factory?
 
  Regards
  rajesh
 
 
 
 


 ___
 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] 2 WEEKS EVICTION NOTICE

2001-07-14 Thread Micheal J

 huh ...

 I belive critisism is good when *and only when* a sugested solution folows
 ... as I se it those who need it, should write it ... the mail service
 module ... do not jive support it now ? ...

You've got this the wrong way round. The mailing list is here now. It works
and it's users really like it. The web forum has it's advantages but only in
addition to the mailing list. Nit in place of it as the messages here prove.

 To replicate the web forum to a maillist ... one way would be to have all
 new postings go to the web forum - and then the web forum would resend to
 SMTP ... for a easy sync ? ...

I suspect it would have to be:
- web forum is a user on the list too
- all posted messages on web forum are posted to list too
- all messages received from list by forum (that it did not send) are added
to forum (maintaining thread could be fun)

I am against having the web forum be the mailing list server (i.e. the list
is handled by a list server component of the web forum system) until it has
been proven for a long while. The SourceForge infrastructure is very proven
and we should use that until we have a proven alternative.

In the meantine, we can have a web forum list running on the mailing list
management component of the web forum (if such a thing exists) to see how
well it performs.


Cheers,

Micheal




 /peter


 on 1-07-13 10.22, Jason Dillon at [EMAIL PROTECTED] wrote:

  Ouch.
 
  --jason
 
 
  On Thu, 12 Jul 2001 [EMAIL PROTECTED] wrote:
 
  On Thu, Jul 12, 2001 at 03:41:12AM +0200, Peter Fagerlund wrote:
  Ahhh ... pushing forward is hard ... change ... the pain of
 growing ...
  cognisance dissonance - from having to change a GUI ... ;-)
 ... I to feel
  uncomfortable but recognise it is me - having to adapt really
 ... Just have
  hourly/daily/monthly *text* tome's downloadable for those
 who like to read
  and grep offline ... could be one simple solution ...
 
  Actually, when it comes to user interfaces, moving to an exclusively
  web based solution is a significant step backwards. With mail, the
  content and the presentation are very firmly separate. As a user, I am
  only bound by the content and I can use whatever presentation I
  like. I have used my mail reader for years and have become very
  comfortable with it. This is true for many others. If I become unhappy
  with the way my mail is presented, I can get _any_ other mail reader
  that supports the content format (SMTP) and use that in stead.
 
  The exclusively web based solution integrates both content and
  presentation into one. I have to be satisfied with the way the web
  solution chooses to present the content to me and there is no way I
  can change this to fit myself. Not to mention that I have to be happy
  with the excessively crappy web forms text editor when composing
  messages.
 
  It represents a step backwards in terms of usability, apparantly in
  order to pave the way for a step forwards in implementation (i.e., use
  web/jboss/whatnot). I don't like it when the usability of a service is
  sacrificed in favour of some behind-the-scenes implementation details
  that I couldn't care less about (as a user).
 
  But that's just me - a picky end user.
 
  As a developer, I find the jboss/jetty/web forum thing very
  interesting. But I was very disappointed to learn that it won't
  support SMTP as this limitation makes it largely useless for anything
  halfway serious. In my opinion.
 
  Cheers
  Bent D
 
 
 
  ___
  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] NOT NULL constraint

2001-07-14 Thread Ludovic Orban

Hi Tristan,

Thanks for your help, but I already developed my bean this way. We managed 
with Burkhard Vogel to find out what was the error and we discovered that 
the version of Oracle I'm using (at least) interprets empty strings as NULL 
values.

I don't know if this is a normal behaviour in Oracle or if this is a bug 
but from my point of view I would say that this isn't a correct behaviour.

Ludovic


--On vendredi 13 juillet 2001 15:34 +0200 Tristan Donaldson 
[EMAIL PROTECTED] wrote:

 You need to provide the ejb with all of the information required for the
 SQL insert statement in one operation.  Hence it needs to be included in
 the ejbCreate method.

 Just create a new ejbCreate method which takes in both the primary key and
 all of the not null fields.

 eg:

 public Object ejbCreate(Integer id, String name) {
this.id = id;
this.name = name;
 }

 Another option is to default the name field (but this is doing what the
 not null field is trying to stop)

 public Object ejbCreate(Integer id) {
this.id = id;
this.name = No Provided;
 }

 In both of these cases name doesn't need to be part of the primary key.

 Tristan.


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



RE: [JBoss-user] jboss on start up

2001-07-14 Thread Richard Bottoms

At 02:43 AM 7/14/01 -0700, you wrote:
Just wait 'till the 6.1 kernel comes out; it's gonna be sweet!

=P

--jason

Un Huh.

Now, does any have the same problem of the JBoss daemon script running, but
the program not actually starting. I am running Red Hat Linux 6.1. I have
chosen not to upgrade the kernel beyond 2.2.12-20 because the system is
stable and I've had no problems.

However, for the smart alecks you can find an excellent tutorial on kernel
upgrade for Red Hat here:

Upgrading the Linux Kernel on Red Hat Linux systems
http://www.redhat.com/support/docs/howto/kernel-upgrade/kernel-upgrade.html

I've used it before on other Linux boxen I manage.


So when you're though laughing, would someone mind addressing the question.


Thanks,
r.b.





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



[JBoss-user] Re: BLOB

2001-07-14 Thread Eric Anderson

I've used CMP and BLOBs with JBoss in the past.  Declare the bean member variable that 
will hold your BLOB data as a byte[].  This will get mapped to the jdbc-type of 
JAVA_OBJECT.  Then check (standard)jaws.xml to see that the mapping for this exists.  
It looks like the mapping below - BLOB(2000) - was taken from the DB2 section of 
standardjaws.xml.  DB2 does not seem to have an arbitrary-sized BLOB type, you have to 
declare a maximum size for a BLOB in advance.  You might want to keep this in mind 
when choosing a database.  Postgres has a BLOB type of unlimited size. 

My experience doing BLOB inserts with Postgres and DB2 and with JBoss is that it's 
horribly slow.  I believe the database is the problem - DB2 was maybe 25% faster than 
Postgres but neither was fast enough for high-volume inserts, and this was with fairly 
small BLOBs - 10k-20k.  It's possible that the overall problem was not caused by the 
databases but by JAWS and/or RMI overhead.

One thing I'd like to figure out is how to do these BLOB operations while minimizing 
memory use at both the client and the server.  To make BLOBs work with CMP I've had to 
buffer the blob in memory as a byte[] member variable, both at the client and in the 
bean instance.  Is there a more efficient way to achieve the same thing?  It would be 
wonderful if you could declare an InputStream member and have the RMI serialization 
code read from this at the client w/o a lot of in-memory buffering.  I know that some 
JDBC drivers can handle InputStream parameters on PreparedStatements, but JAWS doesn't 
seem to support this.

Regards,
Eric

Message: 8
Date: Sat, 14 Jul 2001 03:04:25 -0700 (PDT)
From: Jason Dillon [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
To: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Subject: Re: [JBoss-user] BLOB
Reply-To: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

It looks like JAWS can persist objects via BLOB... but that is just a simple
guess by looking at the standardjaws.xml, it has some lines that look like
this:

  mapping
java-typejava.lang.Object/java-type
jdbc-typeJAVA_OBJECT/jdbc-type
sql-typeBLOB(2000)/sql-type
  /mapping

Which would lead me to believe that you could get JAWS to persist to a record
with a BLOB column.  I would try it.

--jason



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



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

2001-07-14 Thread G.L. Grobe



btw- I'm using BMP, does this change anything 
since the docs only talk about CMP for this part of the config?


  - Original Message - 
  From: 
  G.L. Grobe 
  To: [EMAIL PROTECTED] 
  
  Sent: Saturday, July 14, 2001 1:18 
  AM
  Subject: [JBoss-user] dbase is acting way 
  too slow
  
  My DBase queries are 
  extremely slow, but they work. I'm doing a query through *7* records in a 
  table and it literally takes 10-20 seconds for each query.I copied the 
  postgresql driver into ~/lib/ext dir. I also added the following to my 
  jboss.jcml file.--- jboss.jcml (JDBC section) 
  -mbean code="org.jboss.jdbc.JdbcProvider" 
  name="DefaultDomain:service=JdbcProvider"attribute 
  name="Drivers"org.postgresql.Driver/attribute/mbeanI 
  *DO NOT* see the messages that should look similiar to this in the jboss 
  output.---[JDBC] Loaded 
  JDBC-driver:oracle.jdbc.driver.OracleDriver [JDBC] Could not load 
  driver:com.sybase.jdbc2.jdbc.SybDriverAny help much 
  appreciated.


Re: [JBoss-user] How to send message to MDB

2001-07-14 Thread Jason Dillon

Get your InitialContext, and

 TopicConnectionFactory factory =
   (TopicConnectionFactory)context.lookup(TopicConnectionFactory);
 topicConnection = factory.createTopicConnection();
 topicConnection.start();

These names are defined in jbossmq.xml (at the bottom, each is an
InvocationLayer).

To see all of the JNDI names that are currently bound in your server
instance, check out the JNDIView service (from the JMX Html Adapter; it
defaults to port 8082, if you have not taken a look I certainly would).

--jason

On Sat, 14 Jul 2001, Wei-ju Wu wrote:

 But how does one retrieve the connection factory ?
 I didn't find any documentation to setting up the
 client.

 In Bea Weblogic you can do this:

 TopicConnectionFactory factory =
 (TopicConnectionFactory) context.lookup(weblogic.jms.ConnectionFactory);
 topicConnection = factory.createTopicConnection();
 topicConnection.start();

 What would be the equivalent in JBoss ?


 - Original Message -
 From: Jason Dillon [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, July 14, 2001 11:40 AM
 Subject: Re: [JBoss-user] How to send message to MDB


  It is just like sending to any other JMS queue (or topic for that matter).
  Lookup the connection factory, lookup the destination (a queue), create a
  connection, create a session, create a producer (sender in this case) and
  send.  If you are in a tx session, then commit, else close everything and
  get on with your life.
 
  If you used JNDI to lookup your resources, you should close the context
 too.
 
  --jason
 
 
  On Sat, 14 Jul 2001, Rajesh Vilasrao Bhujbal wrote:
 
   Hi,
   I developed a MDB called TestMDB. This MDB uses queue.
   I want to send message to this MDB through java client running on
   different machine. how to do it? I have already seen example in jboss
   manual, but it doesn't give code/method for accessing MDB through
   client.
  
   my question is how to get context to message queue and queueconnection
   factory?
  
   Regards
   rajesh
  
  
  
  
 
 
  ___
  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] Re: BLOB

2001-07-14 Thread Jason Dillon

 I've used CMP and BLOBs with JBoss in the past.  Declare the bean member
 variable that will hold your BLOB data as a byte[].  This will get mapped
 to the jdbc-type of JAVA_OBJECT.  Then check (standard)jaws.xml to see
 that the mapping for this exists.  It looks like the mapping below -
 BLOB(2000) - was taken from the DB2 section of standardjaws.xml.  DB2 does
 not seem to have an arbitrary-sized BLOB type, you have to declare a
 maximum size for a BLOB in advance.  You might want to keep this in mind
 when choosing a database.  Postgres has a BLOB type of unlimited size.

I just grep'd for a BLOB, then pasted it.  I have never even used DB2, so I
don't know why I picked that one =|

 My experience doing BLOB inserts with Postgres and DB2 and with JBoss is
 that it's horribly slow.  I believe the database is the problem - DB2 was
 maybe 25% faster than Postgres but neither was fast enough for high-volume
 inserts, and this was with fairly small BLOBs - 10k-20k.  It's possible
 that the overall problem was not caused by the databases but by JAWS
 and/or RMI overhead.

Perhaps you could fix that.

 One thing I'd like to figure out is how to do these BLOB operations while
 minimizing memory use at both the client and the server.  To make BLOBs
 work with CMP I've had to buffer the blob in memory as a byte[] member
 variable, both at the client and in the bean instance.  Is there a more
 efficient way to achieve the same thing?  It would be wonderful if you
 could declare an InputStream member and have the RMI serialization code
 read from this at the client w/o a lot of in-memory buffering.  I know
 that some JDBC drivers can handle InputStream parameters on
 PreparedStatements, but JAWS doesn't seem to support this.

As far as I know there is no way to remote an InputStream (or
OutputStreams).  As far as JAWS supporting InputStream params, I would say
again, perhaps you could fix that.  If it does exist, perhaps you could
document it.

Necessity is the mother of invention.  If you need it, then give it life.

--jason



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



RE: [JBoss-user] tomcat-service.jar in JBoss 2.2.2-Tomcat 3.2.2.zip

2001-07-14 Thread John P. Coffey

Also Scott, I noticed that if I check out the contrib folder without
specifying a tag I get all the sub projects,. If however I use teh
JBoss_2.2.2 tag (which you just indicated was faulty anyhow) I only get the
tomcat sub project.  Now speaking of tomcat, I had a problem in using tomcat
3.2.2 in its ability to resolve JNDI names when looking up remote EJB
objects, I seem to recall it being some form of classloader interceptor
order being incorrect, I was only able to resolve this using Tomcat 4 (Beta)
or alternatively package in a single VM using the tomcat-service, what is
the recomended way to work around this issue?

John Coffey

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott M
Stark
Sent: Saturday, July 14, 2001 12:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] tomcat-service.jar in JBoss 2.2.2-Tomcat
3.2.2.zip


The JBoss_2_2_2 tag was incorrectly moved to a patch committed to the 2.2
branch
that has not been released. I have moved it to the correct version so update
your
workspace using JBoss_2_2_2 to see what is in the current release.

- Original Message -
From: John P. Coffey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 13, 2001 4:54 PM
Subject: [JBoss-user] tomcat-service.jar in JBoss 2.2.2-Tomcat 3.2.2.zip


 In an effort to track down some problems with the tomcat realm, I
attempted
 to build the tomcat service jar from the contrib sources via anonymous
CVS,
 somehow when I asked for the contrib packaged labeled JBoss_2_2_2 the
 resultant built jar file is different in size to the one shiupped in JBoss
 2.2.2-tomcat-3.2.2, as a result the debug information does not align with
 the source code in JBossSecurityManagerRealm.

 Is there something I am doing wrong, doing the same procedure for jbosssx
 workes just fine and symbols match up, here is how I got the source,
should
 I be checking out an alternative label or was theer a last second patchto
 tomcat service that was hacked in after the 2.2.2 build?  The built jar
file
 (tomcat-service.jar is 17,263) where as the one in the
 JBoss_2.2.2-Tomcat_3.2.2 is 19,613 bytes.

 What version went where exactly?
 Thanks in adcance..

 John Coffey
 Pingtel Corp


 CVSROOT: [EMAIL PROTECTED]:/cvsroot/jboss (password
 authentication)
 TCL is *not* available, shell is disabled
 cvs checkout -P -r JBoss_2_2_2 contrib (in directory D:\sourceforge)
 cvs.exe checkout: failed to open D:\sourceforge/.cvspass for reading: No
 such file or directory
 cvs server: Updating contrib
 cvs server: Updating contrib/castorjdo
 .
 cvs server: Updating contrib/security/src/main/resources
 U contrib/tomcat/src/resources/test/index.html
 cvs server: Updating contrib/tomcat/src/resources/test/META-INF
 U contrib/tomcat/src/resources/test/META-INF/application.xml
 U contrib/tomcat/src/resources/test/META-INF/ejb-jar.xml
 U contrib/tomcat/src/resources/test/META-INF/jboss.xml
 cvs server: Updating contrib/tomcat/src/resources/test/WEB-INF
 U contrib/tomcat/src/resources/test/WEB-INF/web.xml

 *CVS exited normally with code 0*


 ___
 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] queue deployment

2001-07-14 Thread G.L. Grobe





  
  

Date Posted: Jul 14, 2001 11:11 PM 

ยป 
  Reply 
  
I'm sending a message 
  to a queue w/ the following lookup in my session bean. I havn't configured 
  anything for the descriptors nor know what needs to be done. Any 
  help much appreciated.--- MySessionBean.java 
  ---try {queueConnectionFactory = 
  (QueueConnectionFactory) 
  ctx.lookup("java:comp/env/jms/managerQueueConnectionFactory");queue 
  = (Queue) 
  ctx.lookup("java:comp/env/jms/managerQueue");}