[JBoss-user] [Installation, Configuration & Deployment] - jboss server slow configuration problem

2005-09-16 Thread somsahi
As per buliding and running web application document on objectlearn documentation 1)i created project WTP-TUTORIAL-I . but after creation there is red mark on file web.xml error is can not find declaration of web-app schema reference failed web-app_2_4.xsd because could not find the document

[JBoss-user] [EJB/JBoss] - Re: Stack Overflow using EJB3

2005-09-16 Thread evrim
ok, you are right. How do we make prePassivate() transactional? i) with @TransactionAttribute() annotation ii) | manager.getTransaction().begin(); | manager.flush(); | manager.getTransaction().commit(); | I'm confused with this problem. I've tried both but failed. Thnx. View the orig

[JBoss-user] [News & Announcements] - JBoss Microcontainer release 1.0.1

2005-09-16 Thread [EMAIL PROTECTED]
A bug fix release to tidyup xml schema issues: It is currently used in the following ways: * Embedded EJB3 * Seam * The POJO/bean deployer to be included in JBoss-4.0.3 * Soon to be the core of JBoss5 Release Notes: http://sourceforge.net/project/shownotes.php?release_id=357079 Downloads: http:/

[JBoss-user] [JBossCache] - java defunct processes caused by JGroups - URGENT

2005-09-16 Thread abitha
Bela, Please see thread http://www.jboss.com/index.html?module=bb&op=viewtopic&t=67846 in which I corresponded with you earlier. Background of our system: We use JBoss 3.2.6, read uncommitted and repl_async, with two appservers in the cluster. We have mostly plain old java objects and extensiv

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - JBoss OneToMany Retrieval

2005-09-16 Thread andrewi
I am a newbie and am trying to get these entities to talk. I can write to the data to the db (I check with the db manager and the store is in the db) but when I retrieve the data I get the customer details including the address but the StoreList is empty. Any ideas ? Thanks @Entity | @Tabl

[JBoss-user] [J2EE Design Patterns] - Should I do hierarchical EJB3s?

2005-09-16 Thread platinumdragon
I would love to get opinions on this. The example is a bit contrived, but hopefully it will get across what I'm after. Let's say we have a doctor EJB3: | @Stateless | public class DoctorBean implements Doctor | { |public Patient getPatient(String patientNumber); | } | Now, in

[JBoss-user] [JNDI/Naming/Network] - Re: no security manager: RMI class loader disabled

2005-09-16 Thread csimon
You need a security manager. Sample code: System.setProperty("java.security.policy", "client.policy"); if (System.getSecurityManager() == null) System.setSecurityManager(new RMISecurityManager()); Properties env = new

[JBoss-user] [Security & JAAS/JBoss] - Login automatically after registration

2005-09-16 Thread javatwo
After user registration(username, password, ...), how to let the user automatially login into the system? Right now user have to go through a form to login after registration. In other words, how to populate session with authenticate info? Can someone help me or point me to some documentation?

[JBoss-user] [JBossWS] - jbossws-samples-4.0.3.zip

2005-09-16 Thread hsutarwala
Can anyone tell me how and from where to download "jbossws-samples-4.0.3.zip"? I have not been able to find it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895236#3895236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [JBossWS] - Re: JBossWS doesn't seem to pick up my webservice

2005-09-16 Thread platinumdragon
Hmmm... Deploying to JBoss on my laptop gets a little further. Same version, I don't get what the difference is. I'll have to do a new install and see which way it goes. It looks like it's trying on this one, but because I'm using JAX-WS 2.0, I don't have a jaxrpc-mapping.xml file, which is

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jbossmq-state.xml contains ClientIDs for same MDB

2005-09-16 Thread sschmidt
I found navigating this site for an answer to this problem very frustrating and confusing, as much was contrdictory and it was often difficult to see which version of JBoss it applied to, but the answer I found was that you can specify the mdb-user and mdb-passwd tags in the jboss.xml file and t

[JBoss-user] [JBossCache] - Re: Distinguishing members

2005-09-16 Thread [EMAIL PROTECTED]
Only when the cache is replicated; and started View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895230#3895230 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895230 --

[JBoss-user] [JNDI/Naming/Network] - Re: Starting failed jboss:service=Naming java.lang.ClassCast

2005-09-16 Thread [EMAIL PROTECTED]
More details about the jdk are required. On your jdk the default InitialContext environment is seen to contain entries other than the expected string/string key/value properties from the server conf/jndi.properties file. Create a bug report in jira with the details. Since you have already done s

