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

2004-08-09 Thread marc_mulzer
I did everything as described, including the update of the jar, the har deploys fine. But then I get a different error: java.lang.IllegalArgumentException: Unknown session scope for jndi name [java:/hibernate/SessionFactory] Also, when I verify my jboss.xml, then the does not validate against

[JBoss-user] [Persistence & CMP/JBoss] - Re: Primary Keys that are also Foreign Keys

2004-08-09 Thread loubyansky
CMP fields: studentId - maps to -> student_id courseId - maps to -> course_id CMR fields: student - maps to -> student_id course - maps to -> course_id View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844631#3844631 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem deploying entity beans with finder methods

2004-08-09 Thread loubyansky
Do you have different versions of the class in the server classpath? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844630#3844630 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844630

[JBoss-user] [Persistence & CMP/JBoss] - Re: Exception + Bugfix(?): could not load field value with

2004-08-09 Thread loubyansky
What container configuration and locking policy are you using? My fix just locks the instance for the duration of the invocation. Which makes sense only for the Standard container configuration. Earlier this couldn't happen if the locking policy is NoLock (which should not be used with Standard c

[JBoss-user] [Persistence & CMP/JBoss] - Re: Is it possible to use cmp without transaction?

2004-08-09 Thread loubyansky
This is not recommended. For what reason do you want to avoid transactions? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844628#3844628 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844628 -

[JBoss-user] [Persistence & CMP/JBoss] - Re: Relation table and unexpected post table create command

2004-08-09 Thread loubyansky
Looks like a bug in JBossCMP. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844627#3844627 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844627 --- SF.Net email is

[JBoss-user] [Performance Tuning] - StackOverflow Error while making EJB Calls - JBOSS 3.0.0, Ja

2004-08-09 Thread ubellur
I am getting a StackOverflow error from RMI when I am making an EJB Call. This happens randomly after a little while. I have seen this happen with different EJBs. I am using JBOSS 3.0.0 with J2SDK 1.3.1_01. I am running with mx=512m currently. Is there a known problem with this configuration? Pl

[JBoss-user] [Clustering/JBoss] - Message Driven Beans- Is the Clustering support avalilable ?

2004-08-09 Thread scsbatu
Hi I have found that For Message Driven Beans the Clustering Support is not available in the JBoss Clustering by SACHA LABOUREY,BILL BURKE which is written for JBoss 3.x.x Is there are New version of JBoss which has the clustering capabilities for the Message Driven Beans Thanks and Regard Su

[JBoss-user] [Clustering/JBoss] - Is JBoss jboss-4.0.0RC1 has a inbuild HTTP session clusterin

2004-08-09 Thread scsbatu
Hi I have worked with the JBoss 3.2.3 for HTTP session clustering. For that I had to configure that with Apache and mod_jk. But when I start the clustering(run -c all) the JBoss 4.0.0RC1 is showing 10:09:43,451 INFO [Tomcat5] Saw org.jboss.system.server.started notification, starting connecto

[JBoss-user] [HTTPD, Servlets & JSP] - Re: conf/web.xml gets truncated

2004-08-09 Thread bwallis42
Forgot to mention, I did try putting the conf directory onto the classpath in an "out of the box" jboss 3.2.3 system and it then also truncates the web.xml file so the problem is nicely reproducable now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844623#

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Struts unload() causes NPE

2004-08-09 Thread bjornbak
Yes, I experience the same error periodically. I can't find a way to reproduce the error on command... I use Struts too, but I hadn't linked the error to Struts... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844622#3844622 Reply to the post : http://www

[JBoss-user] [HTTPD, Servlets & JSP] - Re: conf/web.xml gets truncated

2004-08-09 Thread bwallis42
OK, found what it is in our configuration that causes web.xml to be overwritten. For a reason that I cannot quite remember we have always had the server conf directory on our classpath when jboss starts up, something to do with using ClassLoader.getResource() for properties I think, anyway we d

