Re: [JBoss-user] Cannot connect to java:/SQLServerPool

2001-06-21 Thread Jonathan Gibbons
Hi Alan, My code generator (LowRoad at http://www.faraway.co.uk/tallsoft/lowroad/) can generate either EJB or non ejb code. Providing you only manipulate value objects then the client code doesn't have to change at all, you just change a config item and the generated code is either fully EJB,

Re: [JBoss-user] Apache+Tomcat+JBoss

2001-06-21 Thread Richard Bottoms
At 12:32 PM 6/21/01 -0600, you wrote: >I wrestled with this problem as well; there is no elegant solution at >this time. Put your java classes and JSP pages in your WAR file, and >keep your static content (HTML and images) completely separate, and >deploy them separately. > > >Jim Crossley wrot

Re: [JBoss-user] jboss-jetty problem - stack traces

2001-06-21 Thread David Castro-Diephouse
Hi Jules. We've still got a hitch in the new version. Now the web server is not starting up at all. Here's what is happening. In JettyService.startService, you added a check to Jetty.isStarted = HttpServer.isStarted. This call is not doing what you want though. HttpServer.isStarted checks

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Guy Rouillier
- Original Message - From: "Nicolai P Guba" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 5:02 AM Subject: [JBoss-user] closing PreparedStatements > Am I correct in assuming that PreparedStatements are cached/pooled and > should not be closed? No, statements

Re: [JBoss-user] [JAWS] and finders

2001-06-21 Thread SoftLiban RAMLAWI Mona
Yes, i did add the finder in the home interface.What is amazing is that the finder is returning an empty collection although no SQL is executed with it. (checking the server.log) here is my jaws.xml :  java:/OracleDB       RespEJB    RESP    false    respId  

[JBoss-user] Table not found

2001-06-21 Thread Boris Garbuzov
Server says, it successfully deployed my CMP application, but client's create method fails. What could it be? -client code-- OrderRemote remote = home.create(); --client error stream--- home = cartEjb/OrderHome javax.ejb.CreateException: Could not c

[JBoss-user] Tomcat/Jakarta Struts

2001-06-21 Thread Grim Shieldsson
Here's a head scratcher for you. Take an EAR with accompanying WAR, with Struts properly nestled in the WAR. Now, run in jboss, throws classpath errors.. can't find the struts bits. Take the SAME WAR, throw in Tomcat without JBOSS embedded. WAR works. Please note, not changes, just lifted the W

Re: [JBoss-user] CMP field type

2001-06-21 Thread danch
jaws.xml goes in the META-INF directory in your ejb-jar (with ejb-jar.xml) -danch Michael Angelo Libio wrote: > Where would/should the jaws.xml sit at? Is this package specific or > global to the entire application server? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EM

RE: [JBoss-user] CMP field type

2001-06-21 Thread Michael Angelo Libio
Where would/should the jaws.xml sit at? Is this package specific or global to the entire application server? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Adam Young Sent: Thursday, June 21, 2001 1:32 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user]

RE: [JBoss-user] jBoss with JBuilder4