[JBoss-user] [JCA/JBoss] - Re: Problem while accessing Oracle datasource from outside o

2005-09-16 Thread [EMAIL PROTECTED]
Unless there is a bug report/feature request for such issues, its not going to move forward. Using a DataSource outside of the server is an anti-pattern as far as we are concerned, so unless there is a significant number of requests its not much of a priority for improvement. View the original

[JBoss-user] [JBoss Portal] - Override Portlet Renderer Class(es)

2005-09-16 Thread Dan Simon
Is it possible to override the renderer classes used to render a given portlet (or perhaps region) within a given portal page? I know that within the *-portal.xml files you can define a renderer set to be used for the entire portal (org.jboss.portal.property.renderSet), but is it possible to ov

[JBoss-user] [Advanced Documentation] - I have this problem -- am new to JBoss --- plz help

2005-09-16 Thread jvm_expert
Iam trying to deploy my application on JBoss, I had it on weblogic before, I had built the ear using the same ant script and copied the ear into default/deploy folder. Now it gives the following exception, dunno whatz wrong ... can anyone help ??? 10:41:58,702 ERROR [BaseModelMBean] Exception

[JBoss-user] [Security & JAAS/JBoss] - Re: J2EE Client Authenticated but Subject has no Principals

2005-09-16 Thread [EMAIL PROTECTED]
anonymous wrote : The ClientLoginModule only started doing this as of jboss-3.2.4 ... I'm using the ClientLoginModule along with a custom server login module. The sessionContext.getCallerPrincipal() returns the principal I set in the commit phase of my custom server login module, the client's

[JBoss-user] [Beginners Corner] - Re: web app deployment

2005-09-16 Thread jopaki
Ok, it works BUT there is an important unstated requirement: the app directory name must end in .war. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895197#3895197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=389519

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - classloader issue on jboss3.2.2 for tomcat4.1

2005-09-16 Thread liobod
Hello world, For some reason, i had to change default conf of my jboss 3.2.2 in order to avoid the use of jboss class loader. It's now set in [jboss]\deploy\jbossweb-tomcat41.sar\META-INF\jboss-service.xml in this way : false The problem is now my webapp does not even see/load my jars in my

[JBoss-user] [Beginners Corner] - Re: JB's Developer Notebook - Omission and Error

