[JBoss-user] [Nukes User] - Re: Problem compiling JBoss Nukes

2004-07-02 Thread sgwood
Nukes only works with JBoss 3.2.3. We will upgrade to 3.2.4 after Nukes 1.1 is released. Sherman View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840841#3840841 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840841

[JBoss-user] [Nukes User] - Problem compiling JBoss Nukes

2004-07-02 Thread lamy
I need help in compiling JBoss Nukes. I downloaded the source tree from CVS. When I ran the build.sh from the build directory, I received errors. I have set the JBOSS_HOME and JAVA_HOME locations. Here is the partial listing from build.log: _default:compile-classes: [mkdir] Created dir: /

[JBoss-user] [Beginners Corner] - Anybody know of a tutorial available for JBOSS

2004-07-02 Thread jim_stoll
Anybody know of a tutorial available for JBOSS 3.2.3 and JDeveloper 10G? or anything closer then Oracle9i JDeveloper and JBoss 2.4.4 thanks in advance for your help Jim Stoll View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840839#3840839 Reply to the po

[JBoss-user] [Advanced Documentation] - a wishlist

2004-07-02 Thread jim_stoll
folks, I work for a multi-billion dollar contractor and you know the way they got to be that way was to cut cost where appropiate. This is the BIG reason we are considering jboss/jdevloper as an optium mix for our, at present, mix of JRUN 4 and jbuilder 6. The only thing stopping us the high

[JBoss-user] [Messaging, JMS & JBossMQ] - ManagedConnection [InUse/Avalilable/Max]: [-1/9/40] bug?

2004-07-02 Thread jhalmes
We have spent days trying to figure this out. We have JBoss 3.2.3 running on Linux, w/JMS persisting to Oracle 9. (I cross posted this here because the problem only occurs with the JMS persistence, the normal persistence to the same, or different, datasource never has the problem.) The Managed

[JBoss-user] [Persistence & CMP/JBoss] - Re: design opinions sought

2004-07-02 Thread gavin9
thanks for the replies. a friend pointed out that it isn't necessary for activityid to be unique. after a cup of coffee i saw his point and realised that i just wanted a auto-inc value for each activity group, ie: job_id act_id 1 1 1 2 1 3 1 4 2 1 2 2 3 1 To clarify, a Job has mul

[JBoss-user] [Persistence & CMP/JBoss] - ManagedConnection [InUse/Avaliable/Max]: [-1/9/40] bug?

2004-07-02 Thread jhalmes
We have spent days trying to figure this out. We have JBoss 3.2.3 running on Linux, w/JMS persisting to Oracle 9. The ManagedConnection seems to work for random amounts of time until the InUse value decrements to a negative number. Why would it ever do that? Is that a bug in 3.2.3? After the

[JBoss-user] [Management, JMX/JBoss] - Re: mbean invocation performance

2004-07-02 Thread genman
You can set the system property jbossmx.optimized.dispatcher to "true". I don't know if it's officially supported in JBoss, however. Check out ./src/main/org/jboss/mx/capability/DispatcherFactory.java in the JMX source. View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Management, JMX/JBoss] - Re: mbean invocation performance

2004-07-02 Thread genman
You can return a POJO through a "getRef" method, including the MBean interface itself. Example: HelloMBean h = MBeanServer.getAttribute(name, "Ref") If you are doing something like this, it should be plenty fast: | Object args[] = { a, b, c}; | String sig[] = "java.lang.Object", ... |

[JBoss-user] [Management, JMX/JBoss] - Re: Generate GUID

2004-07-02 Thread g00se
>>What is the id being used for Not sure sorry - i'm really asking the q on someone else's behalf! >>Oh yeah probably not the best place for this post. Sorry. What would a better one be? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840831#3840831 Reply

[JBoss-user] [Beginners Corner] - JBOSS, JDBC, and BLOBs

