Title: Jboss 2.4.6: NullPointerException in XAPoolDataSource.getConnection()
Can anybody just give me an advice on this? The whole project is stopeed just before the release :(. How can I see the current state of the connection pool? How this NullPointerException might ever happen if the
Hi
I want to know how to implement an local interface
in Entities. what are all the changes i have to make in home,remote interfaces
and the bean.Pls if anybody knows,kindly reply back me with the
solution.
Thanks in advance
with regards
Tejesh
Tejesh
Hi
I want to know how to implement an local interface
in Entities. what are all the changes i have to make in home,remote interfaces
and the bean.I am using JBoss2.4.4.Pls if anybody knows,kindly reply back me
with the solution.
Thanks in advance
with regards
Tejesh
It seems like SUBJ, gentlemen.
I tested my app on linux and windows with JRockit JRE 1.3.1.
Here is the problem. I have a simple entity bean AddresseeEJB that
declares bulk-read method 'public abstract AddresseeValue
getAddresseeValue()' that is generated by XDoclet and implemented in
the
Gary - thanks for that. I have found a link for a free pdf on this at
http://www.theserverside.com/books/EJBDesignPatterns/index.jsp
I'll check it out and have a look.
Regards
Alan.
-Original Message-
From: Gary S. Cuozzo [mailto:[EMAIL PROTECTED]]
Sent: Friday, 12
Hi,
The scenario is like this.
1. Jsp will call session bean(Manager) to insert number of
records.
2. The session bean(Manager) starts the transaction. And calls
the Entity bean/s in loop.
3. The Session bean(Manager)commits the
transaction.
I have packaged session beanand all entity
Hi,
I'm trying to access the datas of a CMR-loaded EJB.
An employee have a CMR field called organisme which is linked to an
organismeBean.
The multiplicity is declared as Many on the Employee side and One on the
Organisme side.
When accessing the organisme datas from the employee bean, I do
On Friday 12 July 2002 08:25, you wrote:
Can anybody just give me an advice on this? The whole project is stopeed
just before the release :(. How can I see the current state of the
connection pool? How this NullPointerException might ever happen if the
object key (username,password) is
the variable loc is an instance of employeeLocalObject returned by a findByXXX() on
the employeeHome.
Ionel Gardais wrote:
snip
organismeLocal org = loc.getOrganisme();
String name = org.getName();
...
/snip
---
This sf.net
I have
made an example of local interfaces, that works in JBoss
2.4.4.
http://www.datapro.lv/~mariso/ejb/LocalInterfaces.zip
Thoughare no entity beans but
session.
MarisOrbidans
-Original Message-From: Tejeshwar
[mailto:[EMAIL PROTECTED]]Sent: Friday, July 12, 2002 10:09
In the FAQ it states to include the following snippet in your jboss.jcml file to
allow Jboss to run in a dir with spaces:
mbean code=org.jboss.util.FileURLPatch
name=DefaultDomain:service=FileURLPatch
attribute name=Enabledtrue/attribute
/mbean
Looking in the forums the new filename to
Hi
I want to know how to access Local Home interface
Reference means how to write a client to access local home and local remote
interfaces of an entity Bean.
Thanks in advance
with regards
Tejesh
Here
is one session bean getting local home interface of other session
bean.
BackEndSessionLocalHome home =
(BackEndSessionLocalHome)
PortableRemoteObject.narrow((new
InitialContext()).lookup("java:/comp/env/BackEndSession"),BackEndSessionLocalHome.class);
The
same with entity bean.
Well, I am using RH 7.2 SMP (4 processors), 4GB RAM, JBoss 2.4.6, Sun JDK
1.4.0-b92
(-server enabled). With IBM JDK 1.3.1 (last april patch) I have to configure some OS
parameters, but IBM JDK is not in production yet. Before Sun jdk 1.4, I was using,
Sun jdk 1.3.1 (-client, because
Hi,
i am trying to develop a system which looks like a Company/Employees
CMR.
Each employees got a reference on a company id.
The two beans are linked through a relationship defined in the ejb-jar
file.
The employee bean got two abstract methods :
- companyLocal getCompany() //get the
John,
I am curious about your load-balanced Tomcat configuration. Are you running
load balanced Tomcats outside of the JBoss memory space? I have used load
balanced Tomcats before, however, I thought to do that you had to run
Tomcats outside of JBoss memory space. Can you give some information
Hi,
i had the same problem. Generating the stubs with
rmic solved the problem. I have put the stub classes into
the EJB jar file and into the classpath of the client.
There is one problem left: i had no success with CORBA Anys.
Bye jörg
-Ursprüngliche Nachricht-
Von: Tom Gardner
Hi All,
I have some doubts about the performance of CMP and CMR in EJB2 AND
JBOSS3.
Scenario is like this:
I have 1 bean called EMPLOYEE. It has got 1:N relationship with GROUPS
bean. This relationship is defined thru CMR.
I have a method on EMPLOYEE :
Public GroupModel[] getGroupModels()
{
This is not the same issue as the bug. This is a JDK 1.4 issue and the
JBoss string to URL handling is not considering encoded URLs.
Running on a w2k box with Sun JDK 1.3.1_03 and the final 3.0.0 release works
fine for me.
bin 627java -jar run.jar
06:53:27,359 INFO [Server] JBoss Release:
I want to deploy an ejb to several J2EE applications to JBoss 3.0
In each application the ejb has different settings (eg different datasource)
I make multiple ear files with different names and i gave the bean different jndi
names.
It seems that jboss uses the same JMX name for all ejbs that's
We've deployed an application using JBoss/Jetty 3.0
and its been running 10 days without any problems.
This morning all the JSPs were missing.
The application is configured to use a welcome page of
Login.jsp when the application context is requested.
Instead of getting the login form, I
I would guess you have a cron job that removes old files from
the tmp directory and Jetty is not expecting this.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: Leon Doud [EMAIL PROTECTED]
To: jboss-user
Hi,
how should i configure JBoss and Tomcat to work on the same machine in
different vm's ?
I think I can't use the integrated JBoss+Tomcat distribution, because
Jetspeed sucks me running at this config.
If i simply start JBoss and Tomcat i got an exception that the port 8080 is
allready used (
Any messages as to what is going on in log file?
Leon Doud wrote:
We've deployed an application using JBoss/Jetty 3.0
and its been running 10 days without any problems.
This morning all the JSPs were missing.
The application is configured to use a welcome page of
Login.jsp when the
Hi,
i have a question concerning IIOP and CORBA Any objects.
I work with JBoss 3.0.0 (JDK 1.3.1, Linux) and managed to work with IIOP in
general,
but i have problems, when i use Any objects in the remote interface.
I generate the stubs with
rmic -classpath ... -iiop classname
and put
Hello all,
I've put up a simple example using JBoss.NET based on the hello-flash
example from the cvs build up at
http://www.csd.abdn.ac.uk/~bscharla/jboss-net-helloWorld-EJB.html. It puts
a wsr, a jar, and a war into an ear using ANT and then deploys it to your
JBoss server. I know some
Simply remove/move $JBOSS_HOME/server/default/deploy/jetty-plugin.sar so that
Jetty will not start up. That will leave port 8080 available for Tomcat. Oh, and
don't just put the file in a subdirectory of /deploy, JBoss looks inside subdirectories
now at startup (it doesn't catch
This is caused by a new JDK1.4 bug. See
http://developer.java.sun.com/developer/bugParade/bugs/4466485.html
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: Scott M Stark [EMAIL PROTECTED]
To: [EMAIL
Thanks, that's the problem.
The solution I came up with was to change the temp
directory where Jetty stores the files. There is a
configuration option in the jetty.sar for unpacking
warfiles, but it appears to be just a true/false
option.
The only thing other thing I thought of was to
The Jetty config bundled with JBoss should be using the JBoss
tmp directory by default. I'll create a bug report.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: Leon Doud [EMAIL PROTECTED]
To: [EMAIL
could anybody take a look at this problem
Emerson Cargnin - SICREDI Serviços wrote:
Is there any bug in unidirectional relations in jboss 3.0.0 final??
the problem is, hen trying to get the collection of a unidirectional cmr
field, it gives me the following error (jboss log) :
OK, guys - it's on my TODO list ...
Jules
Scott M Stark wrote:
The Jetty config bundled with JBoss should be using the JBoss
tmp directory by default. I'll create a bug report.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
If you want an exact column mapping, you need to declare it with the
jbosscmp-jdbcm.xml file. Your jbosscmp-jdbc.xml file does not have a
key field section so you get the automatically generated column names.
-dain
Emerson Cargnin - SICREDI Serviços wrote:
could anybody take a look at this
Hi,
I was thinking about the
several ways that exist to validate a field value
I had some ideas, but I was
wondering if there is a pattern that
does it...
In my entity bean, I am using
the pattern VO and when I'm setting the cmp fields,
I wanna make a validation of
some
You can make this type of code faster using optimized loading described
in the JBossCMP documentation (FlashLine $10).
If you want this code to be really fast, you should change it to call an
EJB-QL query that selects the objects you are after directly.
Navigating a persistent object graph is
JBossCMP does not currently support not-null foreign keys.
I also suggest you upgrade to 3.0.1 becaus there is a bug in 3.0 that
causes this type of code to not work.
-dain
Ionel Gardais wrote:
Hi,
i am trying to develop a system which looks like a Company/Employees
CMR.
Each
Hello,
I'm having an INCREDIBLY annoying problem trying to access an EJB that I've
deployed. I'd love it if someone could pitch a hand. Here's the situation
...
Setup:
I'm running JBoss 3 running on JRockit VM.
I'm running Netscape iPlanet-WebServer-Enterprise/4.1SP6 4.1sp6 as the web
Hello Tania,
this could be a moot point, and I am not sure whether it suits your
needs but I liked this idea:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-valframe.html
alex
Friday, July 12, 2002, 9:20:02 PM, you wrote:
TGR Hi,
TGR I was thinking about the several ways that exist
I am using JBoss 3.0.0 w/Jetty and am getting a
deployment warning on my ejb:
Bean : AddressEJB
Method : public abstract void remove() throws
RemoteException
Section: 12.2.9
Warning: Each home method must match a method defined
in the entity bean class.
I have looked at the classes and
You don't need to declare a remove method in you home interface, as it
is declared in the superinterface. Also the remove method in the home
interface takes a single Object parameter.
-dain
bryan hansen wrote:
I am using JBoss 3.0.0 w/Jetty and am getting a
deployment warning on my ejb:
sorry, i got the problem, the tables was already generated, and I
changed from bi to unidirectional...
Dain Sundstrom wrote:
If you want an exact column mapping, you need to declare it with the
jbosscmp-jdbcm.xml file. Your jbosscmp-jdbc.xml file does not have a
key field section so you
Title: RE: [JBoss-user] Re: Does any one have a Linux JVM success story?
Unfortunately, I don't remember exactly where I found it but it was probably in the Jan/Feb time frame in either JBoss or more likely Tomcat-user mailing list. On RH ulimit -s use to return unlimited, it to now is 8192.
Hi,
I'm trying to test a
finder method using EJB-QL and I got this error message...
Caused by:
java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.EntityProxy (no
security manager: RMI class loader disabled)
Do you know where can I find this
class?
Thanks
TGR
Title: "You are not getting the semantics you expect" warning
can
anybody say what needs to be done here?
-Original Message-From: Eric Kaplan
[mailto:[EMAIL PROTECTED]]Sent: Thursday, July 11, 2002 6:29
AMTo: [EMAIL PROTECTED]Subject: RE:
[JBoss-user] "You are not getting
Hi Tom,
Please see inlined comments.
On Thu, 11 Jul 2002, Tom Gardner wrote:
I'm having trouble with using IIOP and JBoss 3.0.x. I've
tried all the tricks I've been able to find on the JBoss
website and on this newsgroup without success. Your help
would be appreciated!
I've taken the
Hi all.
I've just moved my beans over to xdoclet, and now when I try my most
basic test client (essentially just an are you there lookup), I get
the following exception:
javax.naming.NotContextException
at
Hi Joerg,
I did not understand the second exception below (the one you got using
the Sun ORB). The testAny() method does not appear in the stack trace.
Are you sure it was thrown within testAny()?
The first exception (the one you got using JacORB) made sense to me.
It is not related to the
Not sure what happened when I sent this yesterday.
It means there is more than one participant in a transaction where at least
one of the participants only supports local (1pc, non xa) transactions.
Failures during the commit process will result in inconsistent results.
This is most likely to
48 matches
Mail list logo