[JBoss-user] [Beginners Corner] - Re: Jboss 4.0 RC1, jmx-console

2004-08-09 Thread wmac
Achan, Is it possible that any other port has conflicts? (other than 8080) for example JNDI or whatever else ? (which causes JBoss not to be able to recognize application paths?) Because port 8080 is binded to JBoss. As I told it just issues issues (HTTP 400 - Bad Request) . Regards, Mac Vi

[JBoss-user] [Beginners Corner] - Re: Jboss 4.0 RC1, jmx-console

2004-08-09 Thread Jboss_achan
Propably you are running any other server using port no 8080 and using jboss to run in the same port no (example oracle apache server running using port no 8080) change the port no in your JBOSS and you should do it best wishes jboss_achan View the original post : http://www.jboss.org/index.html?

[JBoss-user] [EJB/JBoss] - Re: javax.naming.CommunicationException - help

2004-08-09 Thread chuckharris
Running the client looping to 1000 from a remote is causing the following error. Sorry for the mis statement. Not sure if this is related or a different issue. The client is getting a return from the ejb and exception is being thrown also: 12160.00 0.77 Caught an unexpected exception! java.rmi

[JBoss-user] [EJB/JBoss] - javax.naming.CommunicationException - help

2004-08-09 Thread chuckharris
I have been going though the sun ejb tutorial and have run into an intermitant problem. The Converter example (stateless) deploys fine and runs without error unless I hit it with multiple client requests. I threaded the client to simulate multiple concurrent client requests. If I run the clien

[JBoss-user] [Persistence & CMP/JBoss] - Performance issues of using BLOB in CMP

2004-08-09 Thread vying
Hi all, I am wondering if you guys have experience on how CMP can handle BLOB type,Since I plan to use a BLOB type to store large file data(100MB-1GB) into a table using CMP and then read it back later on.I am trying to be clear about any potential performance hit before I do that approach. Now

[JBoss-user] [Security & JAAS/JBoss] - Re: Urgent production issue regarding to jboss security

2004-08-09 Thread tomansley
Make sure that you haven't got any old libraries or jars lying around. Sometimes they get caught in the CLASSPATH and get used instead of the new ones. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844605#3844605 Reply to the post : http://www.jboss.org/in

[JBoss-user] [Clustering/JBoss] - Re: JBoss 3.2.5 distributable and form login does not work t

2004-08-09 Thread [EMAIL PROTECTED]
Works fine for me. Take the all/deploy/jmx-console.war and mark it as distributable, enable the security constraints, and setup form based login and I'm able to access the secured content after going through the login. View the original post : http://www.jboss.org/index.html?module=bb&op=viewto

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Error (JMS_MESSAGES)

2004-08-09 Thread StephaneNicoll
What DB are you using, which JBoss version? Regards, Stephane View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844602#3844602 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844602 -

[JBoss-user] [Security & JAAS/JBoss] - Re: Urgent production issue regarding to jboss security

2004-08-09 Thread ms26368
What classes could be missing. I have copied jbossall-client.jar to tomcat lib folder. I am using ojdbc14 driver. Thanks for ur help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844601#3844601 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Performance Tuning] - Re: Is it possible to control the number of retries on Namin

2004-08-09 Thread genman
I think the source might be helpful, you can track it down using CVS or download anonymously. I don't have it on this machine, but there are a few I/O settings you can play with. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844600#3844600 Reply to the po

[JBoss-user] [Security & JAAS/JBoss] - Re: Urgent production issue regarding to jboss security

2004-08-09 Thread ms26368
I am using ojdbc14 jdbc driver. thank you very much for ur help View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844599#3844599 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844599 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Unsolvable

2004-08-09 Thread genman
For supporting older versions, I would suggest a support contract. Otherwise, you can shut the warning up using log4j configuration. Submitting a test case would be helpful. The ping timeout occurs when the server thinks a client has disconnected. It could be that the later version of JBoss

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: configuration-name / How to limit MDB instances

