[JBoss-user] [JCA/JBoss] - WrappedStatement

2005-08-24 Thread aibo
his WrappedStatement? Thanks for all replies, aibo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891397#3891397 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[JBoss-user] [EJB/JBoss] - Re: EJB + JDBC

2005-08-19 Thread aibo
-directory (xxx-ds.xml) where you declare your database configuration. Furthermore you have to set your database as "default"-Database in standardjbosscmp-jdbc.xml/standardjaws.xml. There are many tutorials. Try the JBoss-startguide. aibo View the original post : http://www.jboss.org/

[JBoss-user] [EJB/JBoss] - "Unknown query" - Problem

2005-08-19 Thread aibo
Hi everybody, I have problems to access an EntityBean and don't get along with it. The EntityBeans Home Interface part with the finder-Method looks like this: public UserEntity findByUser(String User, String pwd) throws RemoteException, FinderException; My finder Method in the jaws.xml: findByU

[JBoss-user] [Installation, Configuration & Deployment] - Deploying problem

2005-08-12 Thread aibo
erifi... How can it be that JBoss finds this Class during hotdeploy but not at normal startup??? Anyway, in my ejb-jar.xml I entered the fully qualified name: myproject.TestSB! Thanks in advance, aibo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [EJB/JBoss] - entity-beans / finders EJB1.1

2005-02-25 Thread aibo
I hope someone can help me. I use JBoss 4.0.0 with EJB1.1 and CMP1. For EntityBeans: which deployment descriptors do I need and where are the finder-Methods declared? I currently use ejb-jar.xml (bean-declaration), Jboss.xml (jndi names of beans) and jaws.xml: | java:/informix | InformixDB

[JBoss-user] [JCA/JBoss] - database connection fails

2005-02-23 Thread aibo
Hi, I use JBoss 4.0.0 with an Informix Database. I think, the configuration of the database is ok, because having a look at the JMX-Console (or at the server startup) I can see the following: jboss.jdbc datasource=DefaultDS,service=metadata datasource=informix_jdbc_1,service=metadata But when

[JBoss-user] [Installation & Configuration] - JBoss and rmi

2005-02-22 Thread aibo
Hi, I have searched the forums and the Internet for the question how to get JBoss 4.0.0 work with rmi instead of jnp, but couldn't find an answer. Does anyone know what configurations have to be changed in order to use rmi? What is the client call? for jnp it is e.g: Hashtable env = new Hashtable

[JBoss-user] [EJB/JBoss] - JBoss.xml EJB1.1