2004-07-02 Thread wmallian
I have an implementation where we are connecting to an Oracle 9 database through JBOSS using an oracle thin client connection. I have code which reads a .jpg file into a byte array, and I then populate a BLOB field in my Oracle database with the byte array. (This is done by the JBOSS setter me

[JBoss-user] [Clustering/JBoss] - Is jbossha.jar fixed in jboss-3.2.5?

2004-07-02 Thread tbauer
Is the fix the Bela did for jbossha.jar (within the past month) included in the newest release: 3.2.5?? Looked all over for release notes but could not find this referenced... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840828#3840828 Reply to the post :

[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available

2004-07-02 Thread jae77
i haven't experienced this problem. there was an issue rendering images (and i'd imagine other binary data as well), but i fixed that issue. it may have been related to the problem you were experiencing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840827#3

[JBoss-user] [Persistence & CMP/JBoss] - Re: OFFSET & LIMIT does not make it into the generated sql

2004-07-02 Thread triathlon98
Don't look at the SQL. It works (I use it), it just isn't handled at SQL level. Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840826#3840826 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840826

[JBoss-user] [Persistence & CMP/JBoss] - OFFSET & LIMIT does not make it into the generated sql

2004-07-02 Thread greiezer
Hi, Im using the following JBoss-QL query in JBoss 3.2.3 for a ejbSelect method: SELECT OBJECT(p) FROM Category AS c, IN (c.products) AS p WHERE c = ?1 AND p.state IS NOT NULL AND p.state = 'passiv' ORDER BY p.name OFFSET ?2 LIMIT ?3 But as yoy can see in the following the generated sql do

[JBoss-user] [Beginners Corner] - Migration from websphere to JBoss

2004-07-02 Thread rbelalta
Hi, I would like to know where I can find documentation on how to migrate a J2EE application from Websphere (5.0) to JBoss. We are currently in the process of evaluating the effort needed to move from WAS to JBoss. If any body has done this before, I would appriciate any feedback on how did th

[JBoss-user] [Installation & Configuration] - Re: jboss-3.2.4: DeploymentException caused by NoSuchMethodE

2004-07-02 Thread ghouston
oops... looks like the forum software is making part of the post disappear. There are < and > in the exception. Here is what it should read: Caused by: org.jboss.deployment.DeploymentException: net.myapplication.MyApplication.() View the original post : http://www.jboss.org/index.html?module

[JBoss-user] [Installation & Configuration] - jboss-3.2.4: DeploymentException caused by NoSuchMethodExcep

2004-07-02 Thread ghouston
I am trying to deploy a service in JBoss and getting an exception. I don't understand why JBoss is trying to call an init method on MyApplication. The class MyApplication extends ServiceMBeanSupport and it's MyApplicationMBean interface extends ServiceMBean. How can I resolve this issue? Her

[JBoss-user] [Installation & Configuration] - Re: NoClassDefFoundError and hibernate2.jar

2004-07-02 Thread tonylampada
The magic: put odmg-3.0.jar in the lib dir ant it works. How it's done: open net.sf.hibernate.collection.Set's source, and look at the line that says: import org.odmg.DSet; that explains it ;) []'s Tony Lumpda View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=384

[JBoss-user] [Installation & Configuration] - Re: JBoss system classpath

2004-07-02 Thread gifs71
Hi Mike, The issue is that I auto-generate some java code on the fly, compile that code and try to load those classes at runtime and this is when I get in issues. The classloader is not able to find the classes and hence is not able to load them. Below is a detailed description of the setup on

[JBoss-user] [Persistence & CMP/JBoss] - Re: Catching TransactionRolledbackException

2004-07-02 Thread pgb
I could check that, however it will mean duplicating the unique constraints both on the DB and on the business layer (Java), and I wanted to take advantage of the DB checking of the contraints, and catching the exception. Is that possible? Thank you! View the original post : http://www.jboss.

[JBoss-user] [Persistence & CMP/JBoss] - Re: Catching TransactionRolledbackException

2004-07-02 Thread kabkhan
Could you check that the unique constraint is not being validated before the insert/update? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840812#3840812 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840812

[JBoss-user] [Security & JAAS/JBoss] - how much is the overhead of EJB security permission?

2004-07-02 Thread pedrosalazar
Greetings, I'm updating my EJBs from empty security settings to a role properties permissions. Only a mininal subset of my methods will have a permission check. The majority (including all entity beans except create and remove methods) will be unchecked. I don't know the implementation details

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: scalability of JMS on JBoss

