[JBoss-user] NoSuchMethodError when trying to access EJB from tomcat

2001-07-30 Thread Ludovic Orban
I'm hitting this strange problem: java.lang.NoSuchMethodError at com.cisco.nm.lorban.servlet.InventoryServlet.doPost(com/cisco/nm/lorban/ser vlet/InventoryServlet.java:95) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.s

Re: [JBoss-user] jBoss jms from standalone client

2001-07-30 Thread ralph
I got a little bit further and now have a standalone client which accomplishes lookup and creation of everything necessary - which I conclude from the fact that no exceptions are thrown and from messages I sent to standard output. However, the onMessage method of my client application is never cal

[JBoss-user] Please Help JDBC or JAAS error , I/O Error Occured !!

2001-07-30 Thread Binoy
Hi I have been using postgres database since last 7 months working on a involving JBoss server as an application server and postgres database at backend lately.. i noticed as the database started growing larger.. today encountered some error while firing this query select firstname , last name f

[JBoss-user] time-out

2001-07-30 Thread joey castillo
hi there, how long does it take for a bean's transaction that is waiting <> for a resource to be made available by another transaction. how can i reset its value? thank you. __ Do You Yahoo!? Make international calls for as low as $.04/minute wi

[JBoss-user] jBoss jms from standalone client

2001-07-30 Thread ralph
I want to publish to a JMS topic from an entity bean and then subscribe to that topic from a standalone client. I found some examples in the documentation for web-apps, but at this point I don't use a web application. I just deploy a number of beans in a jar-file and can access them from the clie

[JBoss-user] time-out

2001-07-30 Thread joey castillo
hi there, how long is the (default) waiting time for a bean (inside a transaction) to wait for another transaction to unlock its resources before a javax.transaction.TransactionRolledBackException is thrown. How do I reset this? joey __ Do You

Re: [JBoss-user] is JBOSS JNDI brain-dead or ...

2001-07-30 Thread Scott M Stark
The multiple subcontexts problem is fixed in 2.4 and 2.5(main). - Original Message - From: "Chris Windsor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 30, 2001 3:47 PM Subject: Re: [JBoss-user] is JBOSS JNDI brain-dead or ... > Hello again, > > This is my follow-up po

RE: [JBoss-user] Design Question...

2001-07-30 Thread Dan - Blue Lotus Software
You can also switch to a servlet container that supports v2.3 of the Servlet specification, such as Catalina (Tomcat v4.0). The new servlet spec supports event handling, and there is an event for the timeout of sessions. You can add a listener for these events, and do any necessary cleanup when t

Re: [JBoss-user] is JBOSS JNDI brain-dead or ...

2001-07-30 Thread Chris Windsor
Hello again, This is my follow-up posting to my earlier issue with jndi. (I'm not subscribed - too much mail! - so apologies if this doesn't get in the right thread). I haven't looked to see if this is already listed as a bug, but I wanted to post it to benefit other users who may be porting

Re: [JBoss-user] Design Question...

2001-07-30 Thread Toby Hede
another way to approach this is through the datbase itself, writing a trigger to remove the data and setting a schedule for processing. most modern rdbms systems have similar implementations - Original Message - From: "C Murphy @ Intechtual" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: [JBoss-user] Entity change notification to clients

2001-07-30 Thread Kar YEOW
Try JMS. kar - Original Message - From: "David Ward" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 5:07 AM Subject: [JBoss-user] Entity change notification to clients Anyone have experience (preferably using JBoss) implementing a way for EJB clients to get no

[JBoss-user] compiling jboss

2001-07-30 Thread Alice Ad
hi all, i am trying to compile jboss in a java ide. i set the classpath to all the files/paths mentioned in "Integrating JBuilder 4.0 Foundation with JBoss for source level debugging" of Chaper 11. It still doesn't find the following: junit.framework.* org.jboss.minevra.* and all "sub packages"

[JBoss-user] MalformedURLException if blank in jboss installation path

2001-07-30 Thread Wu, Jimmy
Anyone has a work around for this issue? Of course, don't install jboss into a path with blank is one, but what else??? Thanks a lot. Jimmy. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Date field saved to DB with no time