2005-02-07 Thread aibo
Hello together, I have an old EJB1.1 application - up to now deployed in Jonas Application Server - (because of several reasons I cannot migrate to EJB2.0). Now I try to deploy these Beans to JBoss 4.0. But I have problems, especially with Entity Beans. Which xml-Files do I really need (also ja

[JBoss-user] [Installation & Configuration] - difference between jnp and rmi

2005-02-07 Thread aibo
Hi, I'd like to know the difference between the jnp-Port (1099) and the rmi-Port (1098). When I try to change the jnp-Port to e.g. 1234 the server starts listening on this port. When I try to change the rmi-Port to 1234 the JBoss - Server does not startup. Can anyone help me, please. Thanks V

[JBoss-user] [Installation & Configuration] - RMI Problem

2005-02-04 Thread aibo
Hello everyone, when I start JBoss 4.0.0 and try to connect with my client over rmi, I get the following errors: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint] at com.sun.jndi.rmi.registry.RegistryContext.lookup(R

[JBoss-user] [Beginners Corner] - Properties

2005-02-04 Thread aibo
Hello, I use JBoss 4.0.0 and have some Property-Files which are used from my application. Now I don't know where to place the properties, so that JBoss finds them when booting. Is there a special folder to put .properties-Files? Thanks in advance View the original post : http://www.jboss.org/

[JBoss-user] [Beginners Corner] - Re: Debug JBoss Sourcecode

2005-02-01 Thread aibo
Hello Pablo, thanks for your answer. But I have one more question: How to mount these folders from the source code to an Eclipse Project? Do I have to create all folders and add all .java-Files (which would be much work) or is there an easier way? Thanks in advance View the original post : h

[JBoss-user] [Beginners Corner] - Debug JBoss Sourcecode

2005-01-31 Thread aibo
Hello everybody, I want to debug the sourcecode of JBoss 3.2.6, but do not know how to do this. Could anyone help me please. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864320#3864320 Reply to the post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [EJB/JBoss] - Re: JBoss 4.0 ejb-descriptors

2004-11-08 Thread aibo
I usually used to take jonas ejb-server for my application. There everything works fine with EJB1.1 and the application is rather huge, so I don't want to migrate to 2.0. But I want to test the JBoss Server if it is better than Jonas for my needs. Isn't it possible to migrate from Jonas to JBos

[JBoss-user] [EJB/JBoss] - Re: JBoss 4.0 ejb-descriptors

2004-11-08 Thread aibo
..hmm, but I use EJB1.1...so I need CMP1.1...or not? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854262#3854262 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854262

[JBoss-user] [Beginners Corner] - JBoss 4 with EJB1.1

2004-11-08 Thread aibo
Hello everybody, I'm using JBoss 4 und EJB1.1. Now I want to know if jaws.xml can further be used or if all specifications have to be in ejb-jar.xml (how does the ejb-jar.xml file look like then? - Example). Many thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [EJB/JBoss] - JBoss 4.0 ejb-descriptors

2004-11-08 Thread aibo
Hi, I'm using JBoss 4 and after having read several instructions and posts I'm not sure which descriptors I need in order to deploy my ejbs. I need the ejb-jar.xml and probably the jboss.xml but what's with jaws.xml. Furthermore it would be nice, if anyone could post a short sample of the neces

[JBoss-user] [Beginners Corner] - Re: connect to JBoss-4.0.0

2004-11-03 Thread aibo
Oh, I think I've described my problem rather weired. I don't mean the port of the client application but the port that I want to connect for the naming service (ejbs, etc.). And the usual jnp-Port is 1099 and within my Client-App. I try to get the initialContext by using this port but it does no

[JBoss-user] [Beginners Corner] - connect to JBoss-4.0.0

2004-11-03 Thread aibo
Hello everyone, I have a "rather simple" problem with JBoss. I want to know how I can access the server from a client application. I haven't changed any ports and try to connect to JBoss-server with "jnp://localhost:1099" but I am not able to connect to the server. What's wrong? Many thanks.

[JBoss-user] [Installation & Configuration] - changing jnp Port

2004-11-02 Thread aibo
Hello, I am using Jboss-4.0.0 and try to change the standard jnp-port(1099) to port 4. Therefore I made the following modifications within the jboss-service.xml file: 4 Anyway, I got the following error message: Failed to connect to localhost:1099 javax.naming.CommunicationException:

[JBoss-user] [Installation & Configuration] - Re: BindException: Address already in use: JVM_Bind question

2004-11-02 Thread aibo
Hi james, obviously, both servers try to use the same ports. e.g. namingService of server1 listens on port 1098 and server2 tries the same und you get those "JVM_BIND" errors. So check your configurations or post your configurations. View the original post : http://www.jboss.org/index.html?mod

[JBoss-user] [EJB/JBoss] - Re: Creating tables at startup

2004-10-28 Thread aibo
Thanks a lot. Everythin works fine now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853229#3853229 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853229 --- This

[JBoss-user] [EJB/JBoss] - Creating tables at startup

2004-10-26 Thread aibo
Hello everybody, I have a problem with JBoss 4.0 and the configuration of two databases. I use hsql for JBoss specific things like jms,etc. and as second database I have informix (for EJB-Access, etc.). I know that in the file /server/deploy/ebxmlrr-service.sar/META-INF/jboss-service.xml one can

[JBoss-user] [Beginners Corner] - Re: Changing default Database on JBoss 4.0

2004-10-25 Thread aibo
Ok, I think it's better to keep hsql for the jms service. Which files do I have to "remodify"? I deleted my informix-jdbc2-service.xml, etc. and put the hsql files instead. What's with the ejb-deployer and those modifications? I want to keep Informix as current "working" database and JBoss shall

[JBoss-user] [Beginners Corner] - Re: Changing default Database on JBoss 4.0

2004-10-25 Thread aibo
Does JBoss really (try to) create those tables, e.g. create table TIMERS ( TIMERID varchar(50) not null, TARGETID varchar(50) not null, INITIALDATE timestamp not null, INTERVAL bigint, INSTANCEPK blob, INFO blob,

[JBoss-user] [Beginners Corner] - Re: Changing default Database on JBoss 4.0

2004-10-25 Thread aibo
Maybe I have to change the sql-properties in informix-jdbc-state-service.xml. POPULATE.TABLES.01 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('guest', 'guest') POPULATE.TABLES.02 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('j2ee', 'j2ee') POPULATE.TABLES.03 = INSERT INTO JMS_

[JBoss-user] [Beginners Corner] - Re: Changing default Database on JBoss 4.0

2004-10-25 Thread aibo
Hmm, the SQL-type is "BLOB" and I changed it in the ejb-deployer.xml. This cannot be the cause of the exception. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852580#3852580 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

[JBoss-user] [Beginners Corner] - Re: Changing default Database on JBoss 4.0

2004-10-25 Thread aibo
After making the modifications I still get the error: 15:02:10,203 ERROR [DatabasePersistencePolicy] Starting failed jboss.ejb:persist encePolicy=database,service=EJBTimerService java.sql.SQLException: A syntax error has occurred. at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.ja

[JBoss-user] [Beginners Corner] - Re: Changing default Database on JBoss 4.0

2004-10-25 Thread aibo
Sorry, I think the real error message is this one: MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss.mq:service=PersistenceManager state: FAILED I Depend On: jboss.jca:name=informix,service=DataSourceBinding Depends On Me: jboss.mq:service=DestinationManager org.jboss.mq.SpyJM

[JBoss-user] [Beginners Corner] - Re: Changing default Database on JBoss 4.0

2004-10-25 Thread aibo
I also added this two files and deleted the one's of hsql. Now i get the message: ObjectName: jboss.ejb:persistencePolicy=database,service=EJBTimerService state: FAILED I Depend On: jboss.jca:name=informix,service=DataSourceBinding Anyway...should I put the xxx-service files etc. in the deploy

[JBoss-user] [Beginners Corner] - Re: Changing default Database on JBoss 4.0

2004-10-25 Thread aibo
First of all thanks for your answer. I now made the modifications in the additional xmls, but how should the informix-jdbc2-service.xml(?) look like. There is no example file in the examples/jms directory for informix. View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [EJB/JBoss] - Only Hot Deployment works

2004-10-25 Thread aibo
Hi everybody, I have a deploy problem with Jboss-4.0.0. I put my jar file (test.jar) in the deploy directory and start JBoss. During startup I receive following error: 2004-10-25 13:29:30,921 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/usr/jboss-4.0.0/server/myserver/de

[JBoss-user] [Beginners Corner] - Changing default Database on JBoss 4.0

2004-10-25 Thread aibo
Hello everybody, I'm rather new to JBoss and wonder how difficult it is to change the default database. I try to use Informix as database and did everything mentioned in the JBoss startguide in the section "Using other databases". 1.) I exchanged the file hsqldb-ds.xml by informix-ds.xml (where

[JBoss-user] [Beginners Corner] - Jboss and Informix

2004-07-19 Thread aibo
nformixDB1 javax.sql.DataSource Container I put the ifxjdbc.jar into the server/all/lib and informix-ds.xml into the server/all/deploy directory. What have I done wrong? Thanks, Aibo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842552#3842552 Reply t

[JBoss-user] [Beginners Corner] - Read in Property files

2004-07-19 Thread aibo
Hello everybody, I need to read in some Property files into JBoss. I put the file location in the "properties-service.xml" and during booting the following message appears: [SystemPropertiesService] Loaded system properties from: file :/C:/usr/local/jboss/server/all/properties/myprops.propertie

[JBoss-user] [Beginners Corner] - Start JBoss from JAVA-class

2004-07-15 Thread aibo
Hello, does anyone know how I can start the JBoss server within Java-code? I have written a Java-class which reads properties and should start JBoss after reading the properties. Jonas for example can be started in a Java-file with the command org.objectweb.jonas.server.Server.main(xxx); I thou