2004-08-09 Thread StephaneNicoll
Adrian posted a solution in the FAQ. Regards, Stephane View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844597#3844597 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844597

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Memory problem when sending large number of messages

2004-08-09 Thread StephaneNicoll
Do you need to send those 10.000 messages in the same transaction? Otherwise, you can use java:/JmsXA and create a connection for each message. Won"t be a problem since it's a pooled behind the scenes. Regards, Stephane View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: too many idle threads

2004-08-09 Thread genman
JBoss 3.2.5 uses Tomcat 5.0, which may or may not have the idle thread problem that you are describing with Jetty, the old HTTP server. If it's easy enough to test you app, why not test with JBoss 3.2.5? JBoss 3.2.1 was released 2003-06-02... View the original post : http://www.jboss.org/ind

[JBoss-user] [EJB/JBoss] - Re: jndi lookups fail (under load)

2004-08-09 Thread chuckharris
I am getting the same exception while experimenting with the sun ejb tutorial. I get the error with 14+ clients. Did you find a solution? javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] at org.jnp.interfaces

[JBoss-user] [EJB/JBoss] - Re: Spring LocalStatelessSessionProxyFactoryBean and Hot Dep

2004-08-09 Thread leathurman
I suspect that the LocalStatelessSessionProxyFactoryBean class and the Remote version cache classes as it seems when I hot deploy the classloader used for the cast class increases but the reference returned via the spring ApplicationContext is still from the old classloader. I believe (althoug

[JBoss-user] [EJB/JBoss] - Spring LocalStatelessSessionProxyFactoryBean and Hot Deploy

2004-08-09 Thread leathurman
Hi all, Has anyone manaed to get springs LocalStatelessSessionProxyFactoryBean class (or the Remote version) to work on hot deploy? I get the usual ClassCastException as soon as I fetch and cast the bean out of the Spring ApplicationContext and sure enough the reference and casting class are fr

[JBoss-user] [Installation & Configuration] - I am looking for a JBoss-Jetty.sar for jboss4.0.0RC1

2004-08-09 Thread cboucher
I am looking for a JBoss-Jetty.sar for jboss4.0.0RC1. Thanks, Chad View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844591#3844591 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844591

[JBoss-user] [Persistence & CMP/JBoss] - Relation table and unexpected post table create command leed

2004-08-09 Thread microbiotic
Hi all, I'm trying to deploy my entity beans on JBoss 3.2.3 & 3.2.5 and Oracle8. Jboss is configured to create all tables needed for the entity beans and their relation. If the DB is empty all works fine - except that JBoss executes a CREATE SEQUENCE %%t_seq START WITH 1 INCREMENT BY 1] on table

[JBoss-user] [Nukes User] - Re: build error 1.1 RC

2004-08-09 Thread MilesParker
mea culpa, guys. First time using CVS and I accidently dropped a file during the submit. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844589#3844589 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844589 ---

[JBoss-user] [EJB/JBoss] - java.lang.IllegalStateException: Failed to find method for h

2004-08-09 Thread smulakala
Hi, Before diving in the problem i just want to tell some thing about the problem. I am trying to access an EJB through axis webservices. I am able to access couple of methods in the EJB and getting the following trace while accessing the rest. I have no problem in accessing the method which i h

[JBoss-user] [Clustering/JBoss] - Re: JBoss 3.2.5 distributable and form login does not work t

2004-08-09 Thread gudmundsonsc
Also, the problem does not occur with BASIC authentication. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844587#3844587 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844587 -

[JBoss-user] [Clustering/JBoss] - JBoss 3.2.5 distributable and form login does not work toget

2004-08-09 Thread gudmundsonsc
JBoss 3.2.5 - all Always when any war contains both the distributable tag and a form login, it is not possible to login and this error is given: "Invalid direct reference to form login page" If the distributable tag is removed, there is no error message and the login successeds; BUT with no di

[JBoss-user] [Beginners Corner] - Creating MBeans

2004-08-09 Thread JavaCoder
I am just totally newbie to this JBoss. Having tough time in gathering the information regarding making MBeans using JMX. Any kind of help will be highly appreciated. Thanks, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844585#3844585 Reply to the post :

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Memory and QueueSession.commit

2004-08-09 Thread genman
If you're using an MDB, you don't need to create a QueueSession. What does your MDB do? You might want to test using JBoss 3.2.5 as a baseline. If it works, it's a JBoss bug. If it doesn't, submit a test case. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&

[JBoss-user] [EJB/JBoss] - deployment order of ejb modules, how?

2004-08-09 Thread OBender
This question had been asked many timeы here (directly or indirectly) but so far no answer was given. So I've decided to try again. Is there a way to specify an order in which EJB modules will be deployed? Apparently JBoss (unlike WebSphere for example) ignores an order in which EJB modules are

[JBoss-user] [Advanced Documentation] - What Did I Buy

2004-08-09 Thread crussell
I bought the 99$ comprehensive documentation. I have received 2 downloads from component source, One in feb one in March. The only mention of version occurs in the JBossBook307 and it 3.0.7. When is the documentation for 3.2.x going to appear? what is the 10-30$ 3.2 book and why wouldnt it be inclu

[JBoss-user] [Messaging, JMS & JBossMQ] - Memory and QueueSession.commit

2004-08-09 Thread animaal
Hi, Apologies if this is the incorrect forum. I'm having trouble with OutOfMemory problems with my app. I'm hoping something below might help somebody tell me what I'm doing wrong... My environment : Redhat Linux 9 (also tried Solaris) JBoss 3.2.1 (I'd rather not upgrade it unless absolutely ne

[JBoss-user] [EJB/JBoss] - Re: Transaction timeout configuration for a specific Statele

2004-08-09 Thread cvandyck
You will only be able to do this if you use bean managed transactions. In your session bean, here's some starter methods that you can use to start and end your transactions: protected int beginTransactionIfRequired(int timeoutInSeconds) { | UserTransaction tran = this.sessi

[JBoss-user] [JBoss.NET] - Re: Accessing request url from the web service bean?

2004-08-09 Thread mschoning
If you with a web service bean refer to your EJB, then I don't think you can find the request URL there. You probably want to create an interceptor, by extending Basichandler and register your new interceptor in the web-service.xml file. In your interceptor you can then get the request object l

[JBoss-user] [Persistence & CMP/JBoss] - Is it possible to use cmp without transaction?

2004-08-09 Thread [EMAIL PROTECTED]
Hi all I have stateless facade and some cmps (also using relations), and dont want use them with any kind of transaction... how i can do it? There are only Required,RequiresNew and Mandatory transaction attributes permissible for EntityBean type... Point me to the thread/docs please View th

[JBoss-user] [JBoss.NET] - Inner classes

2004-08-09 Thread mschoning
Hi I am using JBoss 3.2.2, as we are using this version in production I can not easily use another version. I am trying to send java beans with inner classes using JBoss.net. It seems to be working fine when my Ejb populates an inner class and returns it. But when I want to send an inner class

[JBoss-user] [HTTPD, Servlets & JSP] - jsp debugging using Jboss3.2.0+jetty/eclipse3/lomboz

2004-08-09 Thread Lee_x_Francis
I am trying to configure jetty to output source *jsp_.java files to my eclipse project directory so I can use lomboz to debug my jsp's. I have tried modifying my run.bat with the -Djava.io.tmpdir, but no luck. I have tried adding a jetty-xml using jikes, this creates the java files but does not

[JBoss-user] [Beginners Corner] - Re: Simple Hot Deploy Problem

2004-08-09 Thread cortesr
BTW, the first bug I mentioned about hot deployments in 3.2.4/3.2.5 can be found here: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=973565&group_id=22866 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844564#3844564 Reply to the post : http

[JBoss-user] [Beginners Corner] - Re: Oracle to JBoss RMI question

2004-08-09 Thread darranl
Ok that makes a bit more sense. Still scrap everything that you have been doing so far, to start with you need to learn how to write session beans and how to access them from a client. With J2EE you do not need to get involved with the RMI side of things at all. Once you have been able to deplo

[JBoss-user] [HTTPD, Servlets & JSP] - Struts unload() causes NPE

2004-08-09 Thread randahl
Using JBoss 3.2.5 and struts 1.1 I keep getting exceptions when the destroy method of Struts' action servlet is invoked. I did not experience this on earlier versions of JBoss even though I had the same configuration as now. Has anyone else experienced this? Below is my stack trace. Randahl 1

[JBoss-user] [Testimonials] - Re: Simple Order system is now ready !

2004-08-09 Thread neptune5
This system is now in use in a fast food outlet here in the Uk. I might make this system open source on sourceforge so that it can be further developed. ( is this a good idea ???) It also uses apache fop to produce reportsd which was fairly easy to get done. So again I ask ! if anyone would l

[JBoss-user] [Installation & Configuration] - Re: how to configure jboss to use Mysql and LDAP ?

2004-08-09 Thread darranl
Mac, The question asked related was how to use LDAP and MySQL with JBoss, not how to use them in a J2SE application. The instructions you have given are for J2SE not J2EE. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844553#3844553 Reply to the post :

[JBoss-user] [Persistence & CMP/JBoss] - Re: Transaction RequiresNew Problem

2004-08-09 Thread Wisper2002
I forgot to mention: methodB is called over getSessionContext().getEJBObject() ofcourse. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844552#3844552 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844552 ---

[JBoss-user] [Installation & Configuration] - Re: IllegalStateException

2004-08-09 Thread jactor
Thanx... My email has been seen as fake wich I can't understand... I was monitoring this thread by mail, that is why I am so late with answering as I didn't get any more messages... I took a brief look at at the jsp, and now I don't get any error, but I still can't log on. I just get forwared t

[JBoss-user] [Security & JAAS/JBoss] - Diferent atribute to math roles in LdapLoginModule

2004-08-09 Thread lucasam
That's the deal The users in my ldap server are as the folowing | CN=Lucas Alves Machado - Company | objectclass=dominioPerson | uid=lucasa | And the roles are | CN=RoleName | objectclass=dominioGroup | member=Lucas Alves Machado - Company | member=Foo of Bar - Company |

[JBoss-user] [Persistence & CMP/JBoss] - Transaction RequiresNew Problem

2004-08-09 Thread Wisper2002
Hi, I'm using JBoss 3.2.1 with Hibernate 2.1 and a DB2 local-tx-datasource (driver file: db2jcc.jar). There is one methodA with transaction attribute "Required" calling another methodB with attribute "RequiresNew". Normally I would assume when methodA is rolled back, changes made in methodB are

[JBoss-user] Session Level Failover Problems

2004-08-09 Thread Rich Reese
I am running JBOSS 3.2.3 on Windows 2000. Session Level failover works fine for me as long as I don't have a large number of items in the session. Once the number of items in session reaches a certain size (I don't know the majic number) I get the following error. Can anyone give me any informatio