2001-07-30 Thread Alex . Devine
The JAWS mapping you are using must map a java.util.Date to a java.sql.Date, and SQL dates do not have a time component. Change the mapping to a java.sql.Timestamp (Timestamp in fact extends from java.util.Date), and the time component of the date will be saved: Your jaws.xml or standardjaws.xml

[JBoss-user] Entity change notification to clients

2001-07-30 Thread David Ward
Anyone have experience (preferably using JBoss) implementing a way for EJB clients to get notified when other clients make a change to an Entity Bean (or the database directly)? It would be nice if a GUI could update itself if it "heard" that someome else changed the state of an Entity, or th

[JBoss-user] NoSuchMethodError when trying to access EJB from tomcat

2001-07-30 Thread Ludovic Orban
Hi, I'm hitting this strange problem: java.lang.NoSuchMethodError at com.cisco.nm.lorban.servlet.InventoryServlet.doPost(com/cisco/nm/lorban/ser vlet/InventoryServlet.java:95) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServl

[JBoss-user] NoSuchMethodError when trying to access EJB from tomcat

2001-07-30 Thread Ludovic Orban
Hi, I'm hitting this strange problem: java.lang.NoSuchMethodError at com.cisco.nm.lorban.servlet.InventoryServlet.doPost(com/cisco/nm/lorban/ser vlet/InventoryServlet.java:95) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServl

Re[2]: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!

2001-07-30 Thread Christoph Sturm
Hello marc, Saturday, July 28, 2001, 1:06:34 AM, you wrote: mf> sorry no can do, the choice on cafepress is pretty limited as it turns out. cafepress is also a bit funny. I got an email from them two months ago where they wrote that they now change everything from java to asp, and that they will

Re: [JBoss-user] Date field saved to DB with no time