2005-09-16 Thread [EMAIL PROTECTED]
Ok, that's a relief. Since you are in Austin, if you have any questions/comments about the book, you can catch me at the Austin Java User's Group. (http://www.austinjug.org/) I'm there every month I'm in town, and I'm always eager to hear about what readers liked/disliked about the book. Vi

[JBoss-user] [JBossWS] - JBossWS doesn't seem to pick up my webservice

2005-09-16 Thread platinumdragon
I am attempting to deploy my web application using JAX-WS 2.0 and JBoss 4.0.3. I have the WEB-INF/web.xml and WEB-INF/webservices.xml (I'll post if it will help). As you can see below from the log, my web app (udbms-server-ws.war) is being picked up, but I don't see anywhere where the WSDL is

[JBoss-user] [JBossCache] - Re: Distinguishing members

2005-09-16 Thread Motormind
"[EMAIL PROTECTED]" wrote : TreeCache.getLocalAddress() return an instance of org.jgroups.stack.IpAddress. The problem is that JBoss already uses the additional bytes to stick the logical node name into the IpAddress... Hmm.. TreeCache.getLocalAddress() actually returns a null on my system View

[JBoss-user] [EJB/JBoss] - Re: EJB on jboss4.0.3 - HELP

2005-09-16 Thread darranl
"achetan" wrote : | Please suggest which i should go for? | RC means Release Candidate i.e. It could be released as a production release but there may be other issues found that need to be addressed before it can be released. View the original post : http://www.jboss.com/index.html?modul

[JBoss-user] [JBossCache] - Re: Distinguishing members

2005-09-16 Thread [EMAIL PROTECTED]
TreeCache.getLocalAddress() return an instance of org.jgroups.stack.IpAddress. The problem is that JBoss already uses the additional bytes to stick the logical node name into the IpAddress... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895185#3895185 Repl

[JBoss-user] [JBossWS] - Re: ws4ee-client not bound

2005-09-16 Thread Jana
The samples were really helpfull. So, in my case it is an app client so I packed a jar with application-client.xml and jboss-client.xml in the META-INF. After deploying I can see the service via JNDI. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895184#38951

[JBoss-user] [JBossCache] - Re: Distinguishing members

2005-09-16 Thread Motormind
"[EMAIL PROTECTED]" wrote : You can attach some bytes to a JGroups IpAddress, check out HAPartitionImpl in JBoss for how to do this I thought about that, but didn't see a way to obtain the IP-address & port of a process that uses the cache. View the original post : http://www.jboss.com/index.

[JBoss-user] [JBossCache] - Re: Distinguishing members

2005-09-16 Thread [EMAIL PROTECTED]
You can attach some bytes to a JGroups IpAddress, check out HAPartitionImpl in JBoss for how to do this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895181#3895181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=389518

[JBoss-user] [EJB/JBoss] - Problems with a primary-key from an entity-bean

2005-09-16 Thread Oliver Roell
Hi, I am using JBoss 4.0.2 with the embedded HSQLDB, and I have written an entity-bean with a specific Primary-Key-Compound-class, and it doesn't work. All my other entity-beans with Integer or String as PK work well. This is my PK-class: public class RecipePosPK { public int recipeId;

[JBoss-user] [JBossCache] - Transactional behavior when creating new nodes

2005-09-16 Thread dpinkney
Hello, First, thanks for putting this great project out. I have a question regarding transaction behavior when creating new nodes. I'm trying to figure out how to atomically create a node and update it within a single transaction. Using a REPEATABLE_READ transaction level, the assertion on lin

[JBoss-user] [JBossCache] - Distinguishing members

2005-09-16 Thread Motormind
I have two sorts of processes using a certain cache: some non-interactive (functioning more like servers) and interactive ones with a gui. How can I distinguish between the two when I see a view change? I tried to distinguish by hostname, but that is not possible since both the clients and the s

[JBoss-user] [Beginners Corner] - Re: JBOSS and ADF FACES

2005-09-16 Thread mtigua
OK. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895175#3895175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895175 --- SF.Net email is sponsored by: Tam

[JBoss-user] [JBoss Getting Started Documentation] - Re: use an EJB as client of a web service

2005-09-16 Thread Jana
The same here... :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895173#3895173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895173 --- SF.Net email is sponsored

[JBoss-user] [Beginners Corner] - Re: JB's Developer Notebook - Omission and Error

2005-09-16 Thread arnieAustin
My bad...I had been using mySQL with other tools and IDEs so I knew it was working. But JBoss didn't have a copy of the jdbc driver in its /lib folder. DOH! But it is really odd that it would say it had a db table creation error when it could even communicate with the db! Looks like something w

[JBoss-user] [JBoss Portal] - JBoss Portal versus Zope

2005-09-16 Thread nareshag
Hi, I am a researcher from Singapore. I need to evaluate JBoss Portal and Zope for use in a university module. I'd be grateful if you could kindly help me answer these (possibly w.r.t. both JBoss Portal and Zope), or from the perspective of JBoss Portal. 1. Are they portal framework? 2. Can t

[JBoss-user] [JBoss Portal] - Re: JBoss portal table doesn't exist - Starting failed porta

2005-09-16 Thread [EMAIL PROTECTED]
And from the documentation: http://docs.jboss.com/jbportal/v2.0Final/user-guide/en/html/installation.html#d0e679 "If you encounter that the Hibernate dialect is not working properly and would like to override the default behaviour, you simply need to modify jboss-portal.sar/conf/hibernate/hiber

[JBoss-user] [JBoss Portal] - Re: JBoss portal table doesn't exist - Starting failed porta

2005-09-16 Thread [EMAIL PROTECTED]
"litherm" wrote : | There are other problems as well. The install says: | >The downloaded archive contains the following files: | > | >* jboss-portal.sar | >* portal-forums.ear | >* /setup/portal-*-ds.xml | portal-forums in now available from another archive. jboss-p

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - How to get access to OracleDriver java.sql implementations ?

2005-09-16 Thread preitsma
Hi, I am working on JBoss 4.0.2. and configured a local tx datasource to an Oracle 9.2 database using Oracle's ojdbc14 driver of same version. I managed to get a handle to the java.oracle.BLOB using this code. rs = pstmt.executeQuery(); | rs.next(); | | //fetch the underlying resultset

[JBoss-user] [JBoss Portal] - Re: JBoss portal table doesn't exist - Starting failed porta

2005-09-16 Thread litherm
Hi again, It looks like the "right" place to configure your hibernate for portal is in this file: jboss-portal.sar/conf/hibernate/hibernate.cfg.xml I would ask someone at JBoss to please update their docs to include this information as well as other incorrect information about the portal insta

[JBoss-user] [JBoss Portal] - Re: JBoss portal table doesn't exist - Starting failed porta

2005-09-16 Thread litherm
Hi, I'm having the same problem trying to get JBoss Portal installed. As far as I'm concerned it is a portal problem if I'm following the install instructions and it neglects to mention something like this that prevents the product from working. There are other problems as well. The install

[JBoss-user] [JCA/JBoss] - Re: Problem while accessing Oracle datasource from outside o

2005-09-16 Thread Joster
To be honest we tried to use JBoss datasources outside JBoss and it was a disaster. The performance were so slow very SLO. The problem was within the while(rs.next()). - 0.5s using JDBC instantiation ( DriverManager) - 15s with JBoss datasource ! No way to fix this issue. We d

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Session bean hangs when sending message

2005-09-16 Thread FrereTuck
"Thread-29" daemon prio=1 tid=0x086bb7d8 nid=0x5187 in Object.wait() [8e603000..8e6038c8] at java.lang.Object.wait(Native Method) - waiting on <0x4b110c70> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at java.lang.Object.wait(Object.java:429) at o

[JBoss-user] [JBossWS] - Minimal ws4ee deployment

2005-09-16 Thread dannox02
We are using JBoss 4.0.2 as our application server, but at this only need bare bones installation. We have removed all the files from the server/default/deploy/ directory except the jbossweb-tomcat55.sar which leaves with enough to serve up JSP/JSF etc. Now we are adding web service support, so

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Some remote clients not receiving messages

2005-09-16 Thread srose
anyone else have this problem? Or any ideas what it could be ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895140#3895140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895140 --

[JBoss-user] [EJB/JBoss] - EJB on jboss4.0.3 - HELP

2005-09-16 Thread achetan
Hi all, I have an application currently running on jboss4.0.1 . Now i want to migrate to 4.0.2 or 4.0.3(RC) . Please suggest which i should go for? Also on 4.0.2/4.0.3 when i am trying to create a stateless session bean using home.create() method , i am getting following exception on client si

[JBoss-user] [Beginners Corner] - Re: Yet another Class Loader problem - Please Help

2005-09-16 Thread gulaplaarajasekhar
I have to try it now and see it. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895137#3895137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895137 --- SF.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: java.lang.NullPointerException

2005-09-16 Thread kalipannan
Hey, I am really sorry for wasting so much of you guys' time. I found the mistake.. How silly and dumb of me. I am closing the connection myself in the finally block... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895136#3895136 Reply to the post : http:/

[JBoss-user] [JBossWS] - Re: SOAPConnection Problem

2005-09-16 Thread Jonathan.Martin
OK, The previous problem seems to be my fault, beleive it or not :-) I had forgot to tell my ide not to package the dependant jars into the web-app and therefore had loads of unwelcome stuff in my lib directory. Now I seem to be getting the original problem, I cannot make a call from the connec

[JBoss-user] [EJB/JBoss] - Re: Running JBoss under Linux

2005-09-16 Thread darranl
Can you post the top section of the ejb-jar.xml that is packaged within your jar. It looks as if you might have specified an invalid DOCTYPE View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895134#3895134 Reply to the post : http://www.jboss.com/index.html?mo

[JBoss-user] [Beginners Corner] - Re: I have problems running an example HelloWorldTest. It do

2005-09-16 Thread gulaplaarajasekhar
The information given is not enough.Can you please provide more?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895133#3895133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895133 -

[JBoss-user] [Beginners Corner] - Re: ManyToOne question

2005-09-16 Thread gulaplaarajasekhar
I am not sure, but it seems that the relationships are configured in the web.xml. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895132#3895132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895132

[JBoss-user] [Beginners Corner] - Re: web app deployment

2005-09-16 Thread gulaplaarajasekhar
jopaki, You just have to copy that particular directory in the webapp/ directory. Now start the jboss and see it the browser. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895131#3895131 Reply to the post : http://www.jboss.com/index.html?m

[JBoss-user] [Security & JAAS/JBoss] - Re: standalone EJB client and JASS

2005-09-16 Thread wats
When I try to use DatabaseServerLoginModule defined in the following local myLogin.conf file | ehelp { | org.jboss.security.auth.spi.DatabaseServerLoginModule required | dsJndiName="java:/PostgresDS" | principalsQuery="select hashedpassword from EMPLOYEES where login=?" | rolesQuery="s

[JBoss-user] [Security & JAAS/JBoss] - Re: standalone EJB client and JASS

2005-09-16 Thread jaikiran
Ya, you are right, that code wont be working for the requirement you are mentioning. "wats" wrote : I tried using DatabaseServerLoginModule, but it seems it is not able to acces the DataSource in the application server. | Whats the exact problem you are facing while using DatabaseServerLogi

[JBoss-user] [Security & JAAS/JBoss] - Re: standalone EJB client and JASS

2005-09-16 Thread wats
Hello, Thanks jaikiran for your help, but the solution you posted is not what I was looking for. I was using similiar code in my app (ClientLoginModule etc.) and also tested yours, but the authentication seems to work every time, whatever the login/pass values are. If the login information is n

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Examples with EJB3

2005-09-16 Thread infodavid
Hello, Is there some examples using JSP and servlets with EJB3 ? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895116#3895116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895116 --

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.1 (on debian) startup stalls on jdk1.5, ok on

2005-09-16 Thread irahayes
My mistake - it's JBoss 4.0.2 I've been looking at the screen for too long :( Cheers Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895115#3895115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895115

[JBoss-user] [JBossWS] - Re: SOAPConnection Problem

2005-09-16 Thread Jonathan.Martin
Im sure this is turning into a silly question, but here goes. I took a step back and have written a servlet outside the world of struts which when called calls: SOAPConnectionFactory soapConnectionFactory = SOAPConnectionFactory.newInstance(); SOAPConnection connection = soapConnectionFactory.c

[JBoss-user] [JNDI/Naming/Network] - Re: Starting failed jboss:service=Naming java.lang.ClassCast

2005-09-16 Thread jjvangils
I did the following to get this working (JBoss 4.0.2). I'm still hoping for a better way though, or an explanation why it failed in the first place. In NamingService.java (\server\src\main\org\jboss\naming), change the line: String value = (String) env.get(key); into: String value = env.get(key).

[JBoss-user] [Security & JAAS/JBoss] - Re: standalone EJB client and JASS

2005-09-16 Thread jaikiran
Hi, You can use the "client-login" LoginModule for the JAAS login. As you mention, that this is a standalone client accessing an ejb, you would require a file(say myLogin.conf) containing the login modules as follows: client-login{ |org.jboss.security.ClientLoginModule required; |

[JBoss-user] [Installation, Configuration & Deployment] - JBoss 4.0.1 (on debian) startup stalls on jdk1.5, ok on jdk1

2005-09-16 Thread irahayes
This has been bugging me for a couple of days now... I have a cheap "virtual" server run by an ISP which we use to stage applications. When I start jboss using the sun j2sdk1.4.2_09 the server starts up ok. When I use the sun jdk1.5.0_04, the startup process "stalls" at a random point in the

[JBoss-user] [EJB/JBoss] - Expert advice needed:Database users with database security f

2005-09-16 Thread Katukas
We plan to use EJB. In the previous applications we used Oracle DB with oracle specific database security features where every user used to have his own connection, with specific permissions and so on... Is there any way to use multiple database users (each user opens it?s own db connection) and

[JBoss-user] [EJB/JBoss] - Running JBoss under Linux

2005-09-16 Thread alanwang
Hello An application was developed under JBoss 4.0.1sp1. It is working well under windows. But It cannot deploy EJB under Linux. The error as following | 16:48:24,067 ERROR [MainDeployer] could not create deployment: file:/home/alanwang/jboss-4.0.1sp1/server/PD/tmp/deploy/tmp45723pdr.ear-co

[JBoss-user] [Management, JMX/JBoss] - Need help with startup service

2005-09-16 Thread scanzano
Hi all, I have written a MBean service that deploys ok, however, it does not seem that the start method is being fired. Here is the code. IntaglioUserServerServiceMBean.class and IntaglioUserServerService.class are put into a jar file and deployed into the ...\server\default\lib directory The

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: class must define a set accessor

2005-09-16 Thread sanshew
Never mind, a kind gentleman over google groups pointed it out! the getters are returning integers and the setters are taking in strings. My BAD. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895081#3895081 Reply to the post : http://www.jboss.com/index.htm