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

2001-06-22 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

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

2001-06-22 Thread Faisal Abdallah
hi Me too I am having the same pb with ejb bounding :This is what I get so far Server Error ejb not bound Oops! Your request cannot be completed. The server got the following error. com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureException: ejb not bound at

Re: [JBoss-user] Is it possible to have something cached in EJBwithout storing it in the DB?

2001-06-22 Thread ZHU Jia
Thanks for your kind reply! [EMAIL PROTECTED] schrieb: What do you think about stateful session beans? For example, if you take the stateful session bean, you have the conversational state. Having the big cache you can expect that your bean will remain in memory. At least, when the bean is

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

2001-06-22 Thread Simon Moses
Hi Faisal, this was the same error I had at one stage. I think that the jboss-web.xml file your are using is not correct. The jndi name for the ShoppingClientController is: ejb-ref-nameejb/scc/ejb-ref-name jndi-nameTheShoppingClientController/jndi-name However, this should be:

Re: [JBoss-user] Tomcat/Jakarta Struts

2001-06-22 Thread SRadford
Not a solution at all, just a statement. I deploy Struts WAR's into jboss (Embedded Tomcat) with no problem. Sean Grim

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

2001-06-22 Thread Richard Bottoms
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. Create a new database record in mysql, let's call it sample. 3. Create a new temp table with sql statement such as

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

2001-06-22 Thread Julian Gosnell
Hhmmm... That's the trouble, you add code to make something more robust, and end up just introducing a new problem. I'll stick up a new build tonight and this one will fly ! I don't understand how I managed to deploy onto my copy last night - perhaps we are using very different config files.

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

2001-06-22 Thread Ralf Purnhagen
Tim Sawlor wrote: 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 haven't been able to piece together the exact set of circumstances that causes it yet. Anyone have any ideas? Perhaps

[JBoss-user] jsp only

2001-06-22 Thread Richard Bottoms
Can someone do a simple JSP only app deployed using an .EAR file. I want to deploy an .EAR file with only JSP pages in it, no calls to EJB's or page redirects. Thanks, r.b. ___ JBoss-user mailing list [EMAIL PROTECTED]

[JBoss-user] Re: Table not found

2001-06-22 Thread Ralf Purnhagen
Order is a reserved word in SQL. Try to give your table another name (through jaws.xml). Ralf Boris Garbuzov wrote: Server says, it successfully deployed my CMP application, but client's create method fails. What could it be? -client code-- OrderRemote remote =

[JBoss-user] problems with server with 2 network cards

2001-06-22 Thread Patrick Buchinger
hi everybody! i have a server with 2 network cards in it, one is connecting to the internal network (let's say ip=192.168.0.100) and one is connecting to the internet (let's say ip=212.172.122.17). the os of the server is linux (kernel 2.2.16). the server also is the gateway from the internal

RE: [JBoss-user] Jboss and RMI problem on Solaris

2001-06-22 Thread RRokytskyy
Hi! I had similar problem with JBoss, however, I had quite sophisticated packet filtering there. So, I had to enable the communication between both hosts (both were running Solaris). Also I had to add the localhost to the /etc/hosts.equiv file. Maybe this will help in your case too. If such

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

2001-06-22 Thread RRokytskyy
Hi, default-entity create-tabletrue/create-table remove-tablefalse/remove-table tuned-updatesfalse/tuned-updates read-onlyfalse/read-only time-out300/time-out select-for-updatefalse/select-for-update /default-entity I would move your

RE: [JBoss-user] Minerva DataSource Error

2001-06-22 Thread Reynir Hübner
well your JDBC-connection URL is not correct (it´s missing @-sign) correct would be : jdbc:oracle:thin:@hostName:portNumber:InstanceName this should be the config for you then : jdbc:oracle:thin@spirou:1521:AGENCE bye Reynir Þór Hübner [EMAIL PROTECTED] www.hugsmidjan.is -Original

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

2001-06-22 Thread Roy Yip
Hi Richard, It seems your JBOSS couldn't load org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl.class from the classpath. This class file should be packed in minerva-1_0b3.jar and you should be able to find it in %JBOSS_HOME%\lib\ext (I'm using JBOSS 2.2.1). If you find you've missed the