2001-07-30 Thread Philipp Meier
On Mon, Jul 30, 2001 at 09:24:08AM -0700, Felix Munoz wrote: > All: > > I am using this code to set the modification time field of an EJB: > > Person person = personHome.findByPrimaryKey(personPK); > . > . > . > if (modified) > { > Calendar calendar = Calendar.getInstance(TimeZone.getTimeZon

Re: [JBoss-user] JBOSS INTEREST EXAMPLE

2001-07-30 Thread Alexa Petrean
Be sure that your JBOSS_HOME environment variable doesn't contain any white-spaces. This could be the problem. Alex "A.L." wrote: > I have been trying to run the JBOSS interest example, > and ahve followed the advise of a few peopl who had at > one point experience dtbhe same problem. > Unfortu

Re: [JBoss-user] Design Question...

2001-07-30 Thread C Murphy @ Intechtual
Hey Tim, If I correctly understand your qutestion, this is more of a servlet type session management issue. Take a look at the javax.servlet.http.HttpSessionBindingListener interface. It's basically a callback interface for when a session expires. Objects in the session, that implement the

Re: [JBoss-user] Entity Bean Relationships...

2001-07-30 Thread Scott M Stark
2.4 does not have the 2.0 CMP implementation. It is only in the 2.5 alpha in the cvs main branch. If you want to use the 2.0 CMP features with 2.4 try the MVCSoft add-on which is available here: http://www.flashline.com/components/view.jsp?prodid=4024&affiliate_id=260343 - Original Message

Re: [JBoss-user] Design Question...

2001-07-30 Thread Tim Yates
Yeah, the reason we do it this way (and not via HTTP sessions or cookies), is that it was decided early on that it should be possible to style the site differently dependant on the device that was accessing it, and we couldn't guarantee that storing the HTTPSession, or using cookies would work on

Re: [JBoss-user] Design Question...

2001-07-30 Thread Mike Abney
> When a user hits the site, they get allocated a unique 48 character session > ID (allocated by me). If they then login, I tie that sessionId to a userId > (both rows in seperate tables) > > But I have a design question... They can log-out, but many do not > (obviously), so what would be the be

[JBoss-user] JBOSS INTEREST EXAMPLE

2001-07-30 Thread A.L.
I have been trying to run the JBOSS interest example, and ahve followed the advise of a few peopl who had at one point experience dtbhe same problem. Unfortunately, I am still unable to run the servlet for the interest example. When going to the .../interest/home.html page and pushing the Calcul

[JBoss-user] Date field saved to DB with no time

2001-07-30 Thread Felix Munoz
All: I am using this code to set the modification time field of an EJB: Person person = personHome.findByPrimaryKey(personPK); . . . if (modified) { Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("UTC")); Date currentTime = calendar.getTime(); person.setLastModificatio

Re: [JBoss-user] Design Question...

2001-07-30 Thread Mike Abney
This question is more servlet-interest oriented than JBoss oriented. You might want to check out that mailing list. (http://archives.java.sun.com/archives/servlet-interest.html) The typical way I have handled this in the past is to put the userId (if not the entire User*) into the HTTPSession whe

[JBoss-user] Storing relationships

2001-07-30 Thread Stephen J . Thompson
Hello all, I am trying to understand how jaws stores relationships between beans. I have two beans, bean 1 is associated with many instances of bean 2. I code this in a Vector. Bean 1 ... public Vector lnk_bean2 = new Vector(); Bean 2 .. public String name; public String type; How does ja

Re: [JBoss-user] Design Question...

2001-07-30 Thread Tim Yates
Sorry, by "the site", I meant "our website" - Original Message - From: Tim Yates <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 30, 2001 4:45 PM Subject: [JBoss-user] Design Question... > When a user hits the site, they get allocated a unique 48 character session > ID (a

Re: [JBoss-user] HELP! EJB 1.1 specification compliance

2001-07-30 Thread Gregor Rayman
"Daniel CAUNE" <[EMAIL PROTECTED]> has problems with datasources: [...] > ejb-jar.xml: > > (...) > > jdbc/myDataSource > javax.sql.DataSource > Container > > (...) > > myBean.java: > -- > (...) > Context initialContext = new InitialContext(); > javax.sql.DataSource dataS

[JBoss-user] Entity Bean Relationships...

2001-07-30 Thread Steven Webster
Hi all, Am I correct in understanding that the new EJB2.0 implementation of container managed relationships between Entity Bean's is implemented in JBoss2.4 ? If I insall JBoss2.4 (I currently have 2.2) will I be good to go ? If so, does anyone have any experience/simple examples/pointers to im

[JBoss-user] Design Question...

2001-07-30 Thread Tim Yates
Hi there!! When a user hits the site, they get allocated a unique 48 character session ID (allocated by me). If they then login, I tie that sessionId to a userId (both rows in seperate tables) But I have a design question... They can log-out, but many do not (obviously), so what would be the b

[JBoss-user] HELP! EJB 1.1 specification compliance

2001-07-30 Thread Daniel CAUNE
Hi, I don't succeed to declare a datasource and retrieve it from my bean as the EJB specification recommends. I read from the Enterprise JavaBeans v1.1, Final Release of the Sun specification: "The EJB specification recommends, but does not require, tat all resource manager connection factory

Re: [JBoss-user] jboss not sync'd with external db changes

2001-07-30 Thread David Ward
Thanks, danch. Works great. -- danch (Dan Christopherson) wrote: > Set your commit-option to B or C in jboss.xml > > David Ward wrote: > >> (Originally accidently sent this to jboss-development. BTW, this is >> on JBoss-2.2.2_Tomcat-3.2.2, JDK 1.3.1, RedHat 7.1, Oracle 8.1.6) >> >> I'm goi

RE: [JBoss-user] Calling CORBA objects from JBoss

2001-07-30 Thread Schouten, Andreas
I dont think, that the problem is on jBoss side. Which ORB implementation You are using? What are the concrete errors? (As I know BEA has a own ORB implementation.) We use the ORB from ibm jdk 1.3 and hold three connections to different corba servers in a MBean. Other people use the ORBACUS ORB.

Re: [JBoss-user] MBean NameAlreadyBoundException

2001-07-30 Thread Frederick N. Brier
At 12:00 AM 7/30/2001, David Jencks wrote: >Out of curiousity, what is the relationship between the ejbs and the >mbeans? One of the MBean(s) is a incrementing key generator for the primary keys of entity beans. One is instantiated for each table. The other two act as a central place to stick

RE: [JBoss-user] JSP PreCompilation

2001-07-30 Thread Tahir Awan
I found another workaround and that looks better to me. It's to include the following in application's web.xml for each jsp file one wish to preCompile. /interest/ListAll.jsp 11 This will compile the jsp file at the time of deployment (I have all in the .war file). Thank

Re: [JBoss-user] 31174 Segmentation fault.

2001-07-30 Thread Maurice le Rutte
It looks like the java VM crashes. It is wise to report the bug to Sun Microsystems. On Windows a .log file is saved containing information on the crash, maybe this is on *nix too? Maurice. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.

RE: [JBoss-user] Jive Forums speed feed-back wanted

2001-07-30 Thread Martin Welch
Title: RE: [JBoss-user] Jive Forums speed feed-back wanted Marc, >>quite the contrary Is this just personal opinion or based on some other evidence? I *know* that a mailing list is more productive for me because I use my mail client to rapidly browse other topics that I'm not participati

RE: [JBoss-user] InterestServlet example questions

2001-07-30 Thread Martin Welch
Title: RE: [JBoss-user] InterestServlet example questions Amos, I made the change in the InterestServlet code. Using jndiContext.lookup("interest/Interest"); works but jndiContext.lookup("java:comp/env/ejb/Interest"); causes the errors. I also tried David's suggestion of creating %

Re: [JBoss-user] Resolution: Problem with CMP Bean cache withdif ferent finder methods

2001-07-30 Thread Penhey, Tim
I didn't really want to get into it on the original resolution item, but I did try to change the hashcode method. Admittedly I didn't think of an XOR of the hashcodes. What I did do though was to create the string using the simple date format so they would always generate the same string whether

[JBoss-user] How to unsubscribe?

2001-07-30 Thread Wei Jiang
How to unsubscribe please? Thanks. __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] http

Re: [JBoss-user] Working with large records

2001-07-30 Thread Nicolai P Guba
On 30 Jul 2001 11:38:24 +0200, Philipp Meier wrote: > On Mon, Jul 30, 2001 at 10:07:59AM +0100, Nicolai P Guba wrote: > > I am looking for some advice. Assuming I have a bean that is often > > accessed but returns a lot of data, something in the region of 50,000 > > rows minimum. > > > > I don't

Re: [JBoss-user] Working with large records

2001-07-30 Thread Philipp Meier
On Mon, Jul 30, 2001 at 10:07:59AM +0100, Nicolai P Guba wrote: > I am looking for some advice. Assuming I have a bean that is often > accessed but returns a lot of data, something in the region of 50,000 > rows minimum. > > I don't think that instantiating a bean for every record is efficient.

Re: [JBoss-user] Resolution: Problem with CMP Bean cache with different finder met hods

2001-07-30 Thread Philipp Meier
On Mon, Jul 30, 2001 at 09:54:50AM +0100, Penhey, Tim wrote: > All of the debugging was using the objects toString method. Sometimes the > debugging for the java.util.Date would show the time (all as zeros) which is > the toString for the java.util.Date, and sometimes it would just show the > dat

Re: [JBoss-user] Resolution: Problem with CMP Bean cache withdifferent finder met hods

2001-07-30 Thread Nicolai P Guba
On 30 Jul 2001 09:54:50 +0100, Penhey, Tim wrote: > > > Black magic (ooh aaah). Thanks for the VERY useful report which I reckon should help me to fix a pretty nasty problem of a similar kind :) Me thinks whether JAWS shouldn't trap such errors though? -- Nicolai P Gubahttp://www.gnu.or

[JBoss-user] Working with large records

2001-07-30 Thread Nicolai P Guba
Hello chaps I am looking for some advice. Assuming I have a bean that is often accessed but returns a lot of data, something in the region of 50,000 rows minimum. I don't think that instantiating a bean for every record is efficient. In fact, it's dog slow! Is there a way to write a CMP meth

[JBoss-user] Resolution: Problem with CMP Bean cache with different findermet hods

2001-07-30 Thread Penhey, Tim
As it often happens, while trying to provide a concise test program that demonstrates the problem with as few lines of code as possible, we happened to find the heart of the problem. The intern doing the project with the problems was using JBoss on NT and using the Hypersonic database. I was try

Re: [JBoss-user] java.io.NotSerializableException need help

2001-07-30 Thread Hermann RANGAMANA
I add : it serializable even if it holds a reference to another instance that is not serializable, if this instance's class has a no-arg contructor. --hermann - Original Message - From: "Ole Husgaard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 28, 2001 11:46 AM Subj