[JBoss-user] [Persistence & CMP/JBoss] - Re: Exception + Bugfix(?): could not load field value with

2004-08-09 Thread hmartin
Hello Alex, sorry for my late reply. The method from our bean where we have the touble uses RequiresNew and not NotSupported for the transaction type. Does your fix address this transaction type too ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844548#3

[JBoss-user] [Nukes User] - Re: build error 1.1 RC

2004-08-09 Thread cooper
it's fixed now View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844546#3844546 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844546 --- This SF.Net email is sponsore

[JBoss-user] [Installation & Configuration] - Jboss 3.2.5 on True64 Unix with debugging enabled

2004-08-09 Thread spilker
Trying to run jboss with debugging enabled, i get the following errors immediately after startup: JBOSS_HOME: /work/12spilk/JBoss JAVA: /usr/opt/java142/bin/java JAVA_OPTS: -Xdebug

[JBoss-user] [Persistence & CMP/JBoss] - Problem deploying entity beans with finder methods

2004-08-09 Thread gauchorob
Hi there, Have a bit of an odd problem. I have an entity bean which contains a finder method (actually it contains an XDoclet tag which generates the find method in the Home interface of my bean and puts in the correct query etc.. in to the ejb-jar.xml). The problem I am having is that I can de

[JBoss-user] [Persistence & CMP/JBoss] - Re: Primary Keys that are also Foreign Keys