[JBoss-user] IDSDriver Connection Pool

2001-06-22 Thread Jérôme Audouy
Hi, I use this config for the IDS Driver to use Connection Pool, and it not works. someone can help me, please ? mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider attribute

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

2001-06-22 Thread Reynir Hübner
I would think that if you had only this in your Jboss.jcml it should work. Do you have 2 JDBC provider Mbeans, it seems like it. you should add this driver (the oracle.jdbc.driver.OracleDriver) to the other Jdbc-provider mbean config (comma sepperated), Or delete the instantDB hypersonic config

[JBoss-user] Succes stories

2001-06-22 Thread Emmanuel Charpentier
Hi guys I'm in the process of recommending JBoss to a big company for its customer pages. It's a big system, with a minimum of 20 million pages viewed each month, and the manager don't want, undestandably, to risk his business on an application server like JBoss, a great

RE: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread RRokytskyy
What's in the jndi.properties in JBoss conf/? I think you have to put the java.naming.provider.url=212.172.122.17 instead of java.naming.provider.url=192.168.0.100 or java.naming.provider.url=localhost -Original Message- From: Patrick Buchinger [mailto:[EMAIL PROTECTED]]

Re: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread Patrick Buchinger
[EMAIL PROTECTED] wrote: What's in the jndi.properties in JBoss conf/? I think you have to put the java.naming.provider.url=212.172.122.17 instead of java.naming.provider.url=192.168.0.100 or java.naming.provider.url=localhost thank you for your answer. there really was

RE: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread RRokytskyy
Hi, there really was java.naming.provider.url=localhost, so i changed it to 212.172.122.17, but still the same Check the jboss.properties. there's a configuration for the RMI dynamic classloading. I'm not sure if this is a case, but you can try. By default it is (I think so):

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

2001-06-22 Thread Per Lewau
On Thu, 21 Jun 2001, Prabhakar Ram wrote: Here's an educated guess...Queues are bound under queue/specified queue name in JNDI. Look it up using queue/bizEventQueue instead. Hi, I'm testing mesage driven beans in jboss-2.2.2. I'm getting the error.. [Container factory] Serious error in

[JBoss-user] MySQL Pool Error: XA Connection... NullPointerException

2001-06-22 Thread Keith Elliott
Hi Folks, We're using RHL 7.1, MySQL, Jboss 2.2.2/Tomcat 3.2.2 combo. We get the following error when starting jboss: ... [JAAS Security Manager] Started [JDBC provider] Starting [JDBC provider] Started [mysqlPool] Starting [mysqlPool] XA Connection pool mysqlPool bound to java:/mysqlPool

Re: [JBoss-user] jsp only

2001-06-22 Thread Per Lewau
On Fri, 22 Jun 2001, Richard Bottoms wrote: Can someone do a simple JSP only app deployed using an .EAR file. I want to deploy an .EAR file with only JSP pages in it, no calls to EJB's or page redirects. Just create an ear file with only web modules. An Enterprise ARchive does not have to

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

2001-06-22 Thread VASQUEZ_JASON
Somebody mentioned here recently to check out the JNDIView MBean from the JMX server port on 8082 (point your browser there) -- go to the JNDIView MBean, and push the 'List' button. You'll get a complete listing everything bound in JNDI, and also be able to see what is visible to each

[JBoss-user] JSP-Tags in Webapplication?

2001-06-22 Thread Christof Lehmann
Hello, I have a Webapplication (.ear) using JSP Tags. I use JBoss-2.2.2_Tomcat-3.2.2. The JSP Tags are in a file pamir.jar. The application is in v4asp.war. In the manifest.mf of v4asp.war is a correct classpath to pamir.jar set because tomcat and jboss find other classes in pamir.jar. Only

RE: [JBoss-user] Tomcat/Jakarta Struts

2001-06-22 Thread Liang Li
What version are you using: JBoss2.2.1_Tomcat3.2.1 or JBoss2.2.2_Tomcat3.2.2? I met a problem that JBoss2.2.1_Tomcat3.2.1 can't deploy all struts-*.war at the same time(always complain java.lang.ClassNotFoundException when deploying struts examples), but after I installed the