2001-06-21 Thread Paul McLachlan
Title: FW: [JBoss-user] jBoss with JBuilder4 This is solved by telling jBuilder where you are running your executable i.e in the jBoss directory.   Setting is Project Properties -> working directory   Cheers, Paul. -Original Message-From: Stephen White (EHPT) [mailto:[EMAIL PROT

RE: [JBoss-user] Petstore deployed on JBoss 2.2.* ??

2001-06-21 Thread Simon Moses
Hi there Holten, I have been trying to get jps1.1.2 to work on JBoss2.2.1. I currently have a build of the jps that will deploy without errors. However, I am having some jndi problems with one of the ejbs. If you want further information I could send you the modifications I have made. Cheers

Re: [JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread Hoong-Shen Wong
The connection type returned to me is org.opentools.minerva.jdbc.xa.wrapper.XAClientConnection I checked through the code for this and it appears to throw an exception if the connection is in a transaction. (didn't actually verify the code, just merely read it). If I do not specify a resource ma

Re: [JBoss-user] Distributed MDB & JMS resouces inside of beans

2001-06-21 Thread Jason Dillon
I found the problem, well I solved my problem is a better way to put it. The session bean (stateful) which I was using to send messages from was creating a session in the ejbCreate() method, then actually used in another. I was assuming that the container would "do the right thing" in this case,

Re: [JBoss-user] jboss.jcml, MySQL

2001-06-21 Thread Roy Yip
Hi! I'm not sure about the Allen Fogleson's example but I can list the steps as follow and hope they will help :- 1. Make sure you've got the JDBC driver jar file "mm.mysql-2.0.4-bin.jar" and put it into %JBOSS_HOME%\lib\ext. It will be loaded into classpath automatically when you start JBOSS. 2

RE: [JBoss-user] SwiftMQ and JBOSS

2001-06-21 Thread Jason Dillon
I believe it stands for Application Server Facility (or perhaps Facilities), but I am not 100% on that. --jason On Thu, 21 Jun 2001, Tejaswi Redkar wrote: > What does ASF mean ? > > Thanks > Tejaswi > > -Original Message- > From: marc fleury [mailto:[EMAIL PROTECTED]] > Sent: Wednesday

Re: [JBoss-user] jboss-jetty problem - stack traces

2001-06-21 Thread Jim Archer
Hi Jules... I just installed the newest and started and I get the exception pasted below... Jim [Container factory] Starting [Container factory] Started [JBossMQ] Starting [JBossMQ] Cannot start the JMS server ! Invalid configuration. [JBossMQ] javax.jms.JMSException: Invalid configuration. [J

Re: [JBoss-user] Will JBoss work with a NULL Principal?

2001-06-21 Thread Scott M Stark
I believe Weblogic uses a default principal if one has not been passed in. JBoss does not. What is name of the principal returned by Weblogic when you invoke getCallerPrincipal() when there is no authenticated user? We need to add a similar notion that allows one to set a default principal to use

[JBoss-user] Re: MVCSoft Persistence Manager and JBoss

2001-06-21 Thread Jim Archer
Hello... Let me take a shot at these... --On Thursday, June 21, 2001 4:43 PM -0600 Da-Ming Duan <[EMAIL PROTECTED]> wrote: > How and where to specify a datasource in a EJB2.0 jar with MVCSoft > Persistence Manager? Can I incude jaws.xml in an EJB2.0 jar to specify a > datasource with MyOracleD

[JBoss-user] Will JBoss work with a NULL Principal?

2001-06-21 Thread Scott Bermon
I seemed to have reached a stopping block on migrating from Weblogic to JBoss.   Our current code base does not provide a Principal / Credential when creating an InitialContext. As a result, when I try to create an EJB, JBoss always returns:   'No security context set'   and then throws an

Re: [JBoss-user] CMP field type

2001-06-21 Thread Adam Young
Don't modify stadardjaws. It is the baseline one deployed with the server. INstead, create a jaws.xml file for you ejbs and put configuration information in there. Try to persist it as is without editing the jaws.xml. If this doesn't work, add an entry in the jaws.xm,l file for your field.

Re: [JBoss-user] Moving objects

2001-06-21 Thread Adam Young
Scott J. Keane wrote: I do this a lot with simple structures. Are you using sometime beyond primitives and their wrappers? > Hello, > > > > I was hoping for help on an application I am trying to design. > I'd like to know if there is something that I can use that will > actually pass

[JBoss-user] Logging in J2EE/EJB world

2001-06-21 Thread Wei Jiang
** Logging in J2EE/EJB world * Overview The needs and scenarios in a distributed computing environment are very different from desktop computing. Server programs must be available 24 x 7 and you can not assume your server is monitored by human all the time. So, server progra

Re: [JBoss-user] primitive CMP primary key

2001-06-21 Thread Adam Young
Primary Keys must be objects. Use Long Uma Shanker wrote: >hello Boris, > I am not sure, but I think it should be public. > public long time = 0; > >/uma >[EMAIL PROTECTED] > >Boris Garbuzov wrote: > >>I am getting deployment error about my primary key type. How can I have it primitive? >

RE: [JBoss-user] SwiftMQ and JBOSS

2001-06-21 Thread Tejaswi Redkar
What does ASF mean ? Thanks Tejaswi -Original Message- From: marc fleury [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 7:09 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] SwiftMQ and JBOSS swiftMQ doesn't support ASF marcf |-Original Message- |From: [EMAIL PRO

Re: [JBoss-user] jboss-jetty problem - stack traces

2001-06-21 Thread Julian Gosnell
Scott, David and Matt, I am just checking JBoss-2.2.2_Jetty-3.1.RC5-4.tgz into jboss/binaries. It should appear at : http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/binaries/JBoss-2.2.2_Jetty-3.1.RC5-4.tgz in an hour or so. If you would like to give it a whirl, click on Revision 1.1 and

[JBoss-user] MVCSoft Persistence Manager and JBoss

2001-06-21 Thread Da-Ming Duan
I am currently investigating MVCSoft EJB2.0 Persistence Manager with JBoss and have a few questions as the following. 1. JAWS is JBoss EJB1.1 CMP native provider. A datasource or connection pool for a particular database can be defined in jboss.jcml using tag and be specified in jaws.xml for a p

Re: [JBoss-user] ObjectMessage cast exception

2001-06-21 Thread Steve Wilkinson
Sorry I found the problem. My bone headed mistake. I was putting a String in the setObject method instead of the object. It works just fine Steve Wilkinson wrote: > I'm using JBoss2.2.2_Tomcat3.2.2 binary distribution. I've created a > MDB that can receive TextMessages just fine. I've rece

Re: [JBoss-user] here's a simple start/stop script

2001-06-21 Thread David Ward
Here's a better one (more configurable, provides more vars at the top and runs as whoever you specify). I would still like to hear from someone who knows jboss better to tell me that yes, this is a safe way to stop things. (I did just recently see a posting before mine with someone else who

[JBoss-user] Problems using oracle's XADataSource

2001-06-21 Thread Jord Sonneveld
Title: Problems using oracle's XADataSource Hello everybody, I am using jboss 2.2.2 with tomcat 3.2.2, and oracle 8.1.7 In my jboss.jcml, I have:  oracle.jdbc.driver.OracleDriver     Oracle     oracle.jdbc.xa.client.OracleXADataSource         jdbc:oracle:oci8:@eonworx    

[JBoss-user] Minerva with Oracle 8.1.7 thin JDBC Driver

2001-06-21 Thread Perry Q Hertler
JBoss 2.2.2 does not successfully start on my Windows 2000 Professional machine if I add the following to my jboss.jcml file: oracle.jdbc.driver.OracleDriver OracleDB org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl jdbc:oracle:thin:@orca:1521:dev1 nmdbtest

[JBoss-user] Minerva with Oracle 8.1.7 thin JDBC Driver

2001-06-21 Thread Perry Q Hertler
JBoss 2.2.2 does not successfully start on my Windows 2000 Professional machine if I add the following to my jboss.jcml file: oracle.jdbc.driver.OracleDriver OracleDB org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl jdbc:oracle:thin:@orca:1521:dev1 nmdbtest

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread Scott M Stark
How are you starting the server process? The only way I can see doing this is redirecting the stderr descriptor to a file as parting of the startup process and then sending the vm a SIGQUIT signal. - Original Message - From: "Michael Bilow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sen

[JBoss-user] Petstore deployed on JBoss 2.2.* ??

2001-06-21 Thread hnorris
Hello - Has anybody successfully deployed the Petstore demo on versions of JBoss 2.2.* ? The JBoss web site deployment directions specify use of JBoss PRE 2.1 - even though I used the patch, I was not able to get the demo to build using JBoss 2.2.* because of missing security classes (org.jboss.

Re: [JBoss-user] primitive CMP primary key

2001-06-21 Thread Uma Shanker
hello Boris, I am not sure, but I think it should be public. public long time = 0; /uma [EMAIL PROTECTED] Boris Garbuzov wrote: > > I am getting deployment error about my primary key type. How can I have it primitive? > > private long time = 0; > - > long

[JBoss-user] primitive CMP primary key

2001-06-21 Thread Boris Garbuzov
I am getting deployment error about my primary key type. How can I have it primitive? private long time = 0; - long --- [Auto deploy] org.jboss.ejb.DeploymentException: Could not deploy file:/D:/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/cartJ2ee.e

Re: [JBoss-user] Distributed MDB & JMS resouces inside of beans

2001-06-21 Thread Jason Dillon
> 1. If you get a XAxxxConnectionFactory and you do not have any process >that actuallt starts the transaction, then you are in trouble. I can not seem to get any XA classes from the JMS RA, so I am not quite sure what you mean here. I was modeling the usage of JMS inside of a bean from some

[JBoss-user] ObjectMessage cast exception

2001-06-21 Thread Steve Wilkinson
I'm using JBoss2.2.2_Tomcat3.2.2 binary distribution. I've created a MDB that can receive TextMessages just fine. I've recently added an ObjectMessage and I receive the following error message. [QueueBean] Transaction rolled back; nested exception is: java.lang.ClassCastException: java.lang.Str

[JBoss-user] here's a simple start/stop script

2001-06-21 Thread David Ward
I've looked through the mail archives, and it looks like people's previous attempts at a jboss start/stop script suitable for /etc/init.d are overly complex, especially since they are copying what's in the run scripts and if JBoss decides to change those, people's custom scripts have to change

Re: [JBoss-user] How to set the classpath to run the InterestClient sample

2001-06-21 Thread Christine
Thank you very much. You are right I didn't add the working directory where the InterestClient is located. It works now. "danch (Dan Christopherson)" wrote: > Do you have '.' in your classpath? > > Christine wrote: > > > I tried to call the test client without .class. but i am getting the same e

Re: [JBoss-user] How to set the classpath to run the InterestClient sample

2001-06-21 Thread danch (Dan Christopherson)
Do you have '.' in your classpath? Christine wrote: > I tried to call the test client without .class. but i am getting the same error. > > Exception in thread "main" java.lang.NoClassDefFoundError: InterestClient > > Allen fogleson wrote: > > >>just call it without the .class if you call it

Re: [JBoss-user] Moving objects

2001-06-21 Thread danch (Dan Christopherson)
Scott J. Keane wrote: > Hello, > > > > I was hoping for help on an application I am trying to design. I'd > like to know if there is something that I can use that will actually > pass a data structure from one system to another. For example, if I > want the file listing of a director

[JBoss-user] jBoss mention in IBM developerWorks article

2001-06-21 Thread Michael Bilow
jBoss received positive mention in an article in IBM developerWorks: http://www-106.ibm.com/developerworks/library/co-tipejbs.html Obviously, since IBM sells WebSphere, the article is focused on that. -- Mike ___ JBoss-user mailing list [EM

Re: [JBoss-user] How to set the classpath to run the InterestClient sample

2001-06-21 Thread Dexter Legaspi
include the directory (or jar) where the InterestClient class is located in your classpath... --- Christine <[EMAIL PROTECTED]> wrote: > I tried to call the test client without .class. but > i am getting the same error. > > Exception in thread "main" > java.lang.NoClassDefFoundError: InterestCl

Re: [JBoss-user] Apache+Tomcat+JBoss

2001-06-21 Thread Jim Crossley
Do you use some sort of naming policy in your JSP pages that identify the "static content location" or do you work some sort of Apache config magic to allow the JSP pages to reference pages relative to the servlet context's document root? If so, what was the policy and/or magic? Bryan Field-Elli

[JBoss-user] Moving objects

2001-06-21 Thread Scott J. Keane
Hello,       I was hoping for help on an application I am trying to design.  I'd like to know if there is something that I can use that will actually pass a data structure from one system to another.  For example, if I want the file listing of a directory on a remote machine, I may implement

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread Michael Bilow
In our installation (Linux), jBoss runs as a server process, which means it has no console. In fact, it runs under the privilege of the "jboss" system user, who cannot even log in. All ownership and permission information is tied to this system user, so running under any other user would be proh

Re: [JBoss-user] How to set the classpath to run the InterestClient sample

2001-06-21 Thread Christine
I tried to call the test client without .class. but i am getting the same error. Exception in thread "main" java.lang.NoClassDefFoundError: InterestClient Allen fogleson wrote: > just call it without the .class if you call it with .class java is looking > for a class called "class" in the pack

[JBoss-user] restrictions or problems with Oracle database

2001-06-21 Thread felix
Hi everybody   I'd like to know if there are some problem about the connection with Oracle database using the Connection pool in JBoss. Or other problems, for example, the use of CLOBs, etc.   Thanks in advance

[JBoss-user] CMP field type

2001-06-21 Thread Boris Garbuzov
Thanks, Richard. So I can specify any field name as persistent and do nothing extra in config files? Or I have to modify standardjaws.xml? > Please tell me if I am any limited with persistent field types for CMP. Can I >specify any > complex class of mine, and cont

[JBoss-user] Re: JAAS problem

2001-06-21 Thread Kenneth Bowen
> From: "Scott M Stark" <[EMAIL PROTECTED]> > > A standalone war should not be able to see ejbs deployed in a seperate jar so > I still don't understand what is deployed where. I do this all the time. If the war archive contains the home and remote interfaces, I have no trouble accessing beans.

[JBoss-user] Re: Exception Could not create MBeanDefaultDomain:service=Naming(org.jboss.naming.NamingService)

2001-06-21 Thread Fred Loney
I suggest you register an MBean to start your server per my previous note and use the standard jboss command. Calling the static jboss main() from your main() is an unusual approach that I wouldn't expect to work. chitrapandian wrote: > Hi, > Onceagain thanks for ur reply, > I have wri

Re: [JBoss-user] Possible bug in jboss

2001-06-21 Thread Toby Allsopp
On Thu, Jun 21, 2001 at 10:36:04AM -0400, Kevin Meldorf (NBK) wrote: > I have been working with Volker Berlin at inetsoftware to get the opta2000 > XDataSource to work with jboss 2.2. Whenever, I tried to > use the inet's XDataSource vs. minerva's XADataSource I would get the > following error: >

[JBoss-user] Two Questions: Connection is broken and POP3 locking

2001-06-21 Thread Tim Sawlor
I'm writing an app that uses the included POP3 provider for sending/receiving emails. Everything is working great, except for two problems: I am occasionally getting a "Connection is broken" message from Hypersonic, when I am trying to create an CMP entity bean. It happens intermittantly, and I

[JBoss-user] jms queue not bound, urgent..

2001-06-21 Thread Prabhakar Ram
Hi,   I'm testing mesage driven beans in jboss-2.2.2. I'm getting the error..   [Container factory] Serious error in init: javax.naming.NameNotFoundException: bizEventQueue not bound[Container factory] java.lang.Exception: javax.naming.NameNotFoundException: bizEventQueue not bound[Containe

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread Igor Rabinovich
Thank you for the answer, I don't have dba is the reason I want to use CMP and not to write SQL statements. Generally I need to store a File in the database but not keep the file data on the disk, but store byte array in the database. Case of MySql max_packet_len is 1MB now and I can increase it

Re: [JBoss-user] JSP problem using JBoss-2.2.2-tomcat-3.2.2 and Apache mod_jk

2001-06-21 Thread Lionel Siau
If u're using mod_jk, u must be using the apache server. In the mod_jk, u must enable the mapping so that apache directs all "/" entries to the tomcat engine to process the queries. RTFM Lionel - Original Message - From: "Uno Engborg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

Re: [JBoss-user] jboss.jcml, MySQL

2001-06-21 Thread Richard Bottoms
At 05:30 PM 6/21/01 +0800, you wrote: >Hi, > >This is the one I use to make mySQL work. Hope it's useful to you too. >Don't forget to put mm.mysql-2.0.4-bin.jar in %JBOSS_HOME%\lib\ext. It's installed. Could you give a simple example of how to use it? May I suggest using Allen Fogleson's Simple

Re: [JBoss-user] jboss.jcml

2001-06-21 Thread Grim Shieldsson
Yes I have.. works quite well. --- Richard Bottoms <[EMAIL PROTECTED]> wrote: > Anyone successfully load and use mm.mysql.jdbc or other MySQL driver > from > an entry in jboss.jcml. > > > Thanks, > r.b. > > > > > > ___ > JBoss-user mailing list >

[JBoss-user] jBoss-tomcat & jcml

2001-06-21 Thread Richard Bottoms
The following is in the JBoss manual regarding changing the jboss.jcml file: >Tell JBoss about the new JBDC driver > >Now that you have installed a JDBC driver for MS SQL Server, you need to tell JBoss that you would like it to use >this driver. Add an entry for the driver to the list of drivers

RE: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Konstantin Priblouda
--- Unico Hommes <[EMAIL PROTECTED]> wrote: > If you have winzip you can open the archive in > winzip, open the Manifest.mf > in notepad from within winzip. Save the changed > Manifest.mf to the hard > drive. Remove the previous Manifest.mf from the > archive, and add the > modified Manifest.mf t

Re: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread Allen fogleson
Your dba is going to hate you...In general I can think of very few reasons to store an object in the database. I would suggest something like a command pattern to handle the situation of not knowing what the array contains. unless you have a limitless assortment of possibilities. you can use the c

Re: [JBoss-user] Apache+Tomcat+JBoss

2001-06-21 Thread Jim Crossley
I'm really surprised there's not a better way, especially since: 1) Tomcat recommends using Apache to deliver static content 2) JBoss recommends using Tomcat to deploy web apps One would think that, by association, there would be a cleaner integration between the three of them. Without regard t

RE: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Unico Hommes
If you have winzip you can open the archive in winzip, open the Manifest.mf in notepad from within winzip. Save the changed Manifest.mf to the hard drive. Remove the previous Manifest.mf from the archive, and add the modified Manifest.mf to the archive. Close winzip. -Oorspronkelijk bericht--

[JBoss-user] Jboss and RMI problem on Solaris

2001-06-21 Thread Bhavin Patel
hi friends, we r running jboss2.2 on solaris and tomcat on linux. the scenario is as under. our naming service is on port 8080 on solaris and rmi is at 1099 on linux. problem: we are calling a remote method on RMIObject(running on tomcat on linux) from Session Bean(on JBoss on Solaris)

Re: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread VASQUEZ_JASON
If you're just using command-line jar, you do it like this: jar -cvfm -Jason Chris Kimpton <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 06/21/2001 11:26 AM Please respond to jboss-user                 To:        [EMAIL PROTECTED]         cc:                 Subject:        Re: [JB

Re: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Mike Hoolehan
It depends on how you created the war file. If you used the jar utility, then use the m option and supply your custom manifest filename right before the jar name (e.g. jar cmf manifestfile jarfile *.class ). If you're building with ant, then use the manifest attribute of the jar task to speci

Re: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Chris Kimpton
Hi, Guess that you are using ant to build your war file, there is an option on the ant jar task to specify the file to use as the manifest.mf file. You then explicitly create your manifest file upfront and then tell ant to use it on the jar task. HTH, Chris --- Paul Tamas <[EMAIL PROTECTED]> w

RE: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Paul Austin
Title: RE: [JBoss-user] how can I modify MANIFEST.MF file How are you creating the war file? If you atre using jar you can use the 'm' option to specify the manifest file on the command line check out the jar docs at http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/jar.html. If you are usin

[JBoss-user] JAAS with JBoss and Tomcat

2001-06-21 Thread SRadford
I've seen this problem posted but can't seem to find anything that sovles it. I am running JBoss 2.2.2 FINAL with Embedded Tomcat. I have written a JAAS Server login module (to authenticate via a DB) based on the JBoss tutorial ages ago. To get JBoss to locate the class I HAD to put the jar con

[JBoss-user] Error in deployment due to a former field

2001-06-21 Thread Pinol, Helen
Hi all, I am using JBoss for many weeks and everything went well since this morning...! Here is my problem: I had a table with the 'msgExp' cmp-field in the database. But I no more need this field, so I removed all stuff related to this field in my whole j

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Nicolai P Guba
> "TY" == Tim Yates <[EMAIL PROTECTED]> writes: TY> Hooray!! And I was worried that I was just being hopelessly TY> paranoid ;-) TY> Thanks for that :-) (I too use Oracle) He's right. When he pointed that out to me I started closing them in reverse order. Even if it's a bit paranoid, con

Re: [JBoss-user] JAAS problem

2001-06-21 Thread Scott M Stark
A standalone war should not be able to see ejbs deployed in a seperate jar so I still don't understand what is deployed where. 1. Show me the contents of your ejb jar file that you place into the deploy directory. 2. Show me the contents of your soap war and tell me how it is deployed. - Ori

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread Nicolai P Guba
> "SMS" == Scott M Stark writes: SMS> Obtain a thread dump of the vm in this situation to see where the SMS> threads are via a Ctrl-\ or SIGQUIT. This gets dumped to stderr SMS> so you need to redirect this or have a huge console buffer or SMS> logging. Ok. Will do as soon as thir reappear

[JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Paul Tamas
Hi all, MANIFEST.MF file is generated when I created the .war file. Could you tell me how can I modify it (I want to add the Class-Path). thanks in advance Paul _ Get Your Private, Free E-mail from MSN Hotmail at http://ww

Re: [JBoss-user] CMP findAll: how to specify order of returned objects?

2001-06-21 Thread danch (Dan Christopherson)
You should be able to do that as a 'defined finder' with an empty query parameter - see the JAWS section of the online manual. Richard Kasperowski wrote: > I have CMP bean with a findAll operation that returns a Collection of > objects. The order of the objects in the collection seems to be

RE: [JBoss-user] Apache+Tomcat+JBoss

2001-06-21 Thread Samuel Bucholtz
We had a similar problem on my last project. We ended up just using brute force to solve the situation, we had tomcat and apache serving from a specific directory. This directory would actually be a symlink to the latest version of the code. We modified our Ant build script to generate the war fi

Re: [JBoss-user] [JAWS] and finders

2001-06-21 Thread danch (Dan Christopherson)
SoftLiban RAMLAWI Mona wrote: > Hi all, > I'm just getting started with jBoss. I successfully deployed my first > CMP bean and mapped it using jaws.jar .. jaws.xml, right? > I added a finder and added it's descriptor in jaws.xml.. > However, this finder is not being interpreted by JAWS .. I t

Re: [JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread danch (Dan Christopherson)
Hoong-Shen Wong wrote: > I do a lookup for it using java:/defaultSourceName. I tried the call and it > works so far as I can execute the SQL (i.e. > if the table doesn't exist, it throws an exception), but it doesn't get > written to the database. And when I checked for > a transaction. It appear

RE: [JBoss-user] CMP findAll: how to specify order of returned objects?

2001-06-21 Thread Nordahl, David C
You can put an order field in the jaws entry SteveBean true STEVE findByAll last_name ASC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Kasperowski Sent: Thursday, June 21

[JBoss-user] CMP findAll: how to specify order of returned objects?

2001-06-21 Thread Richard Kasperowski
I have CMP bean with a findAll operation that returns a Collection of objects. The order of the objects in the collection seems to be arbitrary: sometimes the sequence is A B C, other times the sequence is B A C, and other times objects are returned in a different sequence. As far as I can te

Re: [JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread Hoong-Shen Wong
I do a lookup for it using java:/defaultSourceName. I tried the call and it works so far as I can execute the SQL (i.e. if the table doesn't exist, it throws an exception), but it doesn't get written to the database. And when I checked for a transaction. It appears that JBoss thinks I'm not in a t

Re: [JBoss-user] java.lang.NullPointerException in deployment descriptor - but what exactly

2001-06-21 Thread Sebastien Alborini
Uma Shanker wrote: > > Hello !! > > Here is ejb-jar.xml. Section is commented but was originally > there. Hi, In the assembly-descriptor, you have . This element should not be empty. (should be one of Supports, Required, ...) There is a bug in jboss, so that it fails to report the problem co

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread Igor Rabinovich
What does it mean: switch of the tuned updates for the bean? Where? Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 1:02 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Urgent: storing vector in the

[JBoss-user] [JAWS] and finders

2001-06-21 Thread SoftLiban RAMLAWI Mona
Hi all, I'm just getting started with jBoss. I successfully deployed my first CMP bean and mapped it using jaws.jar .. I added a finder and added it's descriptor in jaws.xml.. However, this finder is not being interpreted by JAWS .. I turned the debugger on and checked server.log, and it just pass

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread Scott M Stark
Obtain a thread dump of the vm in this situation to see where the threads are via a Ctrl-\ or SIGQUIT. This gets dumped to stderr so you need to redirect this or have a huge console buffer or logging. - Original Message - From: "Nicolai P Guba" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: [JBoss-user] Message Driven Beans

2001-06-21 Thread Thomas Hagedorn
Hi Howard, seems that you forgot something like MailQueue MailQueue Standard Message Driven Bean in the jboss.xml. This is the place to bind the MDB to a topic or queue hth tom On Thu, 21 Jun 2001, you wrote: > I'm just starting to experiment with mess

Re: [JBoss-user] quick tutorial

2001-06-21 Thread danch (Dan Christopherson)
adam wrote: > We actually found the same problem in our company's application. Is > this something that should be changed in Jasper? > It's actually rather more complicated than that. The problem is that to get servlets and JSPs to work at runtime, JBoss hooks together a set of ClassLoaders

[JBoss-user] Logging in J2EE/EJB world

2001-06-21 Thread Wei Jiang
** Logging in J2EE/EJB world * Overview The needs and scenarios in a distributed computing environment are very different from desktop computing. Server programs must be available 24 x 7 and you can not assume your server is monitored by human all the time. So, server progra

Re: [JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread danch (Dan Christopherson)
How does your bean get its database connection? Your descriptor doesn't have a resource reference in it. Hoong-Shen Wong wrote: > Hi, > > I am trying out to make a Stateless Session Bean with Container managed > Transactions auto-commit > at the end of a transaction, but it does not appear to

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread Igor Rabinovich
I did not define any new sql type for vector. Vector is java.lang.Object. I don't have any problems with vector but with array which vector class contains. I can read the Vector object from the database, but the vector size is 0 and data array of vector is empty. I try not to use any sql statemen

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread danch (Dan Christopherson)
Jim Archer wrote: > > > Well, maybe now that you and I have verified it and know how to > reproduce it someone will fix it. > > Danch, do you want me to write this up on SourceForge bug list, or is > this a known issue? > Please put it out there as a bug. -danch _

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Tim Yates
Hooray!! And I was worried that I was just being hopelessly paranoid ;-) Thanks for that :-) (I too use Oracle) Tim. - Original Message - From: Allen fogleson <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 3:44 PM Subject: Re: [JBoss-user] closing PreparedSta

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Nicolai P Guba
> "d" == danch <[EMAIL PROTECTED]> writes: d> Tim Yates wrote: >> Wotcha! >> >>> That's what I did. Sorry for not supplying the implementation for >>> that helper. 'ere it is. public static void close( Connection c, >>> PreparedStatement s, ResultSet >> r ) >> >>> { try { if( c != nu

[JBoss-user] Possible bug in jboss

2001-06-21 Thread Kevin Meldorf (NBK)
I have been working with Volker Berlin at inetsoftware to get the opta2000 XDataSource to work with jboss 2.2. Whenever, I tried to use the inet's XDataSource vs. minerva's XADataSource I would get the following error: [UserEntityBean] XAException: tx=XidImpl [FormatId=257, GlobalId=KMELDORM//1,

[JBoss-user] RE: Message Driven Beans

2001-06-21 Thread Ship, Howard
François Charoy pointed me in the right direction. When I switched from using an ObjectMessage to using a MapMessage, things started working. Yea! I suspect it was some kind of silent class loader problem. The class I was serializing was defined by my EJB jar ... I suspect that the container

[JBoss-user] Caching together...

2001-06-21 Thread Antoine . ISIDOR
Ok, shut me if I tell stupid things.. After reading some mails on the "Cache" subject, i've understood that several clients can access to an instance of a stateless session bean or entity bean, but only one client can access to a stateful session bean instance. Then I've understood that you can'

RE: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-21 Thread Paul Austin
Title: RE: [JBoss-user] Log4j & JBoss - HowTo? Robert, With log4j you can separate your log messages to a separate file. I have the following entry in my log4j.properties file which logs my stuff to a new file. ### The nhigh appender log4j.appender.Nhigh=org.apache.log4j.FileAppender lo

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Allen fogleson
also I have always closed things in reverse order.. resultset, preparedstatement, connection. it may or may not matter depending on the drivers i guess, but better safe than sorry. amazingly ihave seen problems with oracle and closing connections before resultsets and prepared statements. at l

Re: [JBoss-user] flase in standardjboss.xml

2001-06-21 Thread Gerry Duhig
Whoops - obviously title should read false! But what does it mean? Gerry - Original Message - From: "Gerry Duhig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 2:16 PM Subject: [JBoss-user] flase in standardjboss.xml > What does this line do or mean? > >

RE: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-21 Thread R . Price
Thanks Paul, Fred & Scott for your replies.  If turning on the log4j service in JBoss is going to give me is logging my stuff with JBoss' stuff, then I'll stick to what we've got.  Think we want to keep them separate anyways.   Robert Price

  1   2   >