2004-08-09 Thread juniorcarl
That's exactly what I did. I'm using the compound PK (student_id, course_id) in the Student_Course EJB to ensure that no student registers for the same course more than once. Therein lies the problem. As you said earlier, a field can only be either CMP or CMR. But the student_id and course_id

[JBoss-user] [Beginners Corner] - Re: autostart a timer when JBoss start?

2004-08-09 Thread bayuehua
Thanks Sacha it works! I added depends: jboss.j2ee:service=EJB, jndiName=TimerManagerBean Now quite a familiar question. The timer also need to call a webservice, which is deployed via the AXIS. Maybe you know the AXIS is a .war file, and then the same question, how should I write the

[JBoss-user] [Management, JMX/JBoss] - Re: a personal service that calls an EJB

2004-08-09 Thread bayuehua
Thanks it works! I added depends: jboss.j2ee:service=EJB, jndiName=TimerManagerBean Now quite a familiar question. The timer also need to call a webservice, which is deployed via the AXIS. Maybe you know the AXIS is a .war file, and then the same question, how should I write the '

[JBoss-user] [Installation & Configuration] - JBoss-3.2.5 Throws IP_MULTICAST_IF address not bound

2004-08-09 Thread rjh0361
Hi I am testing JBoss to evaluate it for my organisation. I have had a very successful initial trial when running it from my XP machine which is attached to the network. However it was decided that we should now try it on a Linux server as a better test environment. The installation went perfe

