[JBoss-user] [Beginners Corner] - Re: getResourceAsStream returns null when invoked from an EJ

2006-07-07 Thread lafr
I mentioned META-INF as an example how we use this. What I said is: Don't use the leading slash in the resouce name! Look at http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html for example fro some explanations. View the original post : http://www.jboss.com/index.html?m

[JBoss-user] [Beginners Corner] - Re: getResourceAsStream returns null when invoked from an EJ

2006-07-05 Thread lafr
We use this with JBoss-4.0.4 in a similar way. You may try is without the leading slash in the resource's name. If I remember correct, this is not needed | not allowed. The resouce is searched along the class path. If it's in a subdirectory, e.g. META-INF then "META-INF/config.properties" has to

[JBoss-user] [JCA/JBoss] - Re: Informix error -710 / invalid entries in prepared statem

2006-06-14 Thread lafr
If the reuse of a prepared statement fails because of this (tables or statistics for the tables used in the query have changed since prepare) the prepared statement should be thrown away first. JBoss should then try to create a new prepared statement then. If this also fails, there seems to be a

[JBoss-user] [JCA/JBoss] - Re: Informix error -710 / invalid entries in prepared statem

2006-06-13 Thread lafr
Yes I know. This change was initiated by me. The prepared statements are unusable and should be thrown away and rebuild at this point. But the application should not get any notice about this. How to achieve this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss MailService

2006-06-09 Thread lafr
http://wiki.jboss.org/wiki/Wiki.jsp?page=JavaMail View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950182#3950182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950182 ___ JBo

[JBoss-user] [JCA/JBoss] - Informix error -710 / invalid entries in prepared statement

2006-06-09 Thread lafr
We are using Informix 9.4 and 10.0 as database server. To get the index statistics up to date you'll have to execute an "update statistics" regulary. Most often this is done on the weekend when there is low traffic on the system. If we use the prepared statement cache, the next time a prepared st

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to choose Oracle DEFAULT value over NULL value?

2006-06-07 Thread lafr
No. Move the default value from database to entity bean. In ejbCreate() do this.setMycolumn( 1 ); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949718#3949718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949718

[JBoss-user] [Installation, Configuration & Deployment] - Re: War unable to find classes from common.jar in ear

2006-06-01 Thread lafr
You should not use both. Either add common.jar to your classpath or your application.xml. In my app, a lib is inthe root dir of the ear ans class-path is set to lib.jar with no dor or slash. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948550#3948550 Reply

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Automatic generation of primary key

2006-05-31 Thread lafr
Look for auto-increment and entity-command. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948201#3948201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948201 --- A

[JBoss-user] [Installation, Configuration & Deployment] - Re: Not able to Allocate More then 3Gb to Jboss

2006-05-19 Thread lafr
Then you'll have to use the 64bit JDK. For solaris the 64bit JDK enhances the 32bit JDK with some files. To use it, add "-d64" to the java options. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944994#3944994 Reply to the post : http://www.jboss.com/index.h

[JBoss-user] [Performance Tuning] - Re: JBoss Application server Java limitations

2006-05-17 Thread lafr
Do you use the 64bit engine? Did you provide "-d64" to the command line options? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944390#3944390 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944390

[JBoss-user] [Installation, Configuration & Deployment] - Re: Too many run.sh is running on the Linux box

2006-05-03 Thread lafr
As far as I know on linux the threads are shown as different processes. 85 threads is a high but not an unusual value. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941121#3941121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[JBoss-user] [Beginners Corner] - Re: problem in deploying webservice

2006-04-19 Thread lafr
There seems to be no jaxrpc-mapping-file / WEB-INF/mapping.xml in myWebservice.war or the file is corrupted. Show us the output of "ar -tvf myWebservice.war". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938253#3938253 Reply to the post : http://www.jboss

[JBoss-user] [Beginners Corner] - Re: Start JBoss using account other than root?