2004-07-02 Thread genman
If you have on Queue per user login, and 1,000,000 users are concurrently connected to JMS, JBoss will at least create one socket and thread per queue. Depending on your operating system and your machine, it might be okay. Or might not work at all. If you're writing such an application, the f

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS specification version?

2004-07-02 Thread genman
Community -> Wiki View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840805#3840805 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840805 --- This SF.Net email sponsore

[JBoss-user] [Persistence & CMP/JBoss] - Catching TransactionRolledbackException

2004-07-02 Thread pgb
Hello, I have a session bean with a method void updateCountry(CountryValue value) This method will instantiate a Country bean (with the primary key) and then call the setCountryValue method on the Country bean. Country is mapped as CMP, and the table has some unique constraints. If the data fail

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Error While queueing big(>4k) text message

2004-07-02 Thread genman
You're using the Oracle thin driver. Don't. It doesn't work with blobs > 4k. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840802#3840802 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840802 -

[JBoss-user] [Persistence & CMP/JBoss] - Relationship mapping in jbosscmp-jdbc.xml (another problem)

2004-07-02 Thread rajs1
I am gettinga curious java.rmi.ServerException and I hope you can help. A table Tradable_Instrument has symbol (String) and trading_centre_code (String, foreign key) as its compound primary keys. Table Trading_Centre has trading_centre_code as its primary key. I have defined a one-to-many bidi

[JBoss-user] [Beginners Corner] - Webapp / jndi / Datasource problem : "No suitable driver"

2004-07-02 Thread THANATOS
Hi ! I've deploy jahia under jboss, with a postgresql database and ldap everything works, no problem since I've developped some webapps, and successfully deploy them, and I've got some problems with the configuration of jndi declaration I've got a postgresql-ds.xml file in the deploy directory

[JBoss-user] [Messaging, JMS & JBossMQ] - Error While queueing big(>4k) text message

2004-07-02 Thread naheedmk
Hi I am getting following error while trying to send a text message (size 5 K) to the queue. This is database peristance on oracle db. Error message is Exception occurred: org.jboss.mq.SpyJMSException: Could not store message: 3 msg =32122 hard NOT_STORED PERSISTENT queue=QUEUE.A priority=4 lat

RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method i n c++ .dll through JNI

2004-07-02 Thread Yates, Danny
Note that there's a difference between System.load() and System.loadLibrary(). The former takes a full (or relative) path with file extension. The latter just takes a raw file name, adjusts it to be platform-specific (i.e. on Windows it adds .DLL, on Unix it prepends Lib and adds .so) and then does

[JBoss-user] [Persistence & CMP/JBoss] - Re: Starting failed for Cmp Bean

2004-07-02 Thread [EMAIL PROTECTED]
Thanks. I made the change and it worked great! Mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840794#3840794 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840794 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Trying to install an already registered mbean ?

2004-07-02 Thread danielgoodwin
I know that on Jboss 3.2.4 that the file lives in deploy/jms/jbossmq-service.xml so you may have more than one jbossmq-service.xml under the deploy hierarchy. Check that first. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840793#3840793 Reply to the post

Re: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to call native method i n c++ .dll through JNI

2004-07-02 Thread Dave Smith
I never could get absolute paths to work. Set -Djava.library.path in the jboss startup script and remove the path info from the System.load call. I do not know about Windows but I have got this working under Linux. On Wed, 2004-06-30 at 09:10, Jeff Kramer wrote: > I'm loading a .dll with System.lo

[JBoss-user] [Security & JAAS/JBoss] - Re: Securing my .war-file

2004-07-02 Thread gortz
I've changed it from tfportlets to snip but still isn't working. What do you mean by one should always get the page requested? not if you aren't authenticated? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840792#3840792 Reply to the post : http://www.jbos

[JBoss-user] [EJB/JBoss] - Re: Deployment issues upgrading from 2.4.3 to 3.2.4

2004-07-02 Thread dannyyates
Does the primary key class of the Warehouse bean override equals() in accordance with section 9.2.9 of the EJB spec? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840791#3840791 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=r