[JBoss-user] [JBoss Getting Started Documentation] - startup problems

2004-08-09 Thread Sjakiepp
Hi all, I'm starting to work with JBoss 3.0.4, but I encountered some problems. The first is when starting JBoss I get an exception that the file pg_hba.conf could not be found. I know it has something to do with the postgress database. The second is when I want to access my application I get t

[JBoss-user] [Persistence & CMP/JBoss] - Re: Primary Keys that are also Foreign Keys

2004-08-09 Thread loubyansky
Then create Student-Student_Course and Course-Student_Course relationships and map foreign key fields to primary key columns in Student_Course. And there should not be direct relationships between Course and Student. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopi

[JBoss-user] [Persistence & CMP/JBoss] - Re: Primary Keys that are also Foreign Keys

2004-08-09 Thread juniorcarl
I created the Student_Course EJB because I need fields other than student_id and course_id. For instance, I need another field that stores the date when the student registers for the course, etc. If I didn't create the Student_Course ejb, I wouldn't be able to store the additonal fields as the

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: too many idle threads

2004-08-09 Thread gregma
Sorry to mention that those threads are all jetty threads. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844533#3844533 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844533 --

[JBoss-user] [Messaging, JMS & JBossMQ] - too many idle threads

2004-08-09 Thread gregma
hi, We are using jboss 3.2.1 with jms over http. We noticed that each client connects to the jboss server will cause the jboss generates 2 threads to handle its request (we use both topic and queue). Our problem is: there are too many idle threads existing, from the jmx-console, we can see

[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with transactions

2004-08-09 Thread loubyansky
Can you post a stacktrace of that error? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844531#3844531 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844531 --- This

[JBoss-user] [Persistence & CMP/JBoss] - Re: Primary Keys that are also Foreign Keys

2004-08-09 Thread loubyansky
A field is eaither CMP or CMR, it can't be both. You don't have to create Student_Course EJB at all. You can just map keys to Student_Course. See online docs for an example. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844530#3844530 Reply to the post : h