Hi,
I had the following error during deployment, if i have a reference the
RemoteObject or HomeObject to one special Bean, however. I do not know what
i am doing wrong, cause the deployer says nothing, in debug mode too:
I am using the current CVS Version.
Here my log: (Ignore the Verifier mes
Err, you are posting to the right thread are you ? The question and the
title of this thread is "Calling a bean from another bean."
-Original Message-
From: dreaddy [mailto:[EMAIL PROTECTED]]
Sent: 06 February 2001 17:57
To: jBoss
Subject: RE: [jBoss-User] JAAS - Calling a bean from anoth
-Original Message-
From: Bobby Martin [mailto:[EMAIL PROTECTED]]
Sent: 07 February 2001 07:11
To: [EMAIL PROTECTED]
Subject: [jBoss-User] Several high-level questions
>I'm a newbie to jboss, and mostly a newbie to EJB, so feel free to answer
my
>questions with RTFM. Please point me to
Hi
I have compiled ZOAP from cvs and I have deployed test-bean.jar and JBoss
generate no errors (1)
Perfect :-)
But when I run the test.bat I get many many exceptions... about sockect
closed, and HttpServer.run() nullpointer exception.
Here I have enclosed the server.log
anybody have an idea
-Original Message-
From: Peter Routtier-Wone [mailto:[EMAIL PROTECTED]]
Sent: 06 February 2001 15:35
To: jBoss
Subject: Re: [jBoss-User] IsA behaviour when inheriting beans
>This is the point where our opinions diverge. The thing is, I didn't
>replicate the inheritance mechanism. What I
Title: RE: [jBoss-User] error jboss in deplyoment
In JBuilder you have your source path (C:\jboss\ecometry\src\) JBuilder expects that a class in the package classes is in the following directory (C:\jboss\ecometry\src\classes\")
So simply place the file in a folder (MS speak for Directory)
-Original Message-
From: Darius Davidavicius [mailto:[EMAIL PROTECTED]]
Sent: 06 February 2001 14:57
To: jBoss
Subject: RE: [jBoss-User] IsA behaviour when inheriting beans
HI all
>>However the EJB spec does not allow for inheritance between EJBs
>I did not see any notes in the spec o
I'm a newbie to jboss, and mostly a newbie to EJB, so feel free to answer my
questions with RTFM. Please point me to said FM in that case ;)
If you can answer one question but not others, or just care to answer one
question but not others, please do so.
1) In very broad terms, I'd like to fin
Hi,
Please note that the JBoss proxies implement the
remote interface if the bean so that you can
ask "if (myRef instanceof MyRemoteInterface) ...".
However, that is not portable.
But IsA functionality is present implicit in
javax.rmi.PortableRemoteObject.narrow():
If A is not null then
If (A
Unfortunately, jboss doesn't seem to throw
any exceptions when it can't bind to some ports.
It seems to continue loading. I do not
have much time to look into why.
The easiest way (I know) to check for port conflicts
on linux or solaris is to
1. kill your server to avoid listing your ports in ste
> I've downloaded the Zoap module - where are the instructions for
installing
> this?
After checking out the CVS source, look at examples.html in the root of your
checkout directory. This provides the installation directions which include
a unit test module for verification. As I recall, the test
Hi,
You have to at the InterestClient.jar to your classpath, for simple step you
can just copy InterestClient.jar to the Jboss/lib (for testing) and then
restart it.
You can look into logs\server.log that Jboss JVM has load InterestClient.jar
or not. I think you can now able to run EJB Servlet.
I am using the latest JDK 1.3 for solaris from sun, plus there isn't
anything running on 8080. I am able to use JSPs through tomcat on 8080, its
just the EJBs through jboss that aren't working.
Joe Krause
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
Hi,
Thanks for your help on this, and sorry for
my delay in answering.
According to Oracle, this incompatibility
(not being able to use any other Xid than
oracle.jdbc.xa.OracleXid) is fixed with the
8.1.7 release.
I got confirmation on this from a user using
the 8.1.7 OCI driver. Could it be tha
Joe,
Which JVM are you using ?
If you are using the one is /usr/bin try getting the latest VM from
java.sun/com/jdk
Oh out of interest there isn't something already running on port 8080 is there
?
HTH
Tom Daly
> After installing JBOSS_TOMCAT on a Solaris 8 machine, I am having problems
> get
On Tue, 06 Feb 2001, you wrote:
[snip]
> I haven't tried the port 8082 solution
> yet, but I would prefer to find a java solution.
And, as many point out, it's not very secure. Could HTTP authentication be
added to this service? Or is that not possible because the source is not
accessible?
> I
After installing JBOSS_TOMCAT on a Solaris 8 machine, I am having problems
getting the HelloEJB test bean to work (ie. the one test EJB that comes with
JBOSS and located at http://localhost:8080/jboss). After clicking on the
"Execute Example" link, the server attempts to compile the HelloEJB, but
What a nut i am :-/
All CVS/Root files has anon as user, changed it to my userid instead and
tada it works. The patch will be commited tomorrow. Thanks Simon :)
/Lennart
--
mailto:[EMAIL PROTECTED]
http://www.benefit.se/english
--
-
Hi,
Like the error message says.
In general, in EJB you should not touch
anything having to do with transactions,
as the container must do this for you.
Even in case of bean managed transactions,
the container will interpose so that it
knows what the bean is doing transaction-wise.
Is there some
Guys, finally, it deployed.
Tom, this is for you, great thanks, I resolved the last exception. All you
need to do is place javac.jar into tomcat/lib directory.
Here is what needs to be done:
1. grab the latest JBOSS source (including contrib-cvs)
2. add modifications posted by Tom Coleman and
I don't know how you reference the SPP in the servlet, but non-static member
variables in a Servlet get messed up if you have multiple users accessing
the servlet with short intervals. When you lookup the SPP you must pass the
reference to the SPP in the method calls instead of storing it in a mem
Can jboss use a datastore as objectstore
?
is there any documentation ?
ciao
fred
I've downloaded the Zoap module - where are the instructions for installing
this?
Regards
--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
Amal Sirvisetti wrote:
>
> Sorry Toby. Here are the details:
Ah. Much better. :-)
> 1. Remote Exception:
>
> [TheOrder] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
> javax.ejb.EJBException
>
> 2. The EJB I am calling is the "TheOrder" EJB from Sun's Pet Store blue print.
Sorry Toby. Here are the details:
1. Remote Exception:
[TheOrder] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
javax.ejb.EJBException
2. The EJB I am calling is the "TheOrder" EJB from Sun's Pet Store blue print.
3. The Pre 2.1 release is about 2 weeks old. Could this be t
... why is there RMI???
this is not optimized. JBoss-Tomcat optimized should not have ANY RMI
running...
If it is not optimized then all calls between the containers (tomcat and
JBoss) are serialized.
Do we use marshalled object to format Database returns? (can't remember)
marc
|-Origin
Amal Sirvisetti wrote:
>
> I have an EJB (deployed in JBoss Pre 2.1) that I am calling from a
> client program. The first time I call it, it works fine and the 2nd time
> I get a Remote Exception. Again, 3rd time works fine, but 4th time does
> n't work. In other words, it only works alternative
I couldn't find any hits in the mailing list archive fot his error
either! Please help.
java.sql.SQLException: Cannot set AutoCommit for a transactional
connection: See
JDBC 2.0 Optional Package Specification section 7.1 (p25)
--
Regards,
Amal
=
I have an EJB (deployed in JBoss Pre 2.1) that I am calling from a
client program. The first time I call it, it works fine and the 2nd time
I get a Remote Exception. Again, 3rd time works fine, but 4th time does
n't work. In other words, it only works alternatively. I noticed a few
issues like th
Hi!
Try file://localhost:8080/servlets/servlet/xyzservlet
Remember to add your servlets to the web.xml and either put them in the
classes directory of your web application or make them available within your
classpath.
If this doesn't work for you try Jetty and JBoss seperately(e.g. a jar file
f
I ran my jboss-tomcat app (integrated, j2ee deployer, ear file) through
optimizeIt. The test involved:
loading 1 web page
running 1 finder method which returned a collection of 50 ejbs
50x EJB load and return value object
50x findByPrimaryKey
50x EJB load and return value object
The whole operat
I applied my Apache+Tomcat+JBoss changes to the latest CVS files, and the
build still works as expected. However, tomcat-test.ear is no longer
working. I've included the log output from the deployment, as well as the
stacktrace that was generated when accessing
http://localhost:8080/jboss/servle
Can you send me this patch so I can apply it to our (my company's) local
JBoss-2.0-FINAL sources? We are facing this bug and cannot switch (yet)
to 2.1.
++Jeff
Lennart Petersson wrote:
> I have a patch for this one and including skipping any ASC/DESC from
> being copied to the select clause
What you want to do, in my humble opinion, is limit the affect on
performance of the ERROR case. Really, in an equals() method, you are
expecting what is passed in to be of the same type. For that reason,
the fastest way (due to Java's "no try-catch overhead") is:
public boolean equals(Objec
Title: registering multiple instances of the same jndi name; one naming service; multiple servers
It appears that the same jndi name can not be registered through the naming service across multiple JVM's (one naming service; multiple physical servers running jBoss). Is this part of the clust
Lennart,
just guesses:
1) What is the value of your home directory ? Is there a file called
.cvspass with inside the cvsroot with your user name ?
2) Are you trying to update on a file that was checked out as anon ? Look in
the CVS/Root file of the directory where your file is, and see if the
cvs
Hi ?LTKO?,
I guess that you have already tried the test that is shipped with the
source? Unfortunately, I have nothing
that is a more, say, practical example without sending you a large part of
our application logic deployed here
at infor.
Which problems do you have during build? Have you put
Hi Paul
I'm looking over your 1.1.1 patches right now.
I'd like to see us get the Pet Store operational by focusing on jBoss
deployment, making only _minimal_ modifications to the actual application
code.
There is some nonportable code in JPS however. The JPS docs state:
(jps1.1.1/docs/sec
My application uses EJB and Oracle
It correctly works in Orion, Sun J2EE RI, JRun Enterpise Edition and in
**JBOSS 2.0 BETA - IF NOT TO USE XADataSource!!!**
It not correctly works in Jboss 2.0 and 2.1 Pre
I tried to use Oracle JDBC Thin Drivers 8.1.6 and 8.1.7
OS - Linux
RDBMS - Oracle 8.1.6
F
Title: RE: [jBoss-User] Jboss scalability
To
Everyone
Is there an open
source application server that has cluster
capability
It's in the FAQ http://www.jboss.org/business/faq.html#FAQ-ADMIN-CLUSTER
-Original Message- From:
dreaddy [mailto:[EMAIL PROTECTED]]
Try 'Integer' instead of 'int'.
AFAIK you cannot use java primitives as primary keys.
tom
On Tue, 06 Feb 2001, you wrote:
> I got only 1 primary key 'id' in my bean and have declared it as 'int id' in
> my CabinPK. But I got these warning messages when I deploy using the EJX
> editor in jboss.
While this is really a Java question, it affects the performance of the PK
equals() method, which affects caching performance (I think), so I thought I
would ask...
Which has better performance inside the equals ( Object obj ) method on the PK
class, assuming the primary key field is, say, an Int
That is correct we will start work on the clustering for JBoss 2.3
regards
marc
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of dreaddy
|Sent: Tuesday, February 06, 2001 10:30 AM
|To: Jboss-User; Jboss-Dev
|Subject: [jBoss-User] Jboss scalability
|
I'm interested in using SOAP but have problems in building ZOAP. Have anyone made and
can share an easy example on how to invoke a remote method
using SOAP? Are there any ready-built ZOAP somewhere?
Greetings
--
Get your free email from www.linuxmail.org
Powered by Outblaze
--
> I got only 1 primary key 'id' in my bean and have declared it as 'int id'
> in my CabinPK. But I got these warning messages when I deploy using the
> EJX editor in jboss. Can someone tell me what these means and how to
> correct them (as detailed as possible)? Need them solutions fast.
> Thanks.
Title: RE: [jBoss-User] Jboss scalability
It's in the FAQ http://www.jboss.org/business/faq.html#FAQ-ADMIN-CLUSTER
-Original Message-
From: dreaddy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 10:30 AM
To: Jboss-User; Jboss-Dev
Subject: [jBoss-User] Jboss scalability
I got only 1 primary key 'id' in my bean and have declared it as 'int id' in
my CabinPK. But I got these warning messages when I deploy using the EJX
editor in jboss. Can someone tell me what these means and how to correct
them (as detailed as possible)? Need them solutions fast.
Thanks.
[Verif
> The reason for choosing an OO programming language is that it *supports*
the
> various OO constructs - inheritance, classes, polymorphism and all the
> behavour that is implied (eg inheritance without resulting isA behaviour
> isn't true inheritance.)
Oh is THAT what you're on about. In that ca
Hi all
I read a post that mentioned something to the effect of JBOSS appserver not
being cluster scalable. Can someone confirm if this is true. Also, where can
I find information on this.
Wayne Mckenzie
Senior Staff Engineer
1615 S. Congress Ave
Delray Beach, FL. 33445-6358
Phone: (561)-265-2
Hi all
I'm using Sybase SQL Anywhere Database Engine Version 5.5.04 Build #1982 and
jConnect 5.2, and getting errors on startup (log at the the end of this
email).
I have read and (I believe followed) the Sybase configuration instructions
outlined in the jBoss documentation. Basically I have me
Kenworthy, Edward
I don't know how to call a stored procedure from a client. Can you provide
a snippit?
Exactly the same way as you would from the client.
-Original Message-
From: dreaddy [mailto:[EMAIL PROTECTED]]
Sent: 06 February 2001 17:08
To: jBoss
Subject: RE: [jBoss-User]
HI all
>However the EJB spec does not allow for inheritance between EJBs
I did not see any notes in the spec of EJB where it is said inheritance NOT ALLOWED.
sure i agree isA is not supported by EJB but it is easy to implement it.
Agree, we cannot inplement 100% isA functionality as Edward said
I believe it does bind to all nics. I use ipchains to control access to
this port based on the source ip. I've got it locked down so that only my
pc and localhost can connect to that port. Another solution is to not run
the service. There is a lot of sensitive info that can be discovered by
sn
Hi, we created a set of stateful session beans that are used by a servlet
that runs in tomcat. The design is quite complicated, but it can be
described as follows: when the servlet is called it creates a "session"
(managed by cookies in the previous version, now managed by a hidden code in
the htm
Exactly the same way as you would from the client.
-Original Message-
From: dreaddy [mailto:[EMAIL PROTECTED]]
Sent: 06 February 2001 17:08
To: jBoss
Subject: RE: [jBoss-User] JAAS - Calling a bean from another bean.
~JM
How *do* you call one bean from another bean. Also How do
Title: RE: [jBoss-User] Pet store 1.1.1 deployed
Yes - I`m certainly happy to try and write some documentation to help newbies get their bearings - once I get mine that is !
Thanks again for this - I know a lot of people have been looking for this.
Graeme Wilson
PS: Sorry about the RTF (
I have a patch for this one and including skipping any ASC/DESC from
being copied to the select clause.
BUT!!! I can not update CVS since there is something wrong with my new
account (see other mail about that).
Please!!! Can someone tell me what is wrong with my account so that i
can check in m
~JM
How *do* you call one bean from another bean. Also How do you interact with
a stored procedure.
I'm using JAAS Security.
I have two Stateful Session Beans. First Bean(Master bean) calls another
Bean(Slave Bean).
First bean is called by client using JAAS loginContext, it gets
au
I installed JBoss with integrated Tomcat. Started playing with servlets
I can hit the HelloWorld Servlet at:
http://localhost:8080/servlets/servlet/HelloWorldExample
I recreated the example WAR file with the EJB class from the JBoss Interest
example
When I hit:
http://localhost:8080/servlets/s
Hallo
I've a CMP with 2 fields: id and code.
I've configured a custom finder that should find all
objects sorted, so my jaws.xml has:
...
findSorted
id
...
The SQL statement (traced enabling debug variable in JDBCCommand.java)
produced is (Oracle datasource):
DEBUG - JAWS - fin
The "brains" behind the deployment are Mike Leuders, who wrote the
Deployer patch, and Richard Gyger who has been very helpful and
quite patiently supplied advice and details.
Tom
--
--
To subscribe:[EMAIL PROTECTED]
To
- Original Message -
From: Tom Cook <[EMAIL PROTECTED]>
> Why use a PID file and kill when you there is a 'stop.jar' (admittedly
this has
> a hardcoded name which doesn't seem to be correct, though this may have
been
> fixed) or you can just connect to port 8082 and stuff a string like:
Using an init script that cd's to $JBOOS_HOME/bin will indeed start
the service as desired. However, on the linux I have tried sending a
kill signal
to the initiating script will not stop the java processes spawned by the
start
script, as suggested for example in the FAQ. In addition, since I pref
Hi there,
Does Jboss-team support primarily tomcat as
the standard JBoss inVM J2EE setup ?
What is the future direction?
I would agree on all Java Web server--
Servlet engine--EJB server package, but still
liked to use many apache modules like jetspeed
and cocoon.
I was hoping to hear the res
Hello all IsA friends,
I agree with you Edward, this feature should be directly integrated in the
EJB behaviour to be of real help.
Nevertheless, in the meantime, some of us may accept to pay the price of
additional problems by using workarounds in order to get an IsA approaching
feature. Peter
Do you use CVS version? I guess this bug has been fixed. At least I
cannot reproduce it.
Oleg
jBoss Monkey wrote:
> I'm using JAAS Security.
> I have two Stateful Session Beans. First Bean(Master bean) calls another
> Bean(Slave Bean).
> First bean is called by client using JAAS loginContext
66 matches
Mail list logo