2006-04-19 Thread lafr
Any problems doing this? Login as user "other" and call $JBOSS_HOME/bin/run.sh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938252#3938252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938252 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ConnectionFactory not bound error

2006-04-17 Thread lafr
I don't have an JBoss system available at the moment, but JNDi-names with prefix "java:/" are normally used if you have an resource-ref in your ejb-jar.xml. Take a look at jmx-console -> JNDI view to see what's available. We simply use "QueueConnectionFactory" as JNDI name in our code. View the

[JBoss-user] [Installation, Configuration & Deployment] - Re: Linux: start Jboss using port 80, must be a root?

2006-04-17 Thread lafr
I don't know if there is a special behaviour of linux, but on unix systems all ports < 1024 are reserved for processes with user id root. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937780#3937780 Reply to the post : http://www.jboss.com/index.html?modul

[JBoss-user] [JCA/JBoss] - Re: JCA 1.5 Deployment question on RA property

2006-04-15 Thread lafr
whatever you like View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937545#3937545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937545 --- This SF.Net email is spons

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: what is jbossweb-tomcat55.sar/jsf-libs/

2006-04-10 Thread lafr
We removed this directory and put myfaces-all.jar and the other libs into WEB-INF/lib of our war file. We are also using a unique classloader per war by supplying a jboss-web.xml with http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd";> | | | |

