[JBoss-user] Troulbles with SunJCE cryptoprovider when located on the classpath (non installed extension) and using static registration

2001-07-25 Thread Mark Thompson
I'm having problems using the SunJCE cryptoprovider when located on the classpath (non installed extension) and using static registration. When used as an installed extension (jar files copied in /lib/ext) all runs smoothly. My client is a simple command line interface that encrypts data with

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

2001-07-25 Thread David M. Karr
In JBoss 2.2.2, using MySQL, I had a sample application, and it had created a table. I manually dropped the table, now I'm trying to figure out how to get JBoss to figure out it needs to recreate the table. I've tried various things, like deleting the deployed jar from the "deploy" directory, an

Re: [JBoss-user] CMP of a byte[] array vanishes on re-deployment(fwd)

2001-07-25 Thread Dmitri Colebatch
ahhh, yes, that sounds like the problem I was trying to work around. Am I correct in assuming that you have an array of byte[] that you then convert using Base64 to a String object. If you then have the String object as the persistent field it should work fine. eg: public class MyEJB {

Re: [JBoss-user] JSPs calling EJBs

2001-07-25 Thread David M. Karr
> "Dobromir" == Dobromir Herzog <[EMAIL PROTECTED]> writes: Dobromir> Hi! Dobromir> I use Tomcat 3.2.1 on first Linux machine and Jboss 3.2.2 on another Dobromir> (IP:213.25.69.82). I'm able to execute Interest example from Jboss's Dobromir> manual but when I converted it to

[JBoss-user] 31174 Segmentation fault.

2001-07-25 Thread Rakesh Shankar Shringi
hi, some times i get the following erroe when i run JBoss. ./run.sh: line 18: 31174 Segmentation fault java -server $JAXP -classpath $JBOSS_CLASSPATH org.jboss.Main $@ It runs fine if i run it again . Can some one tell me what is this eror about. Thanks Rakesh Shringi ___

Re: [JBoss-user] CMP of a byte[] array vanishes on re-deployment(fwd)

2001-07-25 Thread Scott Stevelinck
I just solved my own problem. OID isn't a blob, duh!!! My limited knowledge of PostGresSQL is showing through eh? So I guess I'm out of luck for storing a large amount of data via an entity bean?It appears that I could use OID, but would have to have some file written to the file system so

Re: [JBoss-user] unknown protocol

2001-07-25 Thread Guy Rouillier
What does your jndi.properties file look like for this client? What does you lookup statement look like? - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 7:56 AM Subject: [JBoss-user] unknown protocol > > Hi! > I have a problem when

Re: [JBoss-user] CMP of a byte[] array vanishes on re-deployment(fwd)

2001-07-25 Thread Scott Stevelinck
Technically the column data type is 'OID', the Java object is String, and my mapping is: BLOB OID in my jaws.xml. - Original Message - From: "Scott Stevelinck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 11:03 PM Subject: Re: [JBoss-user] CMP of a byte[] a

Re: [JBoss-user] CMP of a byte[] array vanishes on re-deployment(fwd)

2001-07-25 Thread Scott Stevelinck
Yes, I'm storing it as text. - Original Message - From: "Dmitri Colebatch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 8:05 PM Subject: Re: [JBoss-user] CMP of a byte[] array vanishes on re-deployment(fwd) > sorry - itchy trigger finger... as I was saying

Re: [JBoss-user] passivation exception

2001-07-25 Thread Lars Bjønnes
"Shawn Chambers" <[EMAIL PROTECTED]> writes: > Hi, > > public void getConnection() throws Exception > { > Hashtable env = new Hashtable(); > env.put(Context.INITIAL_CONTEXT_FACTORY, > "org.jnp.interfaces.NamingContextFactory"); > env.put(Context.PROVIDER_URL, "localhost

Re: [JBoss-user] CMP of a byte[] array vanishes on re-deployment

2001-07-25 Thread Dmitri Colebatch
Are you saving the field as text of byte[]. If you're encoding On Wed, 25 Jul 2001, Scott Stevelinck wrote: > I have what I would consider an extremely odd issue. I'm encoding a > byte[] using Base64 into a container managed field. I'm using > Postgres as my back end database. Everything wor

Re: [JBoss-user] CMP of a byte[] array vanishes on re-deployment(fwd)

2001-07-25 Thread Dmitri Colebatch
sorry - itchy trigger finger... as I was saying... if you're encoding it as Base64 I'm assuming its text... just checking - I have this situation working fine with text. cheesr dim -- Forwarded message -- Date: Thu, 26 Jul 2001 10:03:59 +1000 (EST) From: Dmitri Colebatch <[EMAI

[JBoss-user] INTEREST EXAMPLE

2001-07-25 Thread A.L.
I am very new to JBOSS, and am having some trouble understanding how to get TOMCAT to run with JBOSS. I have been able to deploy the INTEREST bean that is provided as an example. Unfortunately I am unable to get the interest servlet to work. If someone could tell me how to do this, or give me t

Re: [JBoss-user] MySQL, CMP Deployment Problem

2001-07-25 Thread Faisal Abdallah
try to remove the deployed app ear from jboss jboss\tmp dir and redeploy your app .. faisal - Original Message - From: Scott Salisbury To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 6:45 PM Subject: [JBoss-user] MySQL, CMP Deployment Problem Hello, I have a CMP bean that I have d

Re: [JBoss-user] Custom Finders

2001-07-25 Thread Richard Kasperowski
Devraj Mukherjee wrote: > Can anyone please send me a copy of their jaws.xml where they have made > use of Custom Finders? true true true true UniqueIdsBean unique_ids BicycleBean bicycle name

Re: [JBoss-user] MySQL, CMP Deployment Problem

2001-07-25 Thread David Jencks
One really silly possibility.. you don't by chance have your old ejb jar in lib/ext?? Or maybe just the interfaces? The MySQL table is correct by the new definition? This might (?) happen if interfaces jar was in lib/ext but beans themselves are deployed in deploy. david jencks On 2001.07.25

[JBoss-user] CMP of a byte[] array vanishes on re-deployment

2001-07-25 Thread Scott Stevelinck
I have what I would consider an extremely odd issue.  I'm encoding a byte[] using Base64 into a container managed field.  I'm using Postgres as my back end database.  Everything works fine when the bean read/writes that byte[] array to the database (of course it's actually writing the encode

[JBoss-user] MySQL, CMP Deployment Problem

2001-07-25 Thread Scott Salisbury
Hello,   I have a CMP bean that I have deployed.  Then, I needed to make a change to it.  I dropped the table in MySQL.  I made changes to the Bean, the remote interface and made an unrelated changed to the home interface.   When I redeployed the bean, it created the table in MySQL properly

[JBoss-user] (no subject)

2001-07-25 Thread Daniel Haynes
Hi, This may be a dumb question as I am kind of new to JBoss. The verifier can't seem to find a class used within an EJB, despite the fact that the ejb jar does contain this class. The jar is sitting in the deploy directory, and is packaged - com/seyes/casino/control/event/CasinoEvent The error

[JBoss-user] (no subject)

2001-07-25 Thread Per Lewau
Subject: Re: [JBoss-user] Problem with connecting to an Oracle database In-Reply-To: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] X-BeenThere

[JBoss-user] JBossMQ as a remote router

2001-07-25 Thread Nasser Matoorian
Hello, I am using a simple JMS based publish - subscribe arrangement with no MDBs (or a Request-Reply arrangement using queue), but JBossMQ as a remote router (accessed via the Internet) fails. Topic Client Application publish a simple hello message to JBoss under the following context:

RE: [JBoss-user] how to configure jboss for mysql and tomcat

2001-07-25 Thread Alex Radka
>how to configure jboss for mysql Prety sure this is all in the doc somewhere so check there for details but he highlights are Add/update jboss.jcml to know what datasource you want to use. I updated DefaulDS to be mysql DefaultDS org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp l

Re: [JBoss-user] JBoss 2.4.0 vs sun.jdbc.odbc.JdbcOdbcDriver vs T omcat

2001-07-25 Thread David Jencks
hmmm, I think there are several configuration problems 1. You appear to be running 2.4, however the XADataSourceImpl has been moved to jbosspool (org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl) 2. You need to include the jdbcprovider mbean with the jdbc-odbc driver at least. --advice-- If thi

[JBoss-user] how to configure jboss for mysql and tomcat

2001-07-25 Thread Scheil, Sven
what do i have to do beside setting Type Mapping Names in jaws.xml to mySQL to use mysql (3.23.39-nt) as persistence layer for CMP under jboss 2.2.2. first i had apache and tomcat (mod_jk) on my w2k server running as development/testing environment. now i have installed jboss in a 2nd step, b

[JBoss-user] Tomcat 4.0 and Jboss integration in the same VM

2001-07-25 Thread Patrick Munis
Title: Tomcat 4.0 and Jboss integration in the same VM Jakarta just release  Tomcat 4.0-beta-6 , it comes with lots of features most notable a new and improved Apache web connector. Has anyone integrated Tomcat 4.0 and Jboss.? Are the any issues with the latest release work ing with Jboss? Wh

Re: [JBoss-user] FW: [JBoss-dev] Custom EJB Exceptions

2001-07-25 Thread Victor Langelo
Throwing RemoteException or custom derived classes from your bean code is depreciated. You should instead throw EJBException or exceptions derived from EJBException. --Victor Tahir Awan wrote: > > HI, > I have custom exceptions which are extending RemoteExceptions and when I > throw them the J

[JBoss-user] Implementing A Stateful Session Bean

2001-07-25 Thread Anthony IVETAC
I have tried to implement a stateful session bean which holds 3 Strings as attributes between method invocations. The problem is that the 3 Strings are not persisted in between invocations & when I need to use them, they are all 'null'. Do I need to add any special syntax to the EJB-JAR file f

[JBoss-user] JMS tool question

2001-07-25 Thread Jörg Schorr
Title: JMS tool question Hi, does anybody if their is a way (tool) to get/view the state of JMS queues and topics? Thanks a lot, jorg

[JBoss-user] FW: [JBoss-dev] Custom EJB Exceptions

2001-07-25 Thread Tahir Awan
HI, I have custom exceptions which are extending RemoteExceptions and when I throw them the JBOSS wraps them into ServerException and RemoteException, why is that? Has anybody got the custom exception to work. My interface declares the method properly such as throwing those custom exception.

Re: [JBoss-user] Problem with CMP Bean cache with different finder methods

2001-07-25 Thread Scott M Stark
Submit a bug to sourceforge with your example program. - Original Message - From: "Penhey, Tim" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 4:32 AM Subject: [JBoss-user] Problem with CMP Bean cache with different finder methods > I searched the archives, b

[JBoss-user] EJB environment entry jndi naming

2001-07-25 Thread Daniel CAUNE
Hi, Sorry for this next stupid question! An environment entry, defined in a EJB deployment file, can be retrieved (from this EJB) by prefixing its name with "java:comp/env/", exact ? somePaths/myEntryName java.lang.String myValue => initialContext.lookup("java:comp/env/somePaths/myEnt

Re: [JBoss-user] users.properties & roles.properties

2001-07-25 Thread Scott M Stark
Either one will work. - Original Message - From: "Chris Adams" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 1:45 AM Subject: [JBoss-user] users.properties & roles.properties > > Hi all, > > A very stupid question, but where should these files be kept? >

Re: [JBoss-user] Problem with CMP Bean cache with differentfinde r methods

2001-07-25 Thread Penhey, Tim
We were using JBoss 2.2.2, but following your comment, I downloaded 2.4 beta with Tomcat and tried that. We had exactly the same symptoms as before. Tim - What jboss version are you using? This may have been fixed in 2.4, something like it

RE: RE: [JBoss-user] EJB as a CORBA client

2001-07-25 Thread Schouten, Andreas
If You obtain the nullpointer in a class ..internal.CodeBase ... (or simular) remove this server property: System.getProperties().remove("java.rmi.server.codebase"); or better use the jdk from IBM. There ORB implementation seems to be more accurate. We don't have problems with our corba connecto

[JBoss-user] Problem with EJB JNDI name

2001-07-25 Thread Daniel CAUNE
Hi, I get a "javax.naming.NameNotFoundException" while I try to retrieve the home of my EJB with the correct jndi name: InitialContext iniContext = new InitialContext(); PlayerAttributeClassHome home = (PlayerAttributeClassHome) iniContext.lookup("example1/PlayerAttributeClass");

RE:RE: [JBoss-user] EJB as a CORBA client

2001-07-25 Thread mmathias
Hi Annegret, I'm having a similar problem, could you give more details in how was the workaround? My enviroment is sun jdk 1.3.1, Jboss 3.2.2. I can manage to make a java program call a CORBA component, but when I try using an Jboss EJB I have the same exception. Thanks, Marcelo > From: "S

RE: [JBoss-user] JBoss 2.4.0 vs sun.jdbc.odbc.JdbcOdbcDriver vs Tomcat

2001-07-25 Thread Martin Welch
Title: RE: [JBoss-user] JBoss 2.4.0 vs sun.jdbc.odbc.JdbcOdbcDriver vs Tomcat David, >>do you see "Started Jboss 2.5 Alpha in 11 sec" or something like >>that on the console? Yes, I do. >>If both your datasources are to access, try making >>at least one to hypersonic or something else, j

[JBoss-user] Cloudscape & JBoss

2001-07-25 Thread Alison Stevenson
Hello there, I'm trying to set up Cloudscape with Jboss and having some problems. I'd appreciate any advice anyone would care to offer. I've followed these steps: Ø Install Cloudscape and change the port to 1098 Ø Add the Cloudscape driver (COM.cloudscape.core.RmiJdbcDriver)to jboss.jcml: or

Re: [JBoss-user] JBoss DTDs?

2001-07-25 Thread Andrew
DTD describes xml file structure so DTD for standardjaws.xml and jaws.xml in you project are same.This .dtd is in lib\ext\jboss.jar file his path- org\jboss\metadata\jaws.dtd. - Original Message - From: Heiko Dittrich To: Jboss-user Sent: Wednesday, July 25, 2001 3:5

Re: [JBoss-user] JBoss DTDs?

2001-07-25 Thread David Jencks
(same dtd) I thought they were in binary downloads, they are certainly in cvs jboss/src/resources/org/jboss/metadata/ david jencks On 2001.07.25 07:53:24 -0400 Heiko Dittrich wrote: > Hello, > where can I download the DTDs for jaws.xml and standardjaws.xml? > Thanks, > heiko > > >

Re: [JBoss-user] Problem with CMP Bean cache with different finder methods

2001-07-25 Thread David Jencks
What jboss version are you using? This may have been fixed in 2.4, something like it was. david jencks On 2001.07.25 07:32:05 -0400 "Penhey, Tim" wrote: > I searched the archives, but could not find any other messages which are > experiencing the same problems that I am getting at the moment. >

Re: [JBoss-user] JBoss 2.4.0 vs sun.jdbc.odbc.JdbcOdbcDriver vs Tomcat

2001-07-25 Thread David Jencks
I haven't tried it but offhand I don't see any reason putting your second datasource mbean at the end of jboss.jcml shouldn't work. Also it looks to me as if his mbean is where it should be. I wonder if this is due to the reported lack of multithreading in the bridge? Does starting jboss comple

RE: [JBoss-user] Possible to remove records relating to CMP beans?

2001-07-25 Thread ALex Loubyansky
Hi! You can set your jaws.xml file to drop table(s) after undeployment. mySQLDS mySQL FriendBean FRIEND true ... == The remove-table set to tru

RE: [JBoss-user] passivation exception

2001-07-25 Thread Sternagel Annegret (PN-SYS/DAS)
It seems that the Connection class is not serializable. So either you can close the connection directly after use and do not hold it as bean attribute or close the connection in ejbPassivate() and reopen it in ejbActivate(). Annegret > -Original Message- > From: Shawn Chambers [SMTP:[EM

[JBoss-user] Possible to remove records relating to CMP beans?

2001-07-25 Thread Ian McFarland
Hi all, I'm trying to implement an example from an O'Reilly book, I've deployed an entity and session bean in two separate jars, without any problems. The problem arises when I run the client (through my IDE kawa) The client should return a list of CabinBeans (via findBrPrimaryKey) I always ge

[JBoss-user] JBoss DTDs?

2001-07-25 Thread Heiko Dittrich
Hello, where can I download the DTDs for jaws.xml and standardjaws.xml? Thanks, heiko OSC - OFFIS Systems and Consulting GmbHDipl.-Inform. Heiko DittrichIndividuelle SystemeIndustriestraße 11, 26121 OldenburgTel.: 04 41/3 50 42-3 27

[JBoss-user] unknown protocol

2001-07-25 Thread simon . rivas
Hi! I have a problem when I run a client. It says : javax.naming.ConfigurationException: Invalid URL: jnp://172.18.61.18:1099. Root exception is java.net.MalformedURLException: unknown protocol: jnp What can I do? Simon ___ JBoss-user mailing list [EMA

AW: [JBoss-user] JBoss 2.4.0 vs sun.jdbc.odbc.JdbcOdbcDriver vs Tomcat

2001-07-25 Thread Heiko Dittrich
Title: JBoss 2.4.0 vs sun.jdbc.odbc.JdbcOdbcDriver vs Tomcat Hello! you can not just add it at the bottom. You have to look for the JDBC Section and modify the mbeans given there. -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Martin

[JBoss-user] Problem with CMP Bean cache with different finder methods

2001-07-25 Thread Penhey, Tim
I searched the archives, but could not find any other messages which are experiencing the same problems that I am getting at the moment. We have a small project attempting to use Entity beans using CMP. Our home interface defines a few different finder methods. findByPrimaryKey and findByPerson

[JBoss-user] JBoss 2.4.0 vs sun.jdbc.odbc.JdbcOdbcDriver vs Tomcat

2001-07-25 Thread Martin Welch
Title: JBoss 2.4.0 vs sun.jdbc.odbc.JdbcOdbcDriver vs Tomcat JBoss-2.4.0_Tomcat-3.2.2 Win2K Hi, I've decided to add a connection pool and so I've added this to the bottom of jboss.jcml. -      sun.jdbc.odbc.JdbcOdbcDriver        org.opentools

[JBoss-user] Please help me

2001-07-25 Thread riyaz ahamed
hi, I am new to JBoss, I installed it and then when I started JBoss, it's auto deployer has given the following error for the very simple bean and for the interest bean. Please, can anybody help me. Riyaz ahamed. [Container factory] javax.naming.CommunicationException. Root exception is ja

RE: [JBoss-user] Problem in Interest Servlet !!!

2001-07-25 Thread Martin Welch
Title: RE: [JBoss-user] Problem in Interest Servlet !!! Prashant, It looks like you and me are following the same path learning JBoss. I've just hit the same problem as you. I've just posted this to tomcat-user but it might be worth cross-posting here. Could anyone shed any light on this fo

[JBoss-user] Problem in Interest Servlet !!!

2001-07-25 Thread Prashant Sarode
Hi all, I am using Jboss v2.2.2 with embedded tomcat v3.2.2 on NT5. I've successfully deployed the interest sample application & run the client & its running perfectly fine. Also, I compile the InterestServlet & kept it in Tomcat's E:\tomcat\webapps\examples\WEB-INF\classes directory. I've cha

[JBoss-user] users.properties & roles.properties

2001-07-25 Thread Chris Adams
Hi all, A very stupid question, but where should these files be kept? Should they be zipped into the ear, or should the go into the conf folder within jboss. Thanks Chris Adams == Regus Computer Services Ltd Direct Line: 01279 712010 ESN: 6-741-2010 Switchboar

RE: [JBoss-user] EJB as a CORBA client

2001-07-25 Thread Sternagel Annegret (PN-SYS/DAS)
We have written a utility class used by EJBs to access a CORBA server using jacorb and it works well. I've not done it by myself but I know there had been problems with the order in the CLASSPATH. Ciao Annegret > -Original Message- > From: Ricardo Temporal [SMTP:[EMAIL PROTECTED]] > Sent

[JBoss-user] Re: JBoss-user digest, Vol 1 #1193 - 10 msgs

2001-07-25 Thread Sharath
Thanks guys. But the solution you are offering is if i choose only one particular language.But for my application,i should be able to choose any language at my will and wish.ie i can choose english at the starting and later on shift over to hindi or any other language. Please ADVISE Thanks regard

[JBoss-user] blocking when reading the same Entity in 2 transactions

2001-07-25 Thread Bodlak Günther gbo09
Hi, I'm using jboss2.2.2, jdk1.3, win2k, oracle8.1.7. Please take a look at the following code. It is a Session Bean that looks up a Entity Bean, PrimaryKey = "1", invokes a getter-Method and sleeps for 10 seconds. When I call the Session Bean from 2 clients I get the following output: [TestSes

RE: [JBoss-user] Getting multiple session Ids in the servlet.

2001-07-25 Thread Saint-Martin Cecile
Are URLs hostname the same each time you submit your form? ( http://localhost/myServlet and http://hostname/myServlet don't result in the same session). Do you submit your form in the same window? SAINT-MARTIN Cecile [EMAIL PROTECTED] > -Message d'origine- > De : [EMAIL PROTECTED] > [mai

Re: [JBoss-user] Internationalization

2001-07-25 Thread Tomasz Skutnik
Ernest Chen wrote: > Not sure if this will help you, when you startup jBoss, you might want > to specify the encoding scheme in run.sh or run.bat > > > > java -server $JAXP -Xms256m -Xmx1024m -classpath $JBOSS_CLASSPATH > -Dfile.encoding=8859_1 org.jboss.Main $@ > > > > Add the encoding

AW: [JBoss-user] JBoss and Oracle

2001-07-25 Thread Heiko Dittrich
Thank you Guy, you where right! Version 2.4 uses org.jboss.pool...   I really like JBoss, but the documentation needs a major update.   -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Guy RouillierGesendet: Dienstag, 24. Juli 2001