Re: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread Nicolai P Guba
PB == Patrick Buchinger [EMAIL PROTECTED] writes: PB hi everybody! PB i have a server with 2 network cards in it, one is connecting to the PB internal network (let's say ip=192.168.0.100) and one is connecting to PB the internet (let's say ip=212.172.122.17). PB the os of the server is linux

[JBoss-user] Free Deployment Tool

2001-06-22 Thread De Closmadeuc, Etienne
Hello. Is there any free war/ear generator with JBoss ? Writing XML is not that fun ... Etienne de Closmadeuc ([EMAIL PROTECTED]) Logica SA 183, route de Canéjan 33173 GRADIGNAN CEDEX Tél : 05.56.75.77.00 ___ JBoss-user mailing list [EMAIL

Re: [JBoss-user] JSP-Tags in Webapplication?

2001-06-22 Thread David Ward
Christof, Your heirarchy (using your file names) should be like this: Webapplication.ear/ META-INF/application.xml v4asp.war/ WEB-INF/web.xml WEB-INF/pamir.tld WEB-INF/lib/pamir.jar If you do it this you don't need to set

Re: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread Patrick Buchinger
Nicolai P Guba wrote: PB == Patrick Buchinger [EMAIL PROTECTED] writes: PB hi everybody! PB i have a server with 2 network cards in it, one is connecting to the PB internal network (let's say ip=192.168.0.100) and one is connecting to PB the internet (let's say ip=212.172.122.17). PB

[JBoss-user] findAll() problem

2001-06-22 Thread MDemian
Hi all, My situation: client JSP  ---  JavaBean Controller class  ---  CMP EJB  --- Database and I have problem with update: 1. client call metod (resetProjects()) at Controller class (this use implicit JBoss findAll(0 metod for get all rows from table), and view rows 2. client select 1 row

[JBoss-user] search LDAP via federated JNDI

2001-06-22 Thread VASQUEZ_JASON
I followed the directions in the documentation for federating LDAP into the JNDI context -- everything appears to have worked properly, as I can view the contents of the directory via the JNDIView MBean. (suggestion: can we limit how many entries show up there? Our directory has 50,000+

Re: [JBoss-user] IDSDriver Connection Pool

2001-06-22 Thread Jérôme Audouy
ok, i see the mistake, the parser doesn't like '' caracters i change the user and the pawwsord like this : mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource,name=SQLServerPool attribute name=PoolNameSQLServerPool/attribute attribute

RE: [JBoss-user] Free Deployment Tool

2001-06-22 Thread Richard Hutton
In the conf directory run the ejx.jar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of De Closmadeuc, Etienne Sent: Friday, June 22, 2001 2:12 PM To: jboss-request Subject: [JBoss-user] Free Deployment Tool Hello. Is there any free war/ear generator

Re: [JBoss-user] Free Deployment Tool

2001-06-22 Thread Andrius Juozapaitis
hey, take a look at ejbdoclet, you can find it at www.sourceforge.net/projects/ejbdoclet regards, --andrius : Is there any free war/ear generator with JBoss ? : Writing XML is not that fun ... ___ JBoss-user mailing list [EMAIL PROTECTED]

RE: [JBoss-user] jsp only

2001-06-22 Thread Tahir Awan
you better just create the .war file as there is no need to have .ear file. Tahir -Original Message- From: Richard Bottoms [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 4:49 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] jsp only Can someone do a simple JSP only app

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

2001-06-22 Thread danch
[EMAIL PROTECTED] wrote: Hi, default-entity create-tabletrue/create-table remove-tablefalse/remove-table tuned-updatesfalse/tuned-updates read-onlyfalse/read-only time-out300/time-out select-for-updatefalse/select-for-update

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

2001-06-22 Thread RRokytskyy
Hi! Since JAWS just uses .equals to check if a field needs to be updated, you should be able to write a Collection whose .equals method does a 'deep' compare. If you do this, remember to implement hashCode similarly (not really needed by JAWS, but it's always a good practice to have

RE: [JBoss-user] MessageDrivenBean and setRollbackOnly

2001-06-22 Thread Griffin, Michael
I call this method from within onMessage. I looked at the source for MessageDrivenEnterpriseContext.setRollbackOnly which checks for an acknowledge mode of CLIENT_ACKNOWLEDGE. I added some debugging code the actual value here when I invoke is AUTO_ACKNOWLEDGE. Maybe the code should check for

[JBoss-user] MySQL Pool Error: XA Connection... NullPointerException

2001-06-22 Thread Jonathan Gibbons
Hi, the problem is your jboss.jcml where you have two mbean jdbcProvider entries. Try having only one with a single attribute of comma seperated driver names mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider attribute

Re: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread awc
I think there is a problem with your NAT (network address translation). The 192.168.0.100 - what is it translated to (the public IP)? Which ports have you open/close from inside/outside? Are you running tomcat/apache in front of JBoss? You can run a tcpdump and see what is going on. and

[JBoss-user] ejb's and applets

2001-06-22 Thread Jay Scherer
Has anyone successfully gotten an applet to work with jboss? I had some problems with fileiopermissions and it looked as though my applet was trying to open a file(maybe a stub/skel) and it didn't have permission to. Someone from another post said that this may be a problem with the ejb spec.

[JBoss-user] PortableRemoteObject.narrow

2001-06-22 Thread Griffin, Michael
When should I use PortableRemoteObject.narrow, and when should I not. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] JBuilder compilation bug ???

2001-06-22 Thread Igor Rabinovich
Hi all! I'm using JBuilder 4 enterprise and have such a strange bug: In remote interface of my entity bean I declare toString function throws RemoteException, but get error in compilation. //Company.java public interface Company extends javax.ejb.EJBObject { public String toString()

Re: [JBoss-user] PortableRemoteObject.narrow

2001-06-22 Thread danch (Dan Christopherson)
You should call that when you look up an EJB's home interface. This is for portability purposes only: if you know you'll never need to run on an IIOP based container (WebLogic, IIS, IONA (though I'm extrapolating here)), you don't really need it. It is a good idea though. -danch Griffin,

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

2001-06-22 Thread danch (Dan Christopherson)
[EMAIL PROTECTED] wrote: Hi! Since JAWS just uses .equals to check if a field needs to be updated, you should be able to write a Collection whose .equals method does a 'deep' compare. If you do this, remember to implement hashCode similarly (not really needed by JAWS, but it's always a

[JBoss-user] ejb-ref Issue / java.lang.ClassCastException: java.lang.NoClassDefFoundError

2001-06-22 Thread Vincent Faidherbe
Hello, Here's my problem : I've an entity bean called WeblogSitem and another entity bean called WeblogStory. They belong to the same application unit. The entity bean WeblogStory needs to use the entity bean WeblogSitem but when it tries to get the Home of the WelogStory, it fails. I've the

RE: [JBoss-user] PortableRemoteObject.narrow

2001-06-22 Thread RRokytskyy
When should I use PortableRemoteObject.narrow, and when should I not. If you use RMI/IIOP (Borland Application Server) then you need to narrow your classes, if you're only using RMI (JBoss), you can omit this. However, personally, I would include this code in all of my context lookups,

[JBoss-user] JBoss, EJB and Applets

2001-06-22 Thread Erik Swenson
Hello, I am trying to get an Applet to lookup an EJB using JBoss. My applet is loaded from a JSP page using jsp:plugin. I initially had problems creating the InitialContext which I finally solved. Now I get the following errors when I do the lookup. In the JBoss window: 2001-06-21 10:10:55

RE: [JBoss-user] JBoss, EJB and Applets

2001-06-22 Thread Sacha Labourey
Hello, If you do not sign your applet, take care that the URL you type in your browser to call your jsp page (i.e. http://myserver/myjsp) has the same server name (i.e. myserver) as the one in your code that you use when you do the jndi lookup. A problem will occur if you use myserver in your

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

2001-06-22 Thread danch (Dan Christopherson)
SoftLiban RAMLAWI Mona wrote: here is my jaws.xml : jaws datasourcejava:/OracleDB/datasource enterprise-beans entity ejb-nameRespEJB/ejb-name table-nameRESP/table-name create-tablefalse/create-table cmp-field field-namerespId/field-name

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

2001-06-22 Thread David Castro-Diephouse
Julian Gosnell wrote: I don't understand how I managed to deploy onto my copy last night - perhaps we are using very different config files. My listener started fine. I think all you should need to reproduce is: jboss.jcml has

Re: [JBoss-user] search LDAP via federated JNDI

2001-06-22 Thread Scott M Stark
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 22, 2001 6:30 AM Subject: [JBoss-user] search LDAP via federated JNDI I followed the directions in the documentation for federating LDAP into the JNDI context -- everything appears to have worked

[JBoss-user] Changes in jboss security integration for 2.4beta

2001-06-22 Thread François Charoy
Hi, I have just downloaded the new beta release (2.4) of jboss/tomcat integration, installed my application but it seems that the tomcat security integration does not work as it used to be. I'm using the DatabaseServerLoginModule and here is my auth.conf (inspired from the great Jaas how to that

RE: [JBoss-user] JBuilder compilation bug ???

2001-06-22 Thread RRokytskyy
Hi, In remote interface of my entity bean I declare toString function throws RemoteException, but get error in compilation. //Company.java public interface Company extends javax.ejb.EJBObject { public String toString() throws RemoteException; } // error

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

2001-06-22 Thread Da-Ming Duan
Thanks Jim. It realy helps. I think there should be someway to specify different datasources with MVC PM, otherwise it is useless for any enterprise application that has its own database. Da-Ming Message: 9 Date: Thu, 21 Jun 2001 20:22:46 -0400 From: Jim Archer [EMAIL PROTECTED] To:

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

2001-06-22 Thread Julian Gosnell
I'll try this tonight. Jules --- David Castro-Diephouse [EMAIL PROTECTED] wrote: Julian Gosnell wrote: I don't understand how I managed to deploy onto my copy last night - perhaps we are using very different config files. My

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

2001-06-22 Thread David Castro-Diephouse
Not true - Using jboss.jcml you can point DefaultDS to whatever database you want. I guess it might be a problem if you wanted to have two distinct databases and to use CMP against both of them at once, but as long as you have only one database you should be fine. Da-Ming Duan wrote:

Re: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread Grim Shieldsson
jboss is prolly doing some localhost :port//URL stuff internally.. I would check /etc/hosts and make sure that you have localhost setup correctly. In addition, for your own security I would port forward through the firewall, rather then put t JBOSS on the firewall. Development environments are

[JBoss-user] Can Home proxies get stale?

2001-06-22 Thread Bill Burke
We save a reference to our homes in a static variable in various classes so that we don't have to keep looking it up. -- class SomeClass { public static MyBeanHome myBeanHome = null; public void init() { InitialContext ctx = new InitialContext(); myBeanHome =

RE: [JBoss-user] Tomcat/Jakarta Struts

2001-06-22 Thread Grim Shieldsson
JBoss2.2.2_Tomcat3.2.2 is the version I'm running... Runs just fine when I deploy to tomcat.. not when I deploy with an EAR. --- Liang Li [EMAIL PROTECTED] wrote: What version are you using: JBoss2.2.1_Tomcat3.2.1 or JBoss2.2.2_Tomcat3.2.2? I met a problem that JBoss2.2.1_Tomcat3.2.1

[JBoss-user] Re: PetStore

2001-06-22 Thread hnorris
Hey Simon - Thanks for your reply. It sounds like both you and Faisal are much farther along in the process since you're getting runtime errors; at this point, I can't even build due to missing security classes, etc. Did you have similar problems building, and if so, how did you work around

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

2001-06-22 Thread Richard Bottoms
At 05:52 PM 6/22/01 +0800, you wrote: Hi Richard, It seems your JBOSS couldn't load org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl.class from the classpath. I downloaded a fresh copy, but still no dice. r.b. ___ JBoss-user mailing list

RE: [JBoss-user] MySQL Pool Error: XA Connection... NullPointerException

2001-06-22 Thread Jord Sonneveld
Title: RE: [JBoss-user] MySQL Pool Error: XA Connection... NullPointerException Try setting your minimum pool size to 1. Had this same problem, only with oracle drivers. In the xadatasourceloader mbean: attribute name=MinSize1/attribute j\s -Original Message- From: Keith

[JBoss-user] Jboss build problem

2001-06-22 Thread Tim Kang - Syoni Communications Inc.
Hi I am trying to build jboss from its source. When I ran build.sh, I get BUILD FAILED java.lang.SecurityException: sealing violation at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at

Re: [JBoss-user] search LDAP via federated JNDI

2001-06-22 Thread VASQUEZ_JASON
No, the code fragment I showed below is within the EJB. I have methods in my EJB which perform a directory lookup, populate a serializable value object and return that object to the client. (that part works fine) -Jason Scott M Stark [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED]

Re: [JBoss-user] search LDAP via federated JNDI

2001-06-22 Thread Scott M Stark
But the stack trace is coming from Client.java:28 which is not inside of the JBoss server. The trace shows that your trying to return an com.sun.jndi.ldap.LdapCtx object through an RMI call and this is failing because a Serializable object is required. Where is the server side problem? -

[JBoss-user] How to specify resource db in cmp entity bean

2001-06-22 Thread Jordi Fernandez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to install a cmp entity bean using mysql db. I don't know how to specify in ejb-jar.xml that I would like to use mySQL as db. I have mysql configured in jboss.jcml: [...] jdbc driver configured here...

[JBoss-user] java.lang.Error: id may not be null

2001-06-22 Thread Boris Garbuzov
Thanks, Ralf. I would have never guessed it myself. I changed ejb name in descriptors from Order to OrderEntiry, and perhaps JBoss changed table name respectively and the process went a bit further. Now it complains about some id to be null. Since I have no such field name, I suspect, it means

[JBoss-user] Security Association Error

2001-06-22 Thread Ray Grieselhuber
I am trying to run the Interest Bean example. I got everything to deploy with no problem, but when I try to run the client, I got the following error: Exception in thread main java.lang.NoClassDefFoundError: org/jboss/security/SecurityAssociation To save some time, let me tell you what I

Re: [JBoss-user] search LDAP via federated JNDI

2001-06-22 Thread VASQUEZ_JASON
Hmm...the remote method can throw a NamingException--just figured this out. It must have been throwing a NamingException, and trying to package up the dirContext into the exception and send it over the wire. I removed that silly exception and handled it internally, and that fixed it. Now--I am

[JBoss-user] Using jboss w/DB2 7.1 on Windows NT

2001-06-22 Thread Jay Walters
Is anybody out there using Jboss w/DB2 7.1? I am having some odd problems with JBoss hanging on startup of the DB pool, DB2 works fine from a standalone JDBC program - before I try and dig in to figure out my problem I thought I'd check if anybody else has it working. Here is my config info

RE: [JBoss-user] Using jboss w/DB2 7.1 on Windows NT

2001-06-22 Thread Jay Walters
Sorry, RTFM, but what is the port # that's supposed to be there with the net driver? -Original Message- From: Jay Walters [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 3:41 PM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] Using jboss w/DB2 7.1 on Windows NT Is anybody out

[JBoss-user] Classpath Order

2001-06-22 Thread mlindsey
I want a class in my ejb-jar file to override/replace a class in lib/ext/some.jar. Every time I access my bean it's picking up the class in some.jar *not* the one in my ejb-jar. How do I control the load order? Mark Lindsey ___ JBoss-user mailing

RE: [JBoss-user] Using jboss w/DB2 7.1 on Windows NT

2001-06-22 Thread Jay Walters
Ok, it was all in the jboss docs - argh, why can't IBM write something like that? If anybody listening regularly uses DB2, is there a standard port you listen on for DB2 with that db2jstrt program? Cheers -Original Message- From: Jay Walters [mailto:[EMAIL PROTECTED]] Sent: Friday,

[JBoss-user] create(), ejbCreate() and id

2001-06-22 Thread Boris Garbuzov
In a CD tutorial example I do not understand the role of id parameter in ejbCreate(String) method and who supplies this string and how. Is it the way EJB provides unique field for easy primary key implementation? Should I necessarily have such a field name in my bean and should I implement

Re: [JBoss-user] Classpath Order

2001-06-22 Thread Scott M Stark
You can't and that is by design. If the class is in the server's classpath that's the one that has to be used. You have to have control of the server classpath to change the class. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 22, 2001 1:01 PM

Re: [JBoss-user] jsp only

2001-06-22 Thread Allen fogleson
The advantage of the ear file is setting the context root of course but other than that I agree a war file would work fine. Al - Original Message - From: Tahir Awan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 22, 2001 10:01 AM Subject: RE: [JBoss-user] jsp only you

Re: [JBoss-user] java.lang.Error: id may not be null

2001-06-22 Thread David Jencks
Hi, In most or all db's I have dealt with, date is indeed a reserved word. david jencks On 2001.06.22 15:18:19 -0400 Boris Garbuzov wrote: Thanks, Ralf. I would have never guessed it myself. I changed ejb name in descriptors from Order to OrderEntiry, and perhaps JBoss changed table name

[JBoss-user] CMP and DB Pools

2001-06-22 Thread Hiep Luong
Where do I specify which connection pool to use for CMP beans or does it always use the DefaultDS pool in jboss.jcml? thanks, Hiep ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] Using Provided JavaMail

2001-06-22 Thread Hunter Hillegas
I read through the section on using JavaMail in JBoss. I have a need to have the from address set programatically, not in the conf file. Can I do this? In the example there is a call to m.setFrom(); but it's not passing anything and the docs indicate that you set that in mail.properties.

[JBoss-user] Using remote ejb inside of a webapp w/Jetty

2001-06-22 Thread Jason Dillon
Can someone explain the exact steps (files to configure and so on) that are requried to use a remote ejb inside of a .war file running inside of Jetty. I am assuming that I need an ejb-ref in the web.xml, but how do I map a reference to a ref-jndi-name ? --jason

[JBoss-user] Trouble with BMP : ObjectNotFoundException, what's the reason ?

2001-06-22 Thread Werner Ramaekers
Hello, I'm running the june 9th - jBoss-2.2.2-Tomcat-3.2.2 build I developped a BMP EntityBean , and the following occurs : The war and the jar files get deployed , i can call the ejbCreate without a problem and the data gets inserted into the database, but any call to the ejbFindByPrimaryKey

[JBoss-user] Can't find tutorial sources

2001-06-22 Thread bcd
I am trying to do the CMP tutorial in the manual. I can't find the CDCollection sources in the actual manual and the pointer from the manual to the files section doesn't work. The pointer points to http://www.jboss.org/documentation/files/ but that's a 404. Help anyone? Cheers Bent D

Re: [JBoss-user] Changes in jboss security integration for 2.4beta

2001-06-22 Thread Scott M Stark
Yes, a little flaw in the automated testing failed to find the problem. I'll do a new release with a fix tonight. - Original Message - From: François Charoy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 22, 2001 8:35 AM Subject: [JBoss-user] Changes in jboss security

Re: [JBoss-user] Using remote ejb inside of a webapp w/Jetty

2001-06-22 Thread Scott M Stark
See the naming and web packages in the jbosstest module. Both have examples of servlets accessing EJBs, JMS queues, etc. - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 22, 2001 3:50 PM Subject: [JBoss-user] Using remote ejb inside of a

[JBoss-user] Problem with having multiple users and Postgres

2001-06-22 Thread cox
hey, i'm having a weird problem where if only one person is hitting my site, it's fine, but as soon as two people hit it, jboss gives tons of errors and doesn't recover. i get the following error over and over. We're using REQUIRED and commit-option A, though we've tried other commit options

Re: [JBoss-user] Using remote ejb inside of a webapp w/Jetty

2001-06-22 Thread Allen fogleson
you do that in the jboss-web.xml. it looks like so ejb-ref ejb-ref-nameenv/ejb/hello/ejb-ref-name jndi-namehello/jndi-name /ejb-ref you put the jboss-web.xml in the WEB-INF directory with your web.xml file. al - Original Message - From: Jason Dillon [EMAIL PROTECTED] To:

[JBoss-user] JMS onException bug?

2001-06-22 Thread JP
The JMS setExceptionListener states: A Connection serializes execution of its ExceptionListener. I seem to be getting the onException() handler called while it's currently processing. Here's my ExceptionListener: public void onException(JMSException exception) { if (onExceptionState ==

[JBoss-user] Packaging Beans Correctly

2001-06-22 Thread Hunter Hillegas
I'm just getting into the meat of this whole J2EE thing and I have a question about packaging my beans... Basically, can I do this: com | company | ejb /|\ e s mdb Basically three directories under each containing different types of beans and then the jboss.xml and ejb-jar.xml at the top

RE: [JBoss-user] Tomcat/Jakarta Struts

2001-06-22 Thread Kevin O'Neill
Grim, I'm using some of the struts infrastructure (tag libs at the moment) in my jmoz application. You can get the latest version via cvs from sourceforge http://jmoz.sourceforge.net to see if I'm doing anything different. It deploys an ear file containing a war file that contains the relevant

Re: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread Michael Bilow
You might try the brute force approach of reversing the interfaces, such that the external IP is on eth0 and the internal IP is on eth1. Many processes which are not multiple interface-aware will simply pick up the address of the first interface they find. Note that this does not involve

Re: [JBoss-user] Problems Compiling

2001-06-22 Thread Uma Shanker
hi, Ok, i have jboss-2.2.2 and there are 2 jar files in lib/ext ejb.jar and ejb2.0.jar first one has interfaces from EJB1.1 specification and 2nd one has EJB2.0 interface. As javax.ejb.MessageDrivenBean is in EJB 2.0 you need 2nd jar. In any case you can check the jar file with command :

Re: [JBoss-user] Packaging Beans Correctly

2001-06-22 Thread Uma Shanker
Hi, more clear : $SOME_WHERE/ com.company.c $SOME_WHERE/ $SOME_WHERE/ $SOME_WHERE/ Jay Walters wrote: you can use any package structure you'd like for your app... the xml files go in the meta-inf directory of the jar file -Original Message- From:

Re: [JBoss-user] Packaging Beans Correctly

2001-06-22 Thread Uma Shanker
Hi, more clear : $SOME_WHERE/ com.company.ejb.s $SOME_WHERE/com.company.ejb.e $SOME_WHERE/com.company.ejb.mdb $SOME_WHERE/ META-INF/*.xml As Jay said you can put ejbs in any package /uma Jay Walters wrote: you can use any package structure you'd like for your

RE: [JBoss-user] Tomcat/Jakarta Struts

2001-06-22 Thread Grim Shieldsson
Thanks alot Kevin, I am really not looking forward to having to depoy a war seperate from the ear.. Mostly for aesthetics somewhat for convience as well. --- Kevin O'Neill [EMAIL PROTECTED] wrote: Grim, I'm using some of the struts infrastructure (tag libs at the moment) in my jmoz

Re: [JBoss-user] Jboss and RMI problem on Solaris

2001-06-22 Thread Michael Bilow
See: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html#nethostname Explicitly tell the RMI server where it lives when starting Java: java -Djava.rmi.server.hostname=198.136.189.254 ... If the RMI server is running on a different machine, then trying to find it on localhost

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

2001-06-22 Thread Roy Yip
Is it still the ClassNotFoundException? Richard Bottoms wrote: At 05:52 PM 6/22/01 +0800, you wrote: Hi Richard, It seems your JBOSS couldn't load org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl.class from the classpath. I downloaded a fresh copy, but still no dice. r.b.

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

2001-06-22 Thread Michael Bilow
Keep in mind that DefaultDS can be mapped to any back-end you like. For example, we map it to PostgreSQL in the jboss.jcml file and use this with MVCSoft, and we do not even configure Hypersonic or InstantDB: mbean code=org.jboss.jdbc.JdbcProvider name=DefaultDomain:service=JdbcProvider

  1   2   >