[JBoss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: OracleDS not bound

2006-04-07 Thread lafr
Do you get an error on startup or do you get a message saying the OracleDS was bound into JNDI? A typemapping Oracle11g is not supported. Oracle 11g even does not exist. The name of the predefined type-apping is Oracle9i. View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Problem with inefficient query

2006-04-07 Thread lafr
At least with JBoss 4.0.4 the read-ahead page-size in $JBOS_HOME/server/xxx/conf/standardjbosscmp-jdbc.xml is 1000. The query contains 1000 or'ed key in the where clause and a resultset of 1000 entries is constructed. For me it was much better to decrease the value to ~20 to get best results. The

[JBoss-user] [Installation, Configuration & Deployment] - Re: sharing library-jar globally in EAR

2006-03-31 Thread lafr
I would advise against option one and two, but what's the problem with your third option (java module entry in aplication.xml)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934076#3934076 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[JBoss-user] [Installation, Configuration & Deployment] - Re: Problem in accessing Connection Factory

2006-03-31 Thread lafr
Where does this piece of code run? Seems to me, that it is run inside jboss, not a standalone application. If so, avoid setting the properties again. They are already known. Try to simply use "ctx = new InitialContext()". This work for me perfect. View the original post : http://www.jboss.com/i

[JBoss-user] [Installation, Configuration & Deployment] - Re: Inside ear war not visible to ejb jars

2006-03-31 Thread lafr
Put the jars needed by ejb.jar and web.war into the root of the ear and put an entry in application.xml: | common.jar | | Leave the web module specific classes in web.war/WEB-INF/lib. This works for us. View the original post : http://www.jboss.com/index.html?module=bb&

[JBoss-user] [JBossWS] - encoding problem solved

2006-03-30 Thread lafr
Switching from JBoss-Axis to JBossWS I got '?' instead of the german umlauts in the database. To see where the replacement happens I enabled logging. But all log entries had question marks. Then I added "-Dfile.encoding=UTF-8" to the comamnd line when starting jboss. After this, I got the correct

[JBoss-user] [JBossWS] - Re: JBoss404CR2 not generating xsi:nil values anymore

2006-03-13 Thread lafr
I encountered the same problem here, using gsoap 2.7.6e for building the client app and the currenct cvs scheckout for JBoss 4.0.4.CR2. Most elements in the wsdl file are marked as nillable=true. The wsdl and the mapping file is generated with wscompile 1.6. The c++ variables are not set (==NULL)

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Problem in EJB QL for Oracle

2006-02-23 Thread lafr
Try to replace BigDecimal with Short or Integer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925909#3925909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925909 ---

[JBoss-user] [Installation, Configuration & Deployment] - Re: Program execute at every hour

2006-02-07 Thread lafr
Yes. Use a Timer / TimedObject. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922154#3922154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922154 --- This SF.net e

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: how to deal with

2006-02-05 Thread lafr
The message "A CMR collection may only be used within the transction in which it was created!" was often discussed here. Creating the collection and iterating through it have to be don in the same transaction. >From a servlet you'll probably have to use a user transaction. UserTransaction transa

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Ways to tune Jboss CMP

2006-01-31 Thread lafr
What's the transaction attribute for the entity bean and the session bean accessing this entity bean? Reading one field after the other may have to do with it. We use REQUIRED per default for all and REQUIRES NEW for some special cases. View the original post : http://www.jboss.com/index.html?mo

[JBoss-user] [Testimonials] - Re: Problem in getting database connection

2006-01-29 Thread lafr
If I understood you correct your EntityBeans use the informix datasource without problems and you want to access jboss's datasource from a standalone java app. AFAIK this is not possible / allowed. The java: namespace is not accessible from outside the app server. View the original post : http

[JBoss-user] [JNDI/Naming/Network] - Re: Can't use that link to ejb in different

2006-01-29 Thread lafr
di-name="@MBI_DBNAME@/MessageSinkLocal" | This gives us in ejb-jar.xml: | |ejb/MessageSinkLocal |Session | | biz.mbisoftware.fn.ejb.session.core.MessageSinkLocalHome | |biz.mbisoftware.fn.ejb.session.core.MessageSinkLocal | | And in jbos

[JBoss-user] [EJB/JBoss] - Re: MDB Timer problem on jboss 4.0.3

2006-01-29 Thread lafr
Timers are persisted in a table "timers" in the DefaultDS per default. This may have been changed in deploy/ejb-deployer.xml at your side. The primary key contains 2 fields: timerid and targetid. For my app there are two times defined. timerid 1 targetid [target=jboss.j2ee:jndiName=

[JBoss-user] [Installation, Configuration & Deployment] - how to reduce memory requirements for ear/war

2006-01-18 Thread lafr
We build an ear file with - 1 entity.jar containing 97 EBs with LocalHome, Local, PK - 1 message.jar with 1 MDB - 10 session.jar with a total of 58 SLSB plus interfaces - 9 webservice.war with a total of 29 webservice classes and interfaces. To support more than one instance of this app on jboss se

[JBoss-user] [EJB/JBoss] - Re: Jboss dynamic sql ParseException

2006-01-08 Thread lafr
Which JBoss version do you use? AFAIK the IN operator in the WHERE clause can use variables since J2EE-1.4. So you must use JBoss 4.0.x for this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916345#3916345 Reply to the post : http://www.jboss.com/index.htm

[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Local interface never generated by XDoclets?

2005-12-07 Thread lafr
Having e.g. such tag * @ejb.bean name="MbiAdres" | *display-name="MbiAdresEB" | *local-jndi-name="MbiAdresLocal" | *view-type="local" | works fine for us. What's your version ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911274#39

[JBoss-user] [Installation, Configuration & Deployment] - Re: 1 jboss and 25 deployments of 1 application

2005-12-07 Thread lafr
We decided to use one jboss instance for many application instances. To separate the app instances we prepend the jndi names with a unique name per app. Let's make it simple: two app instances (prod & test), one session Bean (Customer) local and remote accessible. This gives - prod/Customer - pro

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss4.0.2 installation problem on Solaris9

2005-11-20 Thread lafr
The missing class should be in server/?/deploy/jbossweb-tomcat55.sar/naming-resources.jar. Execute jar -tvf on this file to see if it is valid and contains the class. How did you unpack the downloaded file ? Were gzip and tar successful ? Do you use solaris tar or gnu tar ? Some tar files are onl

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss checking wrong schema for table creation

2005-11-14 Thread lafr
Look at http://jira.jboss.org/jira/browse/JBAS-781. I encountered the same problem about two years ago. You'll have to use the work araound for now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907109#3907109 Reply to the post : http://www.jboss.com/index.

[JBoss-user] [Installation, Configuration & Deployment] - Re: Problem with multiple deployments of same app on JBoss

2005-11-14 Thread lafr
Look at the Wiki for (scoped) classloading. You'll have to use a separates classloader for each ear. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907107#3907107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907107

[JBoss-user] [EJB/JBoss] - Re: A cmr collection may be used only in the transaction in

2005-11-02 Thread lafr
As the message says, you'll have to iterate over the collection of entities in the same transaction as the the collection was retrieved. So do this in an SessionBean's method with transaction attribute Required e.g. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: CMP and Transactions

2005-11-02 Thread lafr
I would not expect this. Because all beans but SessionBeanA have Transaction attribute set to Required they should run in the same db session. So the newly created record should be seen by the finder. When a finder is executed, all "dirty" EntityBeans are flushed to the database. View the origin

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Error while trying to connect to a Oracle DB schema

2005-11-02 Thread lafr
Look at http://jira.jboss.org/jira/browse/JBAS-781 to see a work around for this problem. It is supposed to be fixed in JBoss 4.0.4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905004#3905004 Reply to the post : http://www.jboss.com/index.html?module=bb&

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.2 on SS10 (sparc v8)

2005-10-02 Thread lafr
If you don't provide the environment variable JAVA_OPTS, the jboss start script run.sh puts -server into the command line. So do this: JAVA_OPTS="-client" export JAVA_OPTS run.sh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898323#3898323 Reply to the post

[JBoss-user] [Installation, Configuration & Deployment] - Re: oracle with different useres

2005-09-22 Thread lafr
You can put all your datasources into one oracle-ds.xml. The root tag datasources can have an unlimited number of local-tx-datasource children. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896462#3896462 Reply to the post : http://www.jboss.com/index.html?

[JBoss-user] [Management, JMX/JBoss] - Re: Problem during upgrading from Jboss 3.2.7 to Jboss 4.0.2

2005-09-20 Thread lafr
Take look at jmx-conmsole JNDIview to see if UserTransaction is there. On my server it is not available. But in one of session beans I use a Usertransaction. It is obtained by transaction = this.sessionContext.getUserTransaction(); The JNDIview shows for this bean: java:comp namespace of the Reor

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: sql performance difference

2005-09-20 Thread lafr
This seems to be an oracle problem rather than a jboss prob. You'll have to compare the execution plan to get some hints. How do you execute the query from jboss ? Do you use parameters/placeholders in this query ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[JBoss-user] [Installation, Configuration & Deployment] - Re: 2 wars can put into a ear file and deploy.

2005-09-20 Thread lafr
What do you mean by saying "but the content is the same" ? Are is this identical war files ? Why do you put them together in one ear ? To support two nearly identical wep-apps at the same time in one jboss instance you'll have to use a separate classloader for each. This can be done by using this

[JBoss-user] [Installation, Configuration & Deployment] - Re: datasource-mapping Oracle9i not found

2005-09-20 Thread lafr
standardjbosscmp-jdbc.xml lives in $JBOSS_HOME/server/?/conf and contains a lot of different mappings for Oracle7, Oracle8, Oracle9, Informix, ... Just use the version jboss comes with. In your ejb.jar deployment unit in META-INFfolder you shoud have the jbosscmp-jdbc.xml beginning with the line

[JBoss-user] [Beginners Corner] - Re: jboss 4.0.2 ejb 2.1 ejb-ql order by problem

2005-09-20 Thread lafr
Why do you think that object's aren't ordered ? How do use the data retrieved by the finder ? Your entity bean and ejb-jar.xml look good so far. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895878#3895878 Reply to the post : http://www.jboss.com/index.html

[JBoss-user] [Installation, Configuration & Deployment] - Re: datasource-mapping Oracle9i not found

2005-09-18 Thread lafr
What version of JBoss are you using ? Does $JBOSS_HOME/server/?/conf/standardjbosscmp-jdbc.xml contain a mapping for Oracle9i ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895441#3895441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[JBoss-user] [EJB/JBoss] - Re: EJB SQL query on each entity method

2005-08-18 Thread lafr
What's the transaction setting for the entity bean ? It should also be set to Required. If it is, then this should not happen. Update JBoss to 4.0.2 e.g. to see if it still happens in the latest official release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: CMP - default sysdate

2005-08-18 Thread lafr
The default value is used, if you don't give a value for the column in the insert statement. But NULL is take as a value for the column and the insert is rejected because null is not allowed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890475#3890475 Rep

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: [AS 4.0.2] EntityBeans & CMR: ejbSelect deploy error: Nu

2005-08-10 Thread lafr
What's the datatype for the cmp-field optimization ? You'll have to use a parameter of the corresponding java type as the parameter for the query. But probably you want to use relations here. OptimizationDynamicParameter and OptimizationStaticParameter referencing Optimization. Then your query's

[JBoss-user] [Performance Tuning] - Re: JBoss effectively hangs due to massive context switching

2005-08-07 Thread lafr
What are the memory settings for Xmx ? When the JVM reaches this limit, garbage collections occur all the time and consume all available cpu time. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=312#312 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: unable to allocate xxx bytes of shared memory

2005-08-07 Thread lafr
Your oracle configuration has to be changed to work with JBoss. anonymous wrote : 04031, 0, "unable to allocate %s bytes of shared memory (\"%s\",\"%s\",\"%s\",\"%s\")" | // *Cause: More shared memory is needed than was allocated in the shared | // pool. | // *Action: If the sh

[JBoss-user] [Beginners Corner] - Re: what's the error with such EJB-QL : SELECT Object(o) FRO

2005-08-07 Thread lafr
What's the exact definition of the finder ? Collection findRoomWithCapacityGreaterThan( ??? ) What's the datatype for capacity in the entity bean: Integer ? The parameter for the finder method has to be of the same type! View the original post : http://www.jboss.org/index.html?module=bb&op=view

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Error while trying to connect to a Oracle DB schema

2005-07-30 Thread lafr
On startup jboss checks for the existence of certain tables in the database. Probably the tables for jms here. The check is done only based on tablename not respecting the schema/owner. Accessing the table later in queries is not possible than and leads to the error you got. See http://jira.jboss

[JBoss-user] [JBossWS] - Re: Mapping file generation with JWSDP-1.6?

2005-07-29 Thread lafr
The ant task obviously does not supported mapping creation. The standalone does. This is the part of my build file: | | | | | | | | | View the original post : http://www.jboss.org/index

[JBoss-user] [Security & JAAS/JBoss] - authentication based on unix logins ?

2005-07-27 Thread lafr
Our "old" application runs mostly on unix systems. The auth process uses the OS. All users must be known by the OS (/etc/passwd). The password check is done by the OS. We are going to replace parts of it and build some additional functions based on JBoss. Is there a way to use the Unix OS for a

[JBoss-user] [EJB/JBoss] - Re: EJB QL Problem

2005-07-24 Thread lafr
Look into your ejb-jar.xml. There is a tag calle abstract-schema-name per entity bean. This value you have to use in your query. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886273#3886273 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [EJB/JBoss] - Re: EJB QL Problem

2005-07-21 Thread lafr
No, not the EJB-Name but the abstract-shcema-name! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885994#3885994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885994 --

[JBoss-user] [Beginners Corner] - Re: org.jboss.ejb.plugins.cmp.ejbql.ParseException

2005-07-14 Thread lafr
Use the correct uppercase/lowercase writing of your abstract-schema-name in your EJB-QL: AUser ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884902#3884902 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884902 ---

[JBoss-user] [The Lizzard's corner] - Re: Multiple Instances of the Same EAR

2005-07-06 Thread lafr
You'll have to use a separate classloader for each ear. Look at the wiki's for classloading / scoped classloading config. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883909#3883909 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mo

[JBoss-user] [Security & JAAS/JBoss] - Re: Can't get ssl redirection to work properly

2005-07-05 Thread lafr
Do you have something like | FORM | mbi | | /faces/Login.jsp | /faces/LoginError.jsp | | | in web.xml ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883731#3883731 Reply to the

[JBoss-user] [Beginners Corner] - Re: jboss-web.xml location

2005-07-05 Thread lafr
jboss-web.xml has to be in directory WEB-INF, same as for web.xml. Make shure that you are using capital letters ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883727#3883727 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [Beginners Corner] - Re: JDK vs. JRE

2005-07-05 Thread lafr
JRE is part of the JDK. Set the environment variable JAVA_HOME to the directory containing the JDK. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883725#3883725 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883725 -

[JBoss-user] [Installation & Configuration] - Re: EAR Isolation

2005-06-29 Thread lafr
Take a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883150#3883150 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883150 --

[JBoss-user] [EJB/JBoss] - Re: calling directly a web service

2005-05-31 Thread lafr
If you really meant WebServices take a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=WSClientEJB View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879609#3879609 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879609

[JBoss-user] [Security & JAAS/JBoss] - Re: https

2005-05-31 Thread lafr
Reading the wiki, esp. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSX may be helpful. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879610#3879610 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879610

[JBoss-user] [Beginners Corner] - Re: Mail with JBoss

2005-05-31 Thread lafr
Why do you want to use another jndi-name ? Why not simply use the given name java:/Mail ? We use a stateless session bean for sending mails with this config and programming: * @ejb.resource-ref | * res-ref-name="Mail" | * res-type="javax.mail.Session" | *

[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4

2005-05-28 Thread lafr
>From prtdiag: System Configuration: Sun Microsystems sun4u Sun Blade 150 (UltraSPARC-IIe 650MHz) | System clock frequency: 93 MHZ | Memory size: 1,50GB | | CPUs |E$ CPU

[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4

2005-05-26 Thread lafr
JBoss 4.0.3beta with default configuration starts on my system in ~ 2 min 15 sec. My hardware (SunBlade 150) is similar to your'se, running Solaris 9 with all patches available on last saturday. JDK 1.5.0_03 in 32bit mode is used. Your WinXP system's CPU is more than twice as fast as your sun. s

[JBoss-user] [Beginners Corner] - Re: Can't run two projects at the same time

2005-05-19 Thread lafr
Read about (scoped) classloading in jboss wiki. Try this as WEB-INF/jboss-web.xml, replacing @WEB_APP_NAME@ with your names: http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd";> | | | | mbisoftware.biz:[EMAIL PROTECTED]@.war |

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR accross individually deployed ejb jars in the same J

2005-05-18 Thread lafr
CMR conatiner managed relationships only work between entity beans within the same jar file. AFAIK this is not a jboss restriction but recommended by the J2EE specs. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878270#3878270 Reply to the post : http://www

[JBoss-user] [EJB/JBoss] - Re: JMS PersistanceManager service is failed to start with O

2005-05-05 Thread lafr
Does the table JMS_TRANSACTIONS exist ? Is it accessible by the the user used for the jms datasource ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876667#3876667 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876667

[JBoss-user] [Persistence & CMP/JBoss] - Re: EJB-QL parse error

2005-05-01 Thread lafr
Put your query into the Order bean not into OrderItem if you are searching for orders. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876074#3876074 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876074 -

[JBoss-user] [JCA/JBoss] - Re: Problems with informix

2005-04-17 Thread lafr
With older version of Informix JDBC it was enough to put ifxjdbc.jar into $JBOSS_HOME/server/?/lib. With 3.0 driver I got same or similar problems and found out, that I also have to put ifxjdbcx.jar into the lib-dir. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtop

[JBoss-user] [Performance Tuning] - Re: Jboss on Solaris with 64 bits JVM

2005-04-17 Thread lafr
JAVA must still be $JAVA_HOME/bin/java. Add "-d64" to the OPTS. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874235#3874235 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874235 -

[JBoss-user] [Installation & Configuration] - Re: jboss 3.2.6 on Solaris using 64 bits JVM

2005-04-17 Thread lafr
You only have to add option "-d64" to the comamnd line for "$JAVA_HOME/bin/java". View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874234#3874234 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874234 -

[JBoss-user] [Persistence & CMP/JBoss] - Re: What is wrong with this xdoclet EQL finder tags??

2005-04-13 Thread lafr
Is the name of the CMP field written totally identical ? What is the data type of this field ? Show us the definitions from ejb-jar.xml and jbosscmp-jdbc.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873833#3873833 Reply to the post : http://www.jboss

[JBoss-user] [Performance Tuning] - Re: Getting Data Via CMR fires select for each column

2005-04-04 Thread lafr
If I remeber correctly, a read-ahead-strategy "on-find" is needed for the relation to solve this. A typical relation definition addon in jbosscmp-jdbc.xml look like this in our code generated by xdoclet: | MbiAfsta-MbiAfpos | | 1-mbi_afsta-n-mbi_afpos |

[JBoss-user] [Beginners Corner] - Re: Writing client for Web Services

2005-04-04 Thread lafr
I think you have to provide the URL to the WSDL file as the first argument: http://localhost:8080/Hello-Service/Hello?wsdl. Try this with your favourate browser to see if this gives you the WSDL. At the end of the WSDL there is the URL for the service. The client application or better the methods

[JBoss-user] [Installation & Configuration] - Re: Sun JVM 64-bit

2005-04-03 Thread lafr
Why do you think it would be nice to use the 64bit version of the SUN JDK ? I compared the 32bit and 64bit version of JDK 1.5.0_02 a few days ago on a FujitsuSiemens PrimePower with 3x1,3 GHz Sparc64 CPUs. Those CPUs are comparable to UltraSparc III/IV. The 32bit VM is about 15% faster than the

[JBoss-user] [JBossWS] - Re: Webservice deployment exception -- cannot deploy

2005-03-06 Thread lafr
Show us the generated WSDL-file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868979#3868979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868979 --- SF email is

[JBoss-user] [EJB/JBoss] - Re: CMP error Can't parse EJB-QL statement

2005-03-06 Thread lafr
anonymous wrote : 15:45:33,389 ERROR [Member#findByLastName] Find failed | java.sql.SQLException: ERROR: parser: parse error at or near "FROM" at character 9 | at org.postgresql.core.QueryExecutor.executeV2(QueryExecutor.java:289) | at org.postgresql.core.QueryExecutor.execute(QueryExecutor.

[JBoss-user] [Persistence & CMP/JBoss] - Re: auto-increment template not found

2005-03-06 Thread lafr
The mapping entry for InformixDB in standardjbosscmp-jdbc.xml is missing an entry like ?1. This is used for the create table command. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868974#3868974 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Persistence & CMP/JBoss] - Re: XDoclet tags for CMR foreign key

2005-02-16 Thread lafr
Although this is not a xdoclet forum I'll send an answer. For such a n-1 relation we use this (replace mbi_festa with person and mbi_feber with family for your need): /** * @ejb.interface-method * @ejb.relation * name="MbiFesta-MbiFeberBereichNr" *

[JBoss-user] [Installation & Configuration] - Re: Jboss Startup Problem

2005-02-11 Thread lafr
JBoss 3.2.6 does not work with a JDK 1.5.0 AFAIK. Use a JDK 1.4.2_07. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866266#3866266 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866266 ---

[JBoss-user] [Beginners Corner] - Re: JBoss and client on different hosts -> ClassCastExceptio

2005-02-11 Thread lafr
The object returned by lookup method seems not to be of type LoginHome. Print out ref.getClass().getName() to see what's the class name. Is LoginHome a remote home interface ? With a client app outside of the server app's jboss jvm you can only use the RemoteHome interfaces. View the original p

[JBoss-user] [Installation & Configuration] - Re: More than one DataSource in JBoss

2005-02-09 Thread lafr
First: using jboss 4.0 you can ignore jaws. standardjbosscmp-jdbc.xml caontains, as the name of the file says, the standard. If you want apps using a non standard Datasources define this in a file called jbosscmp-jdbc.xml an put this into the META-INF folder of your ear. View the original post :

[JBoss-user] [Persistence & CMP/JBoss] - Re: EJB-QL: Usage of

2005-02-07 Thread lafr
You have to qualify the object attribute in the where clause: select object(a) from ProductBean as a where a.basePrice < ?1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865619#3865619 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&

[JBoss-user] [Persistence & CMP/JBoss] - Re: Error compiling EJB-QL statement

2005-02-07 Thread lafr
The table name in your query after the key word "from" does not match the abstract-schema-name. The table name got lower cased by xdoclet, but not the abstract-schema-name. Seems to be a xdoclet fault for me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Jboss 4.0.1 and JSF

2005-01-21 Thread lafr
We're running a jsf app on JBoss 4.0.1 succesfully. So I think it's a problem of packaging the app or the app configuration files or the app itself. Not a JBoss or jsf problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863182#3863182 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Invalid DOCTYPE error (by using XDoclet ejbspec=

2005-01-18 Thread lafr
Only JBoss >= 4.0 supports ejb 2.1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862629#3862629 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862629 --- The SF.N

[JBoss-user] [HTTPD, Servlets & JSP] - Re: How to run JSF on JBoss4?

2005-01-11 Thread lafr
create a war file with this files additional: WEB-INF/lib/jsf-api.jar WEB-INF/lib/jsf-impl.jar WEB-INF/lib/jstl.jar WEB-INF/lib/standard.jar WEB-INF/faces-config.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861656#3861656 Reply to the post : http://www

[JBoss-user] [EJB/JBoss] - Re: NameNotFoundException on EJB lookup in standalone client

2005-01-04 Thread lafr
In short: With java:comp/env/ejb/.. you use the the local environment of the ejb. With ejb/... you use the global jndi names. In those Xdoclet generated Home-interface you'll have COMP_NAME (local) and JNDI_NAME (global). To get an ejb into the local namespace you'll have to declare an ejb-link.

[JBoss-user] [EJB/JBoss] - Re: jdbc not bound

2005-01-04 Thread lafr
The jndi-name of your datasource is combined of "java:" and the jndi-name from the -ds.xml file. Take a look at jmx-console/JNDIView to see what's available. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860666#3860666 Reply to the post : http://www.jboss.o

[JBoss-user] [JBoss Getting Started Documentation] - Re: Dynamic Class Reloading in jboss 4.0.1

2005-01-04 Thread lafr
If I remember correct, you have to touch the web.xml file to redeploy the web-app. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860662#3860662 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860662 -

[JBoss-user] [Installation & Configuration] - Re: How to config 2 databases under an JBoss

2005-01-04 Thread lafr
standardjbosscmp-jdbc.xml is, as the file name says, the standard. Put a jbosscmp-jdbc.xml with the wanted datasource jndi-name in your ejb.jar. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860665#3860665 Reply to the post : http://www.jboss.org/index.html?

[JBoss-user] [Installation & Configuration] - Re: Major classloader issues with multiple ear files

2004-12-30 Thread lafr
The ear-file or one of the modules within it has included it's own commons-logging.jar. Remove this and you'll get rid of this error messages. JBoss already has commons-logging.jar on board. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860242#3860242 Reply

  1   2   >