[JBoss-user] [Beginners Corner] - Catching TransactionRolledbackException

2004-07-02 Thread pgb
Hello, I have a session bean with a method void updateCountry(CountryValue value) This method will instantiate a Country bean (with the primary key) and then call the setCountryValue method on the Country bean. Country is mapped as CMP, and the table has some unique constraints. If the data fai

[JBoss-user] [EJB/JBoss] - Deployment issues upgrading from 2.4.3 to 3.2.4

2004-07-02 Thread trickard
We have a group of beans that have been running in 2.4.3 for several years. We are upgrading to 3.2.4. The beans were deployed to JBOSS using the SUN deploytool. I have unpacked one EAR file which included 30 beans or so and am attempting to deploy one bean from the ear using the jar that was pa

[JBoss-user] [Security & JAAS/JBoss] - Re: Securing my .war-file

2004-07-02 Thread stueccles
i think your first problem is that your security-domain of java:/jaas/tfportlets in jboss-web.xml doesnt exist in your login-config. Concequently it is delegating to "other" domain which always lets you through. I do believe that the "realm" in web.xml really doesnt matter as jboss imposes one

[JBoss-user] [Security & JAAS/JBoss] - Securing my .war-file

2004-07-02 Thread gortz
Hi! I have a problem securing my .war-file. I've read the JAAS howto but still don't get it working. What I want is the BASIC authorization where one should be forwarded to the index.html file if authorized. On the contrary as it is now I always get the index.html file after typing whatever in

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: 3.2.4 or 3.2.5 HAJMS failover problems

2004-07-02 Thread Miguel Angelo Moutinho
I'm having the same problem and I'd like to help here. Looking at HASingleton, I've realised that the second node become the master one. Topics and queues have been "passed" to the second node as the node actually detected the failover. But the problem starts at this point. It keeps on trying to

[JBoss-user] [Beginners Corner] - Migrating to J2EE

2004-07-02 Thread siew_edward
Hello experts, I have a Java standalone program - which I have to now upgrade and structure it so that it will consists of EJBs that runs on JBOSS. But the problem is that there are alot of modules which uses thread / timer services. I know JBOSS 4 offers the timer feature. But it has been deci

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: migration from 3.2.3 to 3.2.4, HASingleton JMS question

2004-07-02 Thread StephaneNicoll
If you want to get rid of the bug in concurrent.jar, just copy the concurrent.jar of the JBoss 3.2.4 distribution in your 3.2.3 local copy. Regards, Stephane View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840781#3840781 Reply to the post : http://www.jboss

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: user: NULL is not authenticated

2004-07-02 Thread voilivoilo
Take a look at your login-config.xml... Does it look like this ? | | | guest | java:/DefaultDS | SELECT PASSWD FROM JMS_USERS WHERE USERID=? | SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=? |

[JBoss-user] [Messaging, JMS & JBossMQ] - Trying to install an already registered mbean ?

2004-07-02 Thread stan2004
When jboss trying to deploy jbossmq-service.xml I have such exception: INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss3.2.2/server/taxi/deploy/jbossmq-service.xml WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.Deploym

[JBoss-user] [JBoss.NET & SOAP] - Re: .wsr files do not deploy in jboss 3.2.5

2004-07-02 Thread jae77
you can also just take the jboss-net.sar out of the "all" directory and put it in the "default" directory and all will work fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840776#3840776 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [JBoss.NET & SOAP] - Re: .wsr files do not deploy in jboss 3.2.5

2004-07-02 Thread sgodden
oops. I guess I have to run the 'all' configuration. Apologies for posting without looking. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840775#3840775 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840775 ---

[JBoss-user] [JBoss.NET & SOAP] - .wsr files do not deploy in jboss 3.2.5

