[JBoss-user] [Installation & Configuration] - Re: JNDI and EJB over *Proxied* HTTP. How?

2004-06-16 Thread Didi1976
You can specify a proxy on startup of your fat-client using: java -Dhttp.proxyHost=yourproxy -Dhttp.proxyPort=8080 YourClass View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839039#3839039 Reply to the post : http://www.jboss.org/index.html?module=bb&op=postin

[JBoss-user] [HTTPD, Servlets & JSP] - Re: session NOT sticky when switching from http to https

2004-06-16 Thread nobel
if apache deals with ssl and both the http connector as well as the https connector is commented in jboss-service for the embedded tomcat then loadbalancing/failover using apache2/mod_jk2 works fine. i guess having tomcat dealing with https request whilst not dealing with http request would leav

[JBoss-user] [Clustering/JBoss] - Re: How to clear HAJNDI's HARMI stub being cached in NamingC

2004-06-16 Thread budworth
Forgot to mention, it's happening in 3.2.3, as well as 3.2.4 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839035#3839035 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839035 ---

[JBoss-user] [Clustering/JBoss] - Re: How to clear HAJNDI's HARMI stub being cached in NamingC

2004-06-16 Thread budworth
Hi Scott, thank you for the response. (sorry for my delay, got side tracked for quite a bit) Your example works fine, but if you auto-discover the host, it won't. Simply change your | env.setProperty(Context.PROVIDER_URL, "localhost:1100"); | to: | env.setPropert

[JBoss-user] [EJB/JBoss] - Potential Bug when looking up on localhost

2004-06-16 Thread bruciadmin
Hi There, I hope this is the right place to post this, I think I've found a bug with the naming component of JBoss 3.2.4. I've tested with JDK 1.4.2_02 and 1.4.2_04. This problem was not in the previous version we were using (3.2.3) and was discovered initially upon upgrade. The problem seems

[JBoss-user] [Persistence & CMP/JBoss] - Re: NullPointerException from jboss while loading a CMR

2004-06-16 Thread ittay
can you explain why i should put the home and interface in the section? do you know how i can do it with xdoclet? thanx, ittay View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839032#3839032 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [Persistence & CMP/JBoss] - getting null cmr properties

2004-06-16 Thread ittay
hi, we sometimes encounter a problem where foo.getBar() returns null (where foo and bar are cmp entity beans), but the relationship exists (and it is static, never changes) we're using jboss 3.2.0 and mysql 3.23.56 thanx, ittay View the original post : http://www.jboss.org/index.html?module=b

[JBoss-user] [JCA/JBoss] - Re: DBCP using Jboss ,Hibernate and PostgreSQL

2004-06-16 Thread ManoharReddy
Dear Steve, Thank you very much for your timely response. But i am not able to find postgres-service.xml to map. i am finding only postgres-ds.xml. But in this file i can't map as you suggested. Can you clarify me on this. Regards, Manohar View the original post : http://www.jboss.org/index.h

[JBoss-user] [Clustering/JBoss] - Problem with No Passivation Policy for Clustered Stateful se

2004-06-16 Thread sreedevik
Hi, I have configured NoPassivationPolicy for Clustered Stateful SessionBean container and Standard Stateful SessionBean container in all/conf/standardjboss.xml Still I observe that ejbPassivate() is being called. And this I observe only in the clustered setup. It is my requriement that the state

[JBoss-user] [Security & JAAS/JBoss] - Dynamic login configuration

2004-06-16 Thread cbrettin
As fas as the documentation went I thought this was impossible, but after a search though config files and source code I found out how to do this. I've added a page to the wiki: http://www.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig (.. somebody is bound to tell me that it was obvious) C

[JBoss-user] [EJB/JBoss] - Re: 3.2.4 , MDB deplyoment -> DefaultJMSProvider not bound

2004-06-16 Thread Rolf
Mmmh restarted JBoss and suddenly it was working ? Cheers Rolf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839026#3839026 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839026

[JBoss-user] [EJB/JBoss] - 3.2.4 , MDB deplyoment -> DefaultJMSProvider not bound

2004-06-16 Thread Rolf
Hi Well I tried to deploy a MDB into 3.2.4 and cause following erros (See below) Yes I did search this forum and I did check if the RecursiveSearch attribute is set to True but 3.2.4 still comes up with the same erros. Any suggestions ? //Console 01:52:54,140 INFO [EjbModule] Deploying Perfor

