when i start jboss, i always get the error message :
[Container factory] org.jboss.ejb.DeploymentException: Error in
jboss.xml for Bean Optimized: found in jboss.xml but not in ejb-jar.xml
it happens when jboss tries to deploy the tomcat-test.ear (I didn't change
anything)
when i deploy bea
I'm getting a NullPointerException (wrapped up in a
TransactionRolledbackException, in turn wrapped up in a ServerException...)
when I try to read a column with null data in an int field. Is there any
work around for this with a CMP entity bean, or is BMP the only way forward?
The db is DB2
Can you access subj. page?
I cannot, is it shut down ?
Maris
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Hi,
one way to solve this is by changing the getXX() method in your EJBean class for that
field to:
public int getXX(){
if (XX == null)
XX = 0;
return XX;
}
Werner
[EMAIL PROTECTED] wrote:
>I'm getting a NullPointerException
Are there any hooks available to add/remove an URL to/from the common classloader (or
more preferable a specific ejb's classlaoder)?
Why? Cause i need to dynamically extend an ejb session bean with extended logic
deployed in a sepatete jar file. Having a separat directory wich an MBean is scann
I can't access it either, I have been trying since yesterday.
-Original Message-
From: Maris Orbidans [mailto:[EMAIL PROTECTED]]
Sent: 30 April 2001 09:56
To: [EMAIL PROTECTED]
Subject: [JBoss-user] www.jboss.org
Can you access subj. page?
I cannot, is it shut down ?
Maris
Hi Jim ,
Use primitives wrapper class . for example if field is int , use
Integer class.
Thanks
Jim Cheesman wrote:
>
> I'm getting a NullPointerException (wrapped up in a
> TransactionRolledbackException, in turn wrapped up in a ServerException...)
> when I try to read a column with null
At 12:52 PM 4/30/2001, you wrote:
>Hi,
>one way to solve this is by changing the getXX() method in your EJBean
>class for that field to:
>
>public int getXX(){
> if (XX == null)
> XX = 0;
> return XX;
>}
Thanks, but... this won't work (or compile): you can't compare an int to null.
Any
Don't use int but instead Integer as entity attribute. Pain in the ass but that's life
sometimes... :-)
/L
- Original Message -
From: Jim Cheesman <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 11:41 AM
Subject: Re: [JBoss-user] Null pointer/Server exception wh
At 12:10 PM 4/30/2001, you wrote:
>Don't use int but instead Integer as entity attribute. Pain in the ass but
>that's life sometimes... :-)
Thanks - still, slow day today, so I suppose changing it won't hurt too much...
Jim
>/L
>
>- Original Message -
>From: Jim Cheesman <[EMAIL PROT
I sometimes get LOCKING-WAITING messages when someone accesses my
site. Everything works as expected, but these messages are still
there.
The background: When someone accesses the site, the first thing to be
done is to determine the language. There are two lists and one set to
do this: The list o
Per Böckman wrote:
>> |I guess that Rama is talking about milliseconds... the JBoss TX
>> |and security
>> |layers adds lots of overhead. The argument (de)marshalling
>> and the actual
>> |transportation of a no-args call over the network layers
>> should typically
>> |not take more than 0.5 - 1.
> At 12:52 PM 4/30/2001, you wrote:
> >Hi,
> >one way to solve this is by changing the getXX() method in your EJBean
> >class for that field to:
> >
> >public int getXX(){
> > if (XX == null)
> > XX = 0;
> > return XX;
> >}
>
> Thanks, but... this won't work (or compile): you can't comp
I tried to define principal based permission in policy
file, e.g.:
grant codeBase "file:${tomcat.home}/webapps/examples"
Principal org.jboss.security.SimplePrincipal "admin" {
permission java.util.PropertyPermission "*",
"read,write";
};
Server failed with parsing exception :
java.security.
There was some maintance done this weekend and it went awry.
Juha and Myself are in London we'll see you soon :)
marc
_
Marc Fleury, Ph.D
[EMAIL PROTECTED]
_
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists
Hey,
> I sometimes get LOCKING-WAITING messages when someone accesses my
> site. Everything works as expected, but these messages are still
> there.
Normal behavior, don't worry.
> The background: When someone accesses the site, the first thing to be
> done is to determine the language. There a
Alors comme ca on part à londres et on laisse les miserables petits
étudiants jboss sans aucune ressource...
Bon WE sieur marc
MAG (un admirateur)
- Original Message -
From: "marc fleury" <[EMAIL PROTECTED]>
To: "Jboss-User@Lists. Sourceforge. Net" <[EMAIL PROTECTED]>
Cc: "Jboss-Developme
toby cabot wrote:
>
> >> Does the JBoss optimized container invoker (or whatever it's
> >> called...) serialize arguments in order to preserve RMI semantics
> >> (i.e. pass-by-value) and short-circuit the RMI layer?
> >
> > Yes
>
> I think that this is not correct. I ran some tests with
> con
If it don't cause trouble in the business logic, I prefer to set the int
explicit '0' in ejbCreate, instead leaving it 'null'.
> -Original Message-
> From: Jim Cheesman [SMTP:[EMAIL PROTECTED]]
> Sent: 30 April 2001 10:32
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Null pointe
I know I can use OTHER as is, but I'd rather use a DATE type. Any help is
appreciated.
[JAWS] Loading standardjaws.xml :
file:/C:/jboss-2.1/conf/default/standardjaws.xml
[JAWS] file:/E:/dev/db/classes/META-INF/jaws.xml found. Overriding defaults
[Container factory] Unrecognized jdbc-type: Date, u
though am a newbie ... i am willing to do whatever i can.
Piyush.
- Original Message -
From: marc fleury <[EMAIL PROTECTED]>
To: Jboss-Business@Yahoogroups. Com <[EMAIL PROTECTED]>;
Jbosscmp@Kpi. Com. Au <[EMAIL PROTECTED]>; Jboss-Development@Lists.
Sourceforge. Net <[EMAIL PROTECTED]>;
Wy do You deploy the 10 beans in 10 jars? If You deploy them all into one
jar You can call all interfaces.
If You need them in different jars, check out the tag for
ejb-jar and register the nessasary references to the container..
> -Original Message-
> From: Guy Rouill
I had the same problem don't specify the type mapping, the standardjaws.xml
has all of these already for MySQL i.e.
java.util.Date
DATE
DATETIME
java.sql.Date
DATE
DATETIME
ie you only override the following
FlightDate
Date
Steve Doyle
-Origi
"Bordet, Simone" <[EMAIL PROTECTED]> wrote:
> > The background: When someone accesses the site, the first thing to
> > be done is to determine the language. There are two lists and one
> > set to do this: The list of languages the user would like t have,
> > the list of languages that are registe
Un deuxieme newbie est partant aussi
- Original Message -
From: "Piyush Sheth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 3:09 PM
Subject: Re: [JBoss-user] SUPPORT OF JBOSS --IMPORTANT-- PLEASE READ
> though am a newbie ... i am willing to do whatever i
I would be willing to provide support. I'm pretty new to jboss but was
able to get the petstore example working with mysql and to get embedded
tomcat working with virtual hosts and apache so I think I've solved some of
the problems that come up quite often on the list.
- Todd Chaffee
At 10:0
Anybody got a local copy of jboss tutorial that they
could send me:
[EMAIL PROTECTED]
cheers,
Gerardo
-Original Message-
From: Raffael Herzog [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 3:59 PM
To: [EMAIL PROTECTED]
Subject: Re: R: [JBoss-user] LOCKING-WAITING - what does
All,
I have Informix set up and working with jBoss2.2. It would be nice to see
the website updated with this information as it took quite a bit of trial
and error to get everything tweaked and working. Where should I send the
config information?
Jenn
_
I've got the old one (2.0)
I don't know if there were changes..
So tell me
- Original Message -
From: "Gerardo Macari" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 4:23 PM
Subject: RE: R: [JBoss-user] LOCKING-WAITING - what does it mean? /
Transactio ns
> Any
Hi all,
While looking over the JBoss
source I noticed a KAWA (a java IDE with EJB support recently bought out by
Allaire) project file and easily had all the JBoss source in the Kawa IDE to
study. great.
As those of you that use KAWA
for EJB stuff know, there is built in support for
On Saturday 28 April 2001 02:13, you wrote:
> > Yes, edit the code and insert a delay. I would suggest instead that you
> > build the jat file somewhere else and copy (or better yet, move) it into
> > place when it is done.
>
> I would suggest the latter... adding a delay would be the wrong thin
Won't he also need the ejb-ref entries for ejb to ejb lookups?
ejb-jar.xml-
ejb/OfficeEJB
Entity
com.tallan.odtos.ejb.office.OfficeEJBHome
com.tallan.odtos.ejb.office.OfficeEJB
jboss.xml-
ejb/OfficeEJB
ejb/OfficeEJB
> -Original Message
Can you send one to me directly:
[EMAIL PROTECTED]
I have tried it for such a long time (I even lost my patience)
and still could not set up XA dirver to work. Also can you
specify what drivers you used, because I was able to connect
with minerva's driver but not with informix' XA drivers.
Thank
Marc,
Thanks for your reply. This is great, I could use some help.
OK, if I understood correctly, your advice was...
...typing the interface for management and using the EJB
infrastructure to locate and talk to the object is THE OBVIOUS WAY TO DO IT.
Uhm, what does that mean exactly?
Title: CMP + BLOB + ORACLE
I have a problem with BLOB datatype in ORACLE8.
I want read and write a String to BLOB , How ?
Thanks
I ended up BMP-ing the field.. In a CMP bean I did not
reference the BLOB/CLOB field in ejb-jar.xml or
jaws.xml as a CMP field. Then I wrote persistence
logic in ejbLoad() and ejbStore() to persist the
fields (also I called ejbStore() in ejbPostCreate() to
save the field for a newly created record
Title: Unsubscribe?
Does anybody know how to unsubscribe?
I tried this but am still getting the same error. Does anyone have an
example of a run.sh file I can view to compare with my classpaths for
trying to get the classes12.zip working?
Michael Mimo
Systems Specialist
Voice: 781-457-1317
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL
The following is a repost of a message I sent out about a week ago that
received no responses. We are getting close to release, so this issue is
important to us. Is everyone just taking the easy way out and using grant {
permission java.security.AllPermission;};? Has no one actually figured ou
The only thing run.sh puts on the classpath is the crimson.jar
Everything else gets loaded by being included in ClassPathExtension
MBeans in jboss.conf. jboss/lib/ext is one of the directories where all
jars are included in the 'classpath' for JBoss
"Micky I. Mimo" wrote:
>
> I tried this but a
Hey,
>permission java.net.SocketPermission "192.168.1.100:*",
> "connect,resolve";
>
Consult this: http://www.jboss.org/documentation/HTML/ch10s03.html
try with "192.168.1.100:1024-", meaning all ports higher than 1024, I
think you have actual port syntax in javadocs...
> Is there a better
Unsubscribe?Go here: http://lists.sourceforge.net/lists/listinfo/jboss-user
JBoss-user Subscribers section toward the bottom of the page (last form
field on the page).
- Original Message -
From: White, Joshua
To: '[EMAIL PROTECTED]'
Sent: Monday, April 30, 2001 2:08 pm
Subject: [JBoss-us
As a newbie - I'd be willing to help. That way I'd learn more about the
product.
Alas, I don't know what I could contribute with more than reading and
replying to the mail-list.
I can spare some time with this awesome product on a weekly basis :)
Regards,
Henning Storhaug
> > > Folks,
> > >
>
Title: RE: [JBoss-user] Re: SUPPORT OF JBOSS --IMPORTANT-- PLEASE READ
I'm also pretty new with the product, have successfully deployed
several BMP's on small server using pooled SQLServer connections.
I'll contribute whatever I can to support this fine product.
-Sean Kessler
* Steve Swing ([EMAIL PROTECTED]) [010430 15:30]:
> Unsubscribe?Go here: http://lists.sourceforge.net/lists/listinfo/jboss-user
>
> JBoss-user Subscribers section toward the bottom of the page (last form
> field on the page).
>
> From: White, Joshua
> To: '[EMAIL PROTECTED]'
> Sent: Monday, Apri
I put classes12.zip in the ../lib/ext directory and added this entry to
the jboss.conf file:
I suspect that my problem is with this configuration setting. Does
anything look wrong with the above configuration?
Michael Mimo
Systems Specialist
Voice: 781-457-1317
[EMAIL PROTECTED
I am using DB2 as my database and I have been trying to specify a different
schema then the one that is defaulted to by my login. I don't see any where
that I am able to specify a different schema. Any suggestions will help.
Thanks in advance,
-Jesse
__
Hey,
Ok so when you say
grant {
...permissions...
}
what you are saying is that this block of permissions is given to classes
that come from location . Cool..
Since JVM running JBoss needs to read your application deployed in (/tmp/)
it makes read write requests on your file system in
Try:
"Micky I. Mimo" wrote:
> I put classes12.zip in the ../lib/ext directory and added this entry to
> the jboss.conf file:
>
> ARCHIVE="jboss.jar,classes12.zip,minerva-1_0b3.jar"
> CODEBASE="../../lib/ext/">
>
> VALUE="org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
The problem is that you need your password to unsubscribe. If you've
trashed it by accident, ther's no way out.
>>> [EMAIL PROTECTED] 04/30/01 01:47PM >>>
* Steve Swing ([EMAIL PROTECTED]) [010430 15:30]:
> Unsubscribe?Go here:
http://lists.sourceforge.net/lists/listinfo/jboss-user
>
> JBoss-us
you can request it by pressing one of the buttons at sourceforge
site, the link to which you already have from the previous postings.
They send it to your e-mail address.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jay Craig
> Sent: Monday, Apr
* Jay Craig ([EMAIL PROTECTED]) [010430 17:13]:
> The problem is that you need your password to unsubscribe. If you've
> trashed it by accident, ther's no way out.
Actually, if you go to the URL specified in the headers you'll see
that there's a handy password reminder form -- as long as you know
Hello,
Every time I try to deploy the sample EJB from the site I get this:
[J2EE Deployer Default] install module interest.jar
[Container factory]
Deploying:file:/D:/AppServers/JBoss-2.2.1/tmp/deploy/Default/interest.jar
[Verifier] Verifying
file:/D:/AppServers/JBoss-2.2.1/tmp/deploy/Default/i
Won't the email address simply be the email address from which you are posting to this list?!! Vinay - Original Message - From: Chris Winters Sent: Monday, April 30, 2001 10:45 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Unsubscribe? * Jay Craig ([EMAIL PROTECTED]) [010430 17:13]
Hello, everybody!
It seems that I am having difficulties starting up JBoss 2.3 with
Cloudscape DataSources configured to use with Petstore. JBoss start-up
hangs after binding the first XA Connection pool to java:/EstoreDB
I did see a post to Jboss-user from somebody experiencing the same proble
Initial thoughts... Do you have the correct Java Runtime and is the JRE accessible? rt.jar has this class in it. Vinay - Original Message - From: luis rodrigues Sent: Monday, April 30, 2001 11:09 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Deployment problem Hello,Every time I
Hey Jenn,
> All,
>
> I have Informix set up and working with jBoss2.2. It would
> be nice to see
> the website updated with this information as it took quite a
> bit of trial
> and error to get everything tweaked and working. Where
> should I send the
> config information?
Please send a co
Title: RE: [JBoss-user] CMP + BLOB + ORACLE
do you have example code ? , Please send me .-
-Original Message-
From: Steven Haines [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 30 de Abril de 2001 03:05 p.m.
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] CMP + BLOB + ORACLE
I ended up
I have done this and am now getting this error when I startup Jboss.
java.lang.NoSuchMethodException: No such constructor
at
com.sun.management.jmx.MBeanServerImpl.internal_instantiate(MBeanServerI
mpl.java:2207)
at
com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerIm
Hi all,
I'm trying to implement the connection pooling under JBossCX, but whatever I do in:
public ManagedConnection matchManagedConnections(Set connectionSet,
Subject subject,
ConnectionRequestInfo info)
ever
Hello,
I've read the archives about how to set up the MySQL database pool,
but I'm still having problems. Once the pool is set up, the server
hangs. The last messages I see on startup are:
[JDBC provider] Starting
[JDBC provider] Started
[Hypersonic] Starting
[Hypersonic] Server 1.4 is runnin
I followed the
How-to for setting up this driver and i still get
[JDBC
provider] Could not load driver:
com.merant.datadirect.jdbc.sqlserver.SQLServerDriverAny
suggestions?
Brad
Harper
harper development & design
704.258.7473 |
[EMAIL PROTECTED]
You may find this helpful.
http://wamoz.com/JDBC_and_Oracle_LOB.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
I need to start a transaction from within a servlet, make one or more calls
to entity beans, and then commit the transaction. However I can't seem to
find a way to obtain a UserTransaction object using the normal JNDI name,
"java:comp/UserTransaction".
Browsing the namespace with JNDIView shows
Michael Lu wrote:
> Hi all,
>
> I'm trying to implement the connection pooling under JBossCX, but whatever I do in:
> public ManagedConnection matchManagedConnections(Set connectionSet,
> Subject subject,
> Connection
Hi!
I have been playing with JBoss for a couple of weeks, I installed and
configured JBoss+Tomcat and installed, built and run the Interest sample and
everything went OK. So I tried to run the Interest EJB from a servlet client
instead of a standalone client and got into trouble. I have lo
The #1 cause of this problem is not configuring tomcat correctly.
Try using the binary bundle that include a correctly configured
embeded tomcat: http://prdownloads.sourceforge.net/jboss/JBoss-2.2.1_Tomcat-3.2.1.zip
- Original Message -
From: "Carlos Granados" <[EMAIL PROTECTED]>
To: <[E
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The reordering of the jar files may help uncover a solution.
I am almost certain that the classes in jar files are loaded in a
sequential order. If there are two classes with identical
package/name, the class which is encountered first, will be us
Marc,
Quid du taux de reponses a ce message ??
Ce soir, on a touche notre complement de famille/amis et maintenant, nous avons une full house.( Nene + Cuqui, Javier + Mari Clara, Yvan + Chantal, nos amis belges).
Comment va ton trianing chez les rosbifs?. Meme si tu es tres occupe, please send a c
A permission entry like:
permission java.io.FilePermission
"\H:\JBoss-2.2.1\tmp\deploy\Default\DbTester.jar\-", "read";
will not work because the policy file parser needs to see a \\ for each \ in a path
string.
It is better to use the ${jboss.home} and ${/} properties in the path specificatio
Post further info - config file entries, jbdc driver details etc
Micheal
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brad Harper
Sent: 01 May 2001 03:10
To: [EMAIL PROTECTED]
Subject: [JBoss-user] MERANT SQL Server driver will not load
I fo
Why are you trying to setup an XADataSource with the classpath extender?
--jason
> I put classes12.zip in the ../lib/ext directory and added this entry
> to
> the jboss.conf file:
>
> ARCHIVE="jboss.jar,classes12.zip,minerva-1_0b3.jar"
> CODEBASE="../../lib/ext/">
>
> VALUE="org.op
Title:
I placed util.jar, base.jar and
sqlserver.jar fiels into my jboss/lib/ext directory.
nothing special in run.bat...
From jboss.jcml
com.merant.datadirect.jdbc.sqlserver.SQLServerDriver
org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl
SQLServe
Hi,
I am also willing to do whatever i can.
bye
Rama Rao
- Original Message -
From: Marc Antoine Garrigue <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 9:48 PM
Subject: Re: [JBoss-user] SUPPORT OF JBOSS --IMPORTANT-- PLEASE READ
> Un deuxieme newbie est partant
Hello,
I wrote LoginModules for JAAS Authentication.
Calling secured EJBs from a local client works fine. However, calling the same
EJBs from a Tomcat causes a security exception stating that the
principal is null.
I have seen this discussed in many different
threads. But I still have n
I deploy in 10 different jars because different groups are developing
different components. Life is easier if we let each group maintain
independent jars. I tried the ejb-link tag in ejb-ref, but it said it could
not find the referenced jar in the application. From this I'm inferring
that it wa
Okay, thanks to all who responded via the mail list and directly to me, I've
got a working client. The client is executed outside of JBoss from a
command prompt, so jboss.home is not available. Here is what I found that
worked:
grant
{
permission java.net.SocketPermission "192.168.1.100:1
Hi,
UserTransaction support for stand-alone clients was
just recently added to CVS. You may have to grap
the latest CVS sources if you need this now.
When you have it, a simple lookup of "UserTransaction"
will do.
Best Regards,
Ole Husgaard.
Ed Swierk wrote:
>
> I need to start a transacti
>> Does the JBoss optimized container invoker (or whatever it's
>> called...) serialize arguments in order to preserve RMI semantics
>> (i.e. pass-by-value) and short-circuit the RMI layer?
>
> Yes
I think that this is not correct. I ran some tests with
container-invoker-conf Optimized true an
79 matches
Mail list logo