2004-07-02 Thread sgodden
I downloaded and built the example web service from the WIKI When I deploy in freshly instlalled jboss-3.2.5 it fails to deploy the .wsr saying it is waiting for a deployer. How do I get JBoss.NET working? The log output follows: 2004-07-02 14:11:34,150 ERROR [org.jboss.deployment.scanner.URLDe

[JBoss-user] [Persistence & CMP/JBoss] - Re: Relationships

2004-07-02 Thread lmpc
Sorry. Here are the deployment descriptors | | . | . | . | | | | person-card | | person | PersonRole | One | | person |

[JBoss-user] [Persistence & CMP/JBoss] - Re: Relationships

2004-07-02 Thread kabkhan
Post deployment descriptors etc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840771#3840771 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840771 --- This SF.Net

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP and dynamic finder

2004-07-02 Thread thiagoSouza
Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840770#3840770 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840770 --- This SF.Net email sponsored by Black

[JBoss-user] [Persistence & CMP/JBoss] - Re: finder methods not working

2004-07-02 Thread dohare
The Collection is returned empty. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840772#3840772 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840772 --- This SF.Net

[JBoss-user] [Installation & Configuration] - Re: Smtp appender in Log4J multiple emailaddresses???????

2004-07-02 Thread kaobe
Hi! I tried it a few weeks ago and to it seems that there is no solution. The way we do it now is to send it to an email address that our mail server forwards to a group of email addresses. Peter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840769#38407

[JBoss-user] [Nukes User] - A discussion on portlet servers market

2004-07-02 Thread sgwood
http://www.theserverside.com/news/thread.tss?thread_id=27044 I thiught folks would be interested in this thread. Sherman View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840768#3840768 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting

[JBoss-user] [Beginners Corner] - Re: Simple, customized logging in JBoss

2004-07-02 Thread cwestfall
Is there anyway way to get JBoss to recognize the log4j.xml inside my war? That way as soon as I deploy, I have loging configured. I don't want to change the conf/log4j.xml on the app server, I want to include the log4j.xml with my web application. View the original post : http://www.jboss

[JBoss-user] [Beginners Corner] - Re: where I can put my servlet in jboss-3.2.2RC1_tomcat-4.1.

2004-07-02 Thread darranl
You will need to package your servlet within a war file with appropriate deployment descriptors and copy the war file to the server/default/deploy folder (Assuming you are running with the default config). It will probably be easier for you if you work through the getting started guide which wi

[JBoss-user] [Installation & Configuration] - Re: login-config.xml problem

2004-07-02 Thread gortz
Thank you! Now I don't get any errors in the log anymore. How did you parse the xml document, by hand or with a program. My really big problem still remains; when logging on to the service I can logon without entering any login info even though I've changed the web.xml and jbossweb.xml and cre

[JBoss-user] [Beginners Corner] - Re: Simple, customized logging in JBoss

2004-07-02 Thread darranl
Now we are getting somewhere, the first two questions in this thread could have been translated to 'I am lazy and can't be bothered to find anything out for myself' (There was no other information to sugest anything else). The configuration is still really Log4J specific and not JBoss specific,

[JBoss-user] [Beginners Corner] - Re: postgres with jboss

2004-07-02 Thread s_raghavan
using jboss-3.2.3, with postgreSQL7.3.1, in session beans,bmp error says too many connections/requests, resetting no.of connections no help View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840761#3840761 Reply to the post : http://www.jboss.org/index.html?modul

[JBoss-user] [Installation & Configuration] - Re: login-config.xml problem

2004-07-02 Thread jardia
Hi. Just tried your file...it is pretty broken. So what i did, i took my vanilla login-config.xml from a clean JBoss installation and added your new security domain to the end like so: | | | | | | | | Notice that the login-module element is enclosed in an authen

[JBoss-user] [Beginners Corner] - Re: Simple, customized logging in JBoss

2004-07-02 Thread cwestfall
in my last post, "found here" resolves to http://www.jboss.org/wiki/Wiki.jsp?page=Logging, sorry my link didn't work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840759#3840759 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=

[JBoss-user] [Beginners Corner] - Re: Simple, customized logging in JBoss

2004-07-02 Thread cwestfall
First off, no where in the log4j documentation can I find anything about configuration for JBoss (obviously right?). Second, I have followed the example for "Using your own log4j.xml file" found here. I even used the authors war and I can't get jboss to log to the log file he has configured i

[JBoss-user] [Persistence & CMP/JBoss] - Relationships

2004-07-02 Thread lmpc
Hi, I'm using JBOSS 3.2.3 with MySQL Datasource configured as java:/mySqlDS. When i'm trying to deploy i get the error: 11:53:07,925 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope ration 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting f

[JBoss-user] [Installation & Configuration] - Re: login-config.xml problem

2004-07-02 Thread gortz
Sorry, but I am all new to this. Yes, I forgot to copy the last line with the statement so that's not the error. I'm all out of ideas, I've tried different encoding of the file, taking away alla unnecessay spaces. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [EJB/JBoss] - ejb-ql with date problem

2004-07-02 Thread satishg
java.lang.String java.util.Date java.util.Date java.lang.String is giving this error: Was expecting one of: "CONCAT" ... "SUBSTRING" ... "(" ... ... ... ... please anybody give me the solution f

[JBoss-user] [Installation & Configuration] - Re: login-config.xml problem

2004-07-02 Thread jardia
hmm why did i post the example and make the policy element bold? The root element is policy. What does that mean? Everything inside this file must be contained inside a policy element (just like the example i posted shows). By everything we obviously do not mean the XML declaration at the top

[JBoss-user] [Installation & Configuration] - Re: login-config.xml problem

2004-07-02 Thread gortz
I'm sorry but I don't really see what you mean, what root-element? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840753#3840753 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840753 --

[JBoss-user] [Installation & Configuration] - Re: test & prod environments on same Jboss box

2004-07-02 Thread jardia
another option you have is to multihome the box then start multiple jboss instances like so: 1) jboss/bin/run.bat -b 192.168.1.101 2) jboss/bin/run.bat -b 192.168.1.102 now you have multiple jboss instances running on the same box but all using the same ports for their services (ie. the Namin

[JBoss-user] [Persistence & CMP/JBoss] - Re: Relationship mapping in jbosscmp-jdbc.xml

2004-07-02 Thread rajs1
Much obliged squire, works a treat. Cheers -raj View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840748#3840748 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840748

[JBoss-user] [Performance Tuning] - Re: UPDATE after INSERT in CMR

2004-07-02 Thread mkotsbak
"loubyansky" wrote : | | true | | Thanks. I actually found this myself also, and it actually works :-) It speeds up our code >60X!. Why isn't this the default? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840746#3840746 Reply to the post : http

[JBoss-user] [Installation & Configuration] - Re: login-config.xml problem

2004-07-02 Thread jardia
Hmm maybe you cut-n-pasted the login-config.xml file wrong, but it seems to be missing the root element defined in the DTD (security_config.dtd) | The outline of the application-policy is: | | | | | option1-value | option2-value | ... | |

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS specification version?

2004-07-02 Thread normann
Which JMS specification version does JBoss support? 1.0.2b or 1.1? Where can I find such version compatibility info for other JBoss components ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840744#3840744 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [Persistence & CMP/JBoss] - Re: design opinions sought

2004-07-02 Thread rajs1
anonymous wrote : A job can have multiple activities. | Is an activity associated with multiple jobs or only a single job? anonymous wrote : | Job | -- | job_id(pk) || || |^ | Job_Activity_List | - | job_id (pk,fk) | activity_id (pk,fk

[JBoss-user] [EJB/JBoss] - Re: OutOfMemoryError - Singleton PK Generator

2004-07-02 Thread jamesstrachan
I forgot to mention that the next ticket number bean should also implement the "Singleton EJB" pattern as you should enforce a rule that only one component issues next numbers. I suggest that you persist the last number used. You should then get a uniformly fast response to each query, at the

[JBoss-user] [Beginners Corner] - Re: postgres with jboss

2004-07-02 Thread darranl
If you think you can describe your problem in two lines you have not described your problem. Some stack traces? JBoss version? How are you using the connections (In session beans, in a servlet, using CMP or BMP)? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p

[JBoss-user] [EJB/JBoss] - Re: JavaBean passing to a session between two different VM

2004-07-02 Thread darranl
No you do not need to create any stubs for the bean to be passed remotely. Can you check and double check your code to make sure that you have not caught any exceptions and hidden them. The last person to ask for assistance with this problem had hidden the exception that would have said exactly

[JBoss-user] [EJB/JBoss] - Re: container running time

2004-07-02 Thread Sacha Labourey
no, I don't think so right now, however that would indeed be useful information. You do have the server start time available though => if you start your app with JBoss (not using hot-deploy to deploy them much later), the value is the same. View the original post : http://www.jboss.org/index.ht

[JBoss-user] [EJB/JBoss] - container running time

2004-07-02 Thread ghoyle
Is there anyway for a session bean to interogate the container, so that it can know how long the container has been running for, or even how long the session bean has been deployed? Thanks in advance Geoff View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840

[JBoss-user] [Installation & Configuration] - login-config.xml problem

2004-07-02 Thread gortz
Hi! I'm trying to password protect one of my .war files but have yet run out of luck. I think my problem lies within the login-config.xml file since the is a WARN in the log when reading this file, cut from the server.log file: 2004-07-02 10:13:58,326 INFO [org.jboss.security.plugins.SecurityC

[JBoss-user] [Beginners Corner] - Re: JBoss and Struts

2004-07-02 Thread kabkhan
You only seem to have the .tld files containing the descriptors for the taglibs. You also need the jar files. In my slightly old version of Struts, struts.jar contains some of the taglibs, and utility.jar, i18n.jar etc. contains the rest. Any taglibs you write yourself need to go into the Web-IN

[JBoss-user] [Installation & Configuration] - Smtp appender in Log4J multiple emailaddresses???????

2004-07-02 Thread BDV
Hi, I configured a smtpappender and it works fine!!! Now I want to add a second emailaddress, so those mails are sended to multiple emailaddresses. (Using JBoss3.2.3) Is there anybody who knows the solution? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&

[JBoss-user] [Persistence & CMP/JBoss] - Re: Starting failed for Cmp Bean

2004-07-02 Thread loubyansky
You are using an old version of standardjbosscmp-jdbc.xml. Use the one from 3.2.5. In this specific case org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler is missed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840729#3840729 Reply to the post : http://www.

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss ignores Xdoclet taged finder functions in Home int

2004-07-02 Thread loubyansky
If you deploy the up-to-date home interfaces then perhaps there old once somewhere in JBoss classpath. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840728#3840728 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840728

[JBoss-user] [Persistence & CMP/JBoss] - Re: design opinions sought

2004-07-02 Thread loubyansky
Why do you assume compound pk is the requirement? Generation (even partly) of compound keys is not supported. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840727#3840727 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem deploying CMP on jboss 3.2.4

2004-07-02 Thread loubyansky
Are you running JBoss compiled with j2sdk1.4.x with JDK1.3.1? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840726#3840726 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840726 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP and Sybase JConnect

2004-07-02 Thread loubyansky
Bug reports and patches are submitted at http://sourceforge.net/projects/jboss. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840725#3840725 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840725

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started on JBoss 3.2.x

2004-07-02 Thread aliasncnu
a section in build.properties # Set the path to the servlet archive servlet.jar=${jboss.server}/lib/javax.servlet.jar Actually I could not find the javax.servlet.jar in lib directory Why...? thanks for your reply.^^ View the original post : http://www.jboss.org/index.html?module=bb&op=viewto

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP with MS Access

2004-07-02 Thread loubyansky
Default datasource-mapping are defined in standardjbosscmp-jdbc.xml. There is not one for Access. Either use an existing (non-Access) one or define your own. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840723#3840723 Reply to the post : http://www.jboss.o

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started on JBoss 3.2.x

2004-07-02 Thread aliasncnu
This document works with 3.2.3 But currently I can only download the 3.2.5 Dose it matter ? Or I must revise some configurations or file paths thanks for your reply View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840722#3840722 Reply to the post : http:

[JBoss-user] [Performance Tuning] - Re: UPDATE after INSERT in CMR

2004-07-02 Thread loubyansky
| true | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840721#3840721 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840721 --- This SF.Net email sponsored by

[JBoss-user] [Persistence & CMP/JBoss] - Re: finder methods not working

2004-07-02 Thread loubyansky
What happens when you invoke findByName? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840720#3840720 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840720 --- This