[JBoss-user] [Installation & Configuration] - error beginning Jboss

2004-06-16 Thread asancho
I have win98 C:\JBoss\bin>run Error de sintaxis Error de sintaxis JBOSS_CLASSPATH=C:\JBoss\bin\run.jar;run.jar;../lib/crimson.jar;run.jar;../lib. help me please View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839019#3839019 Reply to the post : h

[JBoss-user] [Installation & Configuration] - Re: JBoss3.2.3 error when using Xalan 2.6 and Sun VM 1.4.2_0

2004-06-16 Thread dgbuss
I had the same problems using the new Xalan jars. Thanks for posting the solution! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839018#3839018 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839018 --

[JBoss-user] [J2EE Design Patterns] - Re: Generate a Business Delegate and ServiceLocator

2004-06-16 Thread nickman
We have a ServiceDelegate which returns a proxy as follows: | public static Object getServiceDelegate(String jndiName) throws NamingException { | ServiceDelegate sd = new ServiceDelegate(jndiName); | return Proxy.newProxyInstance(sd.getLocal().getClass().getClassLoader(), |

[JBoss-user] [J2EE Design Patterns] - Re: Generate a Business Delegate and ServiceLocator

2004-06-16 Thread ccajina
Try the EJB Design Patterns book (free download @ TheServerSide) and/or Professional Struts Applications source code (also avaliable online from Wiley or Apress, don't remember) You'll have to code most of it, but it will give more control and understanding of how things work. Good Luck! View

[JBoss-user] [EJB/JBoss] - Re: getEJBLocalObject

2004-06-16 Thread ccajina
I think that what you're tryin' to do is implemented in the examples from the Professional Struts Applications book... you might want to look @ the source code from the book and pay special attention to the ServiceLocator pattern implementation. Good Luck! PS: you can also try the EJBHomFactory

[JBoss-user] [Installation & Configuration] - Re: log4j & org.apache.log4j.net.SMTPAppender

2004-06-16 Thread yacout
Hi, I have the same error in linux, have you find any solution ? Thanks "lazarusli" wrote : Hi, Kevin, | I have that same problem too... | | When I turn on the SMTP appender, I will get the following error: | | | java.lang.NoClassDefFoundError: javax/mail/Multipart | | at jav

[JBoss-user] [Persistence & CMP/JBoss] - Re: Problems with Roster-GUI?

2004-06-16 Thread Horus
of course I want to create some JSP application and I don't have any idea how to get rid of some stupid compiler errors View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839008#3839008 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [Persistence & CMP/JBoss] - Problems with Roster-GUI?

2004-06-16 Thread Horus
For a part of a project I need to use a graphic UI of the RosterExample. Do you know, whether such application is already available somewhere or can you give me some advise how to solve this problem? Greetz Mirko View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p

[JBoss-user] [EJB/JBoss] - How to deploy an EJB?

2004-06-16 Thread Horus
I don't know exactly how to deploy an EJB. I get the fallowing error while deploying: Error during deploy; - nested throwable: my web.xml: RosterWAR no description no description ejb/cmproster/roster Session ejb.cmproster.roster.RosterHome ejb.cmproster.ros

[JBoss-user] [JCA/JBoss] - Re: Getting a sar to depend on a jdbc connection

2004-06-16 Thread crosenbury
OK, I finally figured it out. Here is what I had to do: in the service.xml file, I had to add the following: | jboss.jca:service=RARDeployer | jboss.jca:service=LocalTxCM,name=jdbc-name | I had tried this, but had the service/name flipped because that is the way

[JBoss-user] [JBoss.NET & SOAP] - can't understand my ClassNotFoundException

2004-06-16 Thread berkgypsy
I have glue 5.0.1 hosted in JBoss3.0.0. Deploying the exploded war works. I have my glue.jar which contains all glue classes in the WEB-INF/lib directory. When I try to access a wsdl for a service, I get this exception: java.lang.NoClassDefFoundError: electric/util/mime/MIMEData at ja

[JBoss-user] [JCA/JBoss] - Re: ClassCastException retrieving DataSource on JNDI lookup

2004-06-16 Thread gouvea2
I need javax.sql.DataSource in my deployment in order to assembly a list of Value Objects via JDBC instead of query the database through EJB-QL. I also need certain degree of isolation because our deployment lives with legacy releases of our application in the same container. We never had probl

[JBoss-user] [Messaging, JMS & JBossMQ] - messagecache and network failure

2004-06-16 Thread fawce
Hi, I am running a jboss3.2.2 instance, with about 15 clients connecting to jbossmq. I am monitoring the number of messages in the cache using the messageCache MBean properties. In addition, I am monitoring the number of non-durable messages, and the number of subscribers, for each topic I use

[JBoss-user] [EJB/JBoss] - Update problems calling an entity bean from a session bean

2004-06-16 Thread raf
I'm facing strange update problems using an entity bean inside a session bean. Here is the scenario. I'm using JBoss 3.2.3 I call an entity bean named TestBMPEntity mapping an existing record on the database with id=6 from a session bean. I'm using the following client code:

[JBoss-user] [EJB/JBoss] - Re: how can I keep a kind of

2004-06-16 Thread davidchen
Thanks a lot James for your help and very clearly sample codes. David View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839000#3839000 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839000 --

[JBoss-user] [Management, JMX/JBoss] - Re: questions about JMX on JBoss2.4.8

2004-06-16 Thread davidchen
Thank you very much Scott for immediately reply. some more questions: MBean jar file must be deployed to lib/ext directory in jboss2.4.8? does "reload" in jmx-console will start that MBean again? and does "unregister" in jmx-console will stop that MBean (call stop() function of that MBean)? Than

[JBoss-user] [Installation & Configuration] - run.bat & shutdown.bat do not represent latest versions

2004-06-16 Thread newtonm
I've just been looking through the run.bat and shutdown.bat files that came with the jboss-3.2.4.zip download. As they still contain lines referencing the %ARGS% variable I think that the following bugfix has been left out of the build. [ 840239 ] run.bat does not parse arguments containing = co

[JBoss-user] [HTTPD, Servlets & JSP] - Re: MBean Error when starting Tomcat with JBoss 3.2.4

2004-06-16 Thread michael_lacy
http://jboss.org/index.html?module=bb&op=viewtopic&t=50602 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838997#3838997 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838997 --

[JBoss-user] [Persistence & CMP/JBoss] - Re: Erroneous Error Msg. When Hot-Deploying

2004-06-16 Thread [EMAIL PROTECTED]
BINGO! thank you for your help, alexey. i had an old .ear from when i had used this project as a template/start for a new project ... and when i deleted that .ear file (which included old versions of VendorContactXXX.java), this particular problem of mine with hot deployment was resolved. now

[JBoss-user] [HTTPD, Servlets & JSP] - Re: MBean Error when starting Tomcat with JBoss 3.2.4

2004-06-16 Thread rimmeraj
Did you figure this out? I am having the same problem... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838993#3838993 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838993

[JBoss-user] [Installation & Configuration] - Re: JNDI and EJB over *Proxied* HTTP. How?

2004-06-16 Thread mgaert
Sorry, that should be "EJB access and JNDI" that we have set up all right. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838992#3838992 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838992 --

[JBoss-user] [Installation & Configuration] - JNDI and EJB over *Proxied* HTTP. How?

2004-06-16 Thread mgaert
Hello, we have set up HTTP and JNDI tunneled over http all right for a Swing-based fat client. The last piece would be to allow the client to not use HTTP directly but to connect through an HTTP proxy on the client side (i.e. squid or pound). Any idea where I can specify a HTTP Proxy in the inv

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Subscribe to JBoss MQ Topic from .NET client?

2004-06-16 Thread fawce
The csil client works well for subscribing to topics. The version in cvs right now can process messages quite rapidly, despite the overhead of encoding the jms messages into xml. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838990#3838990 Reply to the post

[JBoss-user] [EJB/JBoss] - Re: how can I keep a kind of

2004-06-16 Thread jamesstrachan
Brace yourselves, here is the complete code :- | //Package: Security Objects | //Class:SecurityRoleSetBean | //Version: 1.0 | //Copyright:Copyright (c) 2002 | //Author: James Strachan | //Company: Milton Software Components | //Description: Entity B

[JBoss-user] [Installation & Configuration] - can you specify war/ear deployment dependencies as with MBea

2004-06-16 Thread berkgypsy
We are breaking up our deployment so that our war sits outside the ear file that contains ejbs the war is dependent on. Unfortunately this means that the war is trying to deploy before the ear file, and this breaks. It looks like we could create a new Deployment object to handle this, but is t

[JBoss-user] [Installation & Configuration] - Re: Debug messages in Log

2004-06-16 Thread amenosse
Ok, kirkh. I changed the log4j.xml, but the debug messages are in log yet. Rebember that I'm using JBoss 3.2.4 (Default). I search this configuration in all objects but I didn't find it. What more can I do ? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtop

[JBoss-user] [Management, JMX/JBoss] - Re: questions about JMX on JBoss2.4.8

2004-06-16 Thread [EMAIL PROTECTED]
1. The equiavlent of the jmx-console is the htmladaptor which resides at http://localhost:8082/ 2. You don't. 2.4.x does not support redeployment of mbeans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838986#3838986 Reply to the post : http://www.jboss.

[JBoss-user] [Management, JMX/JBoss] - JBoss 3.2.4 monitors ( ClassCastException )

2004-06-16 Thread dhan
Hi, I'm using jboss-3.2.4 and whenever I call getObservedObjects() on operation Monitor, it throws ClassCastException. Looking at the Monitor.java source code, it looks like there's a bug in getObservedObjects() operation. It basically creates a HashSet of keys(ObjectNames) and later try t

[JBoss-user] [Management, JMX/JBoss] - questions about JMX on JBoss2.4.8

2004-06-16 Thread davidchen
Hi, there: As a newbie to JMX, I have some questions about JMX. We are using JBoss2.4.8 currently. 1. how to access jmx-console on JBoss2.4.8? if using JBoss3.x I can access jmx-console through localhost:8080/jmx-console; but I know know where is jmx-console on JBoss2.4.8. 2. how to stop and star

[JBoss-user] [Beginners Corner] - Re: EJB not committing

2004-06-16 Thread gorano
I don't know what your implementation looks like , but I think you have to very careful with the approach you have taken. Create a separate UniqueID table instead, that keep track of the Ids. /G View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838983#3838983

[JBoss-user] [Installation & Configuration] - Re: NoSuchMethodError on 3.2.4 Deployment startup

2004-06-16 Thread rimmeraj
Yup. it's the xalan with bcel stuff in it. Thanks everyone for the quick replies... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838982#3838982 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838982 --

[JBoss-user] [HTTPD, Servlets & JSP] - Website deploy problem

2004-06-16 Thread juduf24
Hi, I have a problem deploying websites. My server is running apache 1.3.28 and jboss(tomcat) 3.2.3 and i would like to set them up together so user can access my website by doing a : http://80.92.68.122 I have put into jboss/default/deploy/ the .war of the website: ac.war In a brother : http:/

[JBoss-user] [Installation & Configuration] - Re: NoSuchMethodError on 3.2.4 Deployment startup

2004-06-16 Thread ddurkin
look in the /jre/lib/endorsed/xalan.jar I think I remeber seeing some versions that had bcel classes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838980#3838980 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838980

[JBoss-user] [Installation & Configuration] - Re: NoSuchMethodError on 3.2.4 Deployment startup

2004-06-16 Thread rimmeraj
Nope... cd $JAVA_HOME find . -name "*.jar" ./jre/lib/ext/sunjce_provider.jar ./jre/lib/ext/dnsns.jar ./jre/lib/ext/localedata.jar ./jre/lib/ext/ldapsec.jar ./jre/lib/sunrsasign.jar ./jre/lib/jce.jar ./jre/lib/security/US_export_policy.jar ./jre/lib/security/local_policy.jar ./jre/lib/jsse.jar ./

[JBoss-user] [Installation & Configuration] - JBossNS NamingServer SSL

2004-06-16 Thread nickshah
We have a java client connecting to jndi on port 1099. Is it possible to define client and server sockets factories for SSL? I have attempted to define attributes "clientsocketfactory" & "serversocketfactory" with values RMISSLClientSockeFactory and RMISSLServerSocketFactory resp in jboss-s

[JBoss-user] [Installation & Configuration] - Re: NoSuchMethodError on 3.2.4 Deployment startup

2004-06-16 Thread jae77
you have a copy of bcel.jar somewhere else on your classpath. check the "lib/endorsed" directory under your jdk install directory to see if it's lurking there. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838977#3838977 Reply to the post : http://www.jbos

[JBoss-user] [Installation & Configuration] - Re: Debug messages in Log

2004-06-16 Thread kirkh
There is a log4j.xml file in the conf directory of the server version you are running (all, debug, minimal). Change any reference in there using the words INFO or DEBUG to WARN or ERROR or FATAL depending on how much debugging and error handling you want to turn off. A quick perusal through th

[JBoss-user] [Clustering/JBoss] farming problem with trivial webapp

2004-06-16 Thread Guido Guenther
Hi, To test farming I have set two JBoss 3.2.4RC1 instances on a single machine using the ServiceBindingManager and the "all" config. Both instances start up fine and are seeing each other. When I now dump a simple .war into lb1/farm/ the webapp is being deployed and available on the node where I p

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Client not able to pull any messages from the Queue

2004-06-16 Thread dannyyates
OK. I assume it still doesn't work? Are you setting the PERSISTENT property CORRECTLY? I vaguely recall there are two ways to do it. What works for me (although it appears to contradict the Javadoc for QueueSender) is to set the property on the Message immediatly before calling QueueSender.send(

[JBoss-user] [Installation & Configuration] - NoSuchMethodError on 3.2.4 Deployment startup

2004-06-16 Thread rimmeraj
I am trying to deploy a couple of ejb's in the container. I am getting the following backtrace when deploying... 11:14:29,644 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=rns/Rmdhist,service=EJB RuntimeErrorException: java.lang.NoSuchMethodError: org.apache.bcel.generi

[JBoss-user] [Persistence & CMP/JBoss] - Berkeley DB XML integration

2004-06-16 Thread aonnen
Hello, Today we are working on a big project made of heterogenous technologies and specifically Jboss. I have to integrate Berkeley DB XML with the transaction ability. I've read MySQL is a good JDBC Driver for Berkeley DB and that JCA 1.5 could be needed So I'm a little confused now. What do y

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Client not able to pull any messages from the Queue

2004-06-16 Thread brightsunny2020
Thanks dannyyates Yes, I read JMS Spec and I set the delivery mode to PERSISTENT also Thanks Sunny View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838972#3838972 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=383

[JBoss-user] [Beginners Corner] - EJB not committing

2004-06-16 Thread u9707118
OK, let me first say that I am really new to JBOSS - so I'm probably doing something really stupid... In my code, I have a loop that creates a series of EJB's. In order to find a unique id, I use an sql statement to find the highest value primary key (say 6) and I increment by one (7). This wor

[JBoss-user] [EJB/JBoss] - ejbRemove with commit A causes foreign key violation

2004-06-16 Thread pollentierc
Hi all, I have the following problem with CMP2.0 beans: We are currently using the 'Instance per Transaction' container configuration, but we are trying to move to a container with caching and commit option A. I have the impression that JBoss does not always handle the referential inegrity on

[JBoss-user] [Persistence & CMP/JBoss] - Re: No rollback of inserted data?

2004-06-16 Thread dannyyates
Java broadly divides exceptions into two types: checked and unchecked. Unchecked exceptions derive from RuntimeException or Error. Everything else is a checked exception. Checked exceptions are the ones that the compiler forces you to either catch or else declare with a throws clause in your met

[JBoss-user] [Installation & Configuration] - Debug messages in Log

2004-06-16 Thread amenosse
Hi, I'm using JBoss3.2.4 and it is generate a lot of debug messages in Log. How can I disable debug messages ? Thanks. AndrÃÂ Menosse. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838968#3838968 Reply to the post : http://www.jboss.org/index.html?module

[JBoss-user] [Persistence & CMP/JBoss] - Re: No rollback of inserted data?

2004-06-16 Thread mlehradt
Thanks all for your replies. After I read the EJB 2.0 specification, I can understand why the transaction is not rollbacked automatically (If everything else failed, read the documentation... ;)). I am nevertheless somewhat unsure how I should handle exceptions. I surrounded critical sections

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

2004-06-16 Thread jscalio
Thanks! I'll try your suggestion. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838965#3838965 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838965 --- This SF.Net

[JBoss-user] [JCA/JBoss] - Getting a sar to depend on a jdbc connection

2004-06-16 Thread crosenbury
I have looked for an example of this, and it either doesn't exist, or I can't figure out how to search for the right thing. I have a sar: | | | jboss:service=HibernateAccess | jboss.jca:service=RARDeployer | jboss.jca:name=jdbc/ProductMaster,service=ManagedConnect

[JBoss-user] [Persistence & CMP/JBoss] - problem for 2nd table using CMP

2004-06-16 Thread madadi
Dear all, i am using jboss_3.2.1 and mysql-4.0.18 .as i am new to j2ee iam getting different type of errors. my database contains 2 tables.personal_data and specific_data. personal_data look like... mysql> describe personal_data; +--+-+--+-+-+---+ | Fie

[JBoss-user] [EJB/JBoss] - Re: Schedule an EJB method

2004-06-16 Thread nickman
kehm; We do this by implementing a simple MBean which is an EJB client. Quartz will invoke an exposed operation on the MBean which in turn will look up the EJB Home, get the remote/local and call the method. If you have parameters that need to be passed, you could store them in the DB or an XML

[JBoss-user] [JCA/JBoss] - Re: DBCP using Jboss ,Hibernate and PostgreSQL

2004-06-16 Thread spiritualmechanic
Set up PostgreSQL using the .xml in $JBOSS_HOME/docs/examples/jca. Then point Hibernate to the PSQL data source. (Look up documentation on how to set up Hibernate in JBoss. You'll find it on the Hibernate web site.) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopi

[JBoss-user] [Installation & Configuration] - Re: ???? How to Deploy a .War file on JBOSS ????

2004-06-16 Thread kirkh
I've never used Tomcat in standalone mode, so I can't tell you for sure. My guess would be that the web.xml is the same (standard), and the server.xml would be the jboss-web.xml. However, every server has its own specific setup xml files that are completely different from every other server.

[JBoss-user] [Security & JAAS/JBoss] - Re: Custom Princpal Class

2004-06-16 Thread rimmeraj
Excellent! So does JAAS now keep the Principal class the the server login module returns or do I have to ytell JASS which Principal class to use? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838955#3838955 Reply to the post : http://www.jboss.org/index.ht

[JBoss-user] [EJB/JBoss] - Why dies the lookup function need the Home/Remote interfaces

2004-06-16 Thread chris75be
Hello, Here's what I do: //I use a properties file InitialContext ctx = new InitialContext(); Object obj = ctx.lookup(ejbName); I noticed that the lookup function fails if the client doesn't have the remote AND home interfaces. Why?? Thank you Christophe View the origi

[JBoss-user] [Installation & Configuration] - JBoss wont start Linux

2004-06-16 Thread JJman
I use jboss_init_redhat.sh as a startingscript, althought I changed name to jboss and put it in /etc/rc.d/init.d/ directory. When I type jboss start, it only prints out CMD_START=... and wont't start the server. All the paths and variables are ok. Do I have forgot to do something or what is w

[JBoss-user] [Installation & Configuration] - dtd filenotfoundexception after redeploy

2004-06-16 Thread jason.donovan
Following is my problem, but i think it is a general problem working with a any dtd and no internetconnection. I implemented struts validation, no problem so far, it works fine. JVM has no internet-connection so i placed the validator_1_0.dtd in the WEB-INF. Works fine when i deploy and restart

[JBoss-user] [Management, JMX/JBoss] - Re: Forcing XMBeans to update their persistant attributes?

2004-06-16 Thread chrisdutz
This sounds sort of very imperformant. If I have to do it that way. there is no need for having a Document type attribute. Then I should simply stor the text. I managed my XMBean to store Document-objects now. To load an xml-file into this attibute I added a managed operation to the XMBean whic

[JBoss-user] [Installation & Configuration] - Re: URGENT- Classloader issue

2004-06-16 Thread meissa
you can fix this by setting the UseJBossWebLoader of the jboss-service of the jboss-web-tomcat.sar like this. false let me know if it does'nt work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838947#3838947 Reply to the post : http://www.jboss.org/index.

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP, BLOBS and findAll

2004-06-16 Thread ebende
Hi, I can tell the following on Read-ahead strategies. By default a find-method returns only the primary keys of the records from the DB. (SELECT PK FROM TABLE T; is carried out). Once you invoke a method of a single CMP-EJB (from the collection you got from the find-method) the remainder of th

[JBoss-user] [Installation & Configuration] - Re: URGENT- Classloader issue

2004-06-16 Thread wolfc
Do you still get the same exception? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838945#3838945 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838945 --- This SF.

[JBoss-user] [Installation & Configuration] - Re: Application-specific log4j.xml settings

2004-06-16 Thread jimpo
anyone? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838944#3838944 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838944 --- This SF.Net email is sponsored by The

[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Transactions Spanning Web Requests

2004-06-16 Thread hbjamil
anonymous wrote : I have this questions for Juha: | 1)When bean developer specifies version control attribute, does jboss update its value? | 2) If it does, then does jboss compare its value in Value Object Pattern scenario and throw any exception? If it does then what is the exception type?

[JBoss-user] WAR deployment

2004-06-16 Thread khalid . chaudhry
Hi All, The set up that my company has in place caters for their two (JBoss) application servers. One is supposed to be a mirror image of the other and should in theory be identical. We have recently had problems with one of the servers and I wanted to run the unusual deployment process past you

[JBoss-user] [Persistence & CMP/JBoss] - unexpected problem with one to one relationship

2004-06-16 Thread raj_kumar
hello i'm using one to one unidirectional relationship between two entity beans but i'm not able to ... here primary key of the one table is the foreign key and primary key of second table . the stack trace is (Trace is enables ) | 2004-06-16 16:19:48,435 DEBUG [org.jboss.ej

[JBoss-user] [EJB/JBoss] - Schedule an EJB method

2004-06-16 Thread khem
Hi, I have an EJB which contains a business method. I have deployed my EJB in JBOSS 3.2.3 and tested successfully with a simple client. Now I want this method to be schedulded with quartz but i don t know how to do this.. Can anyone give me more precision? thx in advance View the original

[JBoss-user] [Installation & Configuration] - Re: Time out when deploying a .sar in DR4

2004-06-16 Thread nusa
I forgot to tell, that the same .sar file works fine under 3.2.4 Any help at all ? Thanks, nusa View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838940#3838940 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838940 ---

[JBoss-user] [JBoss Getting Started Documentation] - Re: Compile of Duke's Bank app failed

2004-06-16 Thread Horus
Do you know where to change the classpath in the jboss-build.xml or is there another way to set the classpath variable permanently. Can you give me a detailled description? Greetz Mirko View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838939#3838939 Reply to t

[JBoss-user] [Beginners Corner] - Re: Datasource and datasourcemapping for Firebird

2004-06-16 Thread triathlon98
I have been using Firebird for a long time now in connection with JBoss and it works fine. Now if I could only understand the question, then maybe I could help. In any case, look at JayBird documentation (Firebird JDBC driver), combined with the same datasource definition in the docs directory

[JBoss-user] JBoss error.

2004-06-16 Thread khalid . chaudhry
Hi All, On restarting JBoss I get the following error: 10:01:10,463 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting

[JBoss-user] [JBoss.NET & SOAP] - Large message - Streaming?

2004-06-16 Thread mava
Hi Folks, I'm trying to send a large SOAP Message (about 700kb) from the server to the client. The message's origin is an EJB that is wrapped by JBOSS.NET. In general, this is working fine. My problem is, that it takes about 6 seconds from leaving the EJBs method to receiving the SOAP message

[JBoss-user] [Clustering/JBoss] - Re: Suddenly a strange Exception

2004-06-16 Thread morenito9000
The strange thing is that I haven't a cluster scenario: my JBoss runs on a single machine and it has never thrown a similar exception before now. Many thanks Moreno View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838936#3838936 Reply to the post : http://www.

[JBoss-user] [Installation & Configuration] - Time out when deploying a .sar in DR4

2004-06-16 Thread nusa
Hi, I just download the DR4, and build it. When I deploy a .sar file, I got the following error : 10:02:48,176 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/Java/Software/jboss-4.0.0DR4/server/default/deploy/ExtJNDI.sar 10:02:48,176 ERROR [org.jboss.deployment.MainDeploy

[JBoss-user] [Clustering/JBoss] - Re: Suddenly a strange Exception

2004-06-16 Thread Marlig
Hi, we are seeing the same exception with JBoss 3.2.4RC2. With JBoss 3.2.4 it seems to have changed to 2004-06-15 12:50:04,168 WARN [org.jgroups.protocols.UDP] discarded message from different group (). Sender was host:41639 (additional data: 19 bytes) Since we have two clusters running, on

[JBoss-user] [Persistence & CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-16 Thread bentins
I can post the deployment descriptors no problem, what code would you like to see, it's a lot of code there is a bean factory that automatically copies from the bean to the TO using reflection, and there is the login trasaction logic. I ran it against 3.2.3 the same exact ear and it works no pro

[JBoss-user] [Beginners Corner] - Suddenly a strange exception

2004-06-16 Thread morenito9000
Hi all, I have used JBoss with no problems for several days, but now I suddenly get this strange exception when I restart JBoss (the exception is cyclicly thrown): DEBUG [org.javagroups.DefaultPartition] [Wed Jun 16 10:48:53 CEST 2004] [ERROR] UDP.handleIncomingUdpPacket(): exception=java.io.

[JBoss-user] [Clustering/JBoss] - Suddenly a strange Exception

2004-06-16 Thread morenito9000
Hi all, I have used JBoss with no problems for several days, but now I suddenly get this strange exception when I restart JBoss (the exception is cyclicly thrown): DEBUG [org.javagroups.DefaultPartition] [Wed Jun 16 10:48:53 CEST 2004] [ERROR] UDP.handleIncomingUdpPacket(): exception=java.io.Stre

[JBoss-user] [Security & JAAS/JBoss] - Re: Null CachePolicy

2004-06-16 Thread [EMAIL PROTECTED]
I have a JaasSecurityDomain configured in jboss-service.xml as such: (i have escaped the '<' and '>' with '-' for display purposes) -mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="jboss.web:service=SecurityDomain"- -constructor- -arg type="java.lang.String" value=

[JBoss-user] [Beginners Corner] - Re: Datasource and datasourcemapping for Firebird

2004-06-16 Thread darranl
anonymous wrote : Please hurry with answer Why should people hurry? Pay for support if it is that urgent. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838928#3838928 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss should give some sample applications to beginners!

2004-06-16 Thread darranl
What is wrong with the example you can work through as part of the getting started guide. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838927#3838927 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838927

[JBoss-user] [Beginners Corner] - Re: Datasource and datasourcemapping for Firebird

2004-06-16 Thread bobo
"bobo" wrote : Can somebody tell me what is my and in jbosscmp-jdbc for Firebirdand for JBOSS 3.2.3 and Firebird 1.5.For example for mysql is java:/mysqlDS and MySQL | I need true answer not "maybe" or you can try "there" answers Thanks | Please hurry with answer | | View the origi

[JBoss-user] [Beginners Corner] - Datasource and datasourcemapping for Firebird

2004-06-16 Thread bobo
Can somebody tell me what is my and in jbosscmp-jdbc for Firebirdand for JBOSS 3.2.3 and Firebird 1.5.For example for mysql is java:/mysqlDS and MySQL I need true answer not "maybe" or you can try "there" answers Thanks Please hurry with answer View the original post : http://www.jboss.or

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR relation on NOT NULL foreign keys

2004-06-16 Thread jimbrady
I've moved on to JBOSS 3.2.3 and now it is working (mostly!). However, I am sometimes getting wierd occasional errors that I guess are occuring as follows: Session Bean creates entity A and then related entity B in one transaction. Because entity A is only created at post-ejb-create the creati

[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with auto-increment field and CMP bean

2004-06-16 Thread loubyansky
Do you set id yourself? What if you set IDENTITY_INSERT to ON? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838920#3838920 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838920 --

[JBoss-user] [Clustering/JBoss] - Re: problem with auto discovery - help required please

2004-06-16 Thread sreedevik
Thank you Volker .. It worked :- I had to start the jboss instance with --host option. Regards, Sreedevi. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838917#3838917 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[JBoss-user] [Persistence & CMP/JBoss] - Re: Two questions concerning what I see in my JBoss log.

2004-06-16 Thread loubyansky
1. no persistence for ModelMBean configurations. 2. it's connection pool's (not entity container's) logging. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838921#3838921 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [Persistence & CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-16 Thread loubyansky
Could you post the code and deployment descriptors? In the last log only one thread is running or you didn't post other threads? If you have a testcase, send it me privately. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838918#3838918 Reply to the post : h

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Can i trap HTTP-403 error

2004-06-16 Thread mrgarageman
whoa i swear i included /errors/forbidden.htmlhttp://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838916#3838916 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838916 --- This SF.Net email is spons

  1   2   >