I did everything as described, including the update of the jar, the har deploys fine.
But then I get a different error:
java.lang.IllegalArgumentException: Unknown session scope for jndi name
[java:/hibernate/SessionFactory]
Also, when I verify my jboss.xml, then the
does not validate against
CMP fields:
studentId - maps to -> student_id
courseId - maps to -> course_id
CMR fields:
student - maps to -> student_id
course - maps to -> course_id
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844631#3844631
Reply to the post :
http://www.jboss.org/ind
Do you have different versions of the class in the server classpath?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844630#3844630
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844630
What container configuration and locking policy are you using?
My fix just locks the instance for the duration of the invocation. Which makes sense
only for the Standard container configuration.
Earlier this couldn't happen if the locking policy is NoLock (which should not be used
with Standard c
This is not recommended. For what reason do you want to avoid transactions?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844628#3844628
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844628
-
Looks like a bug in JBossCMP.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844627#3844627
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844627
---
SF.Net email is
I am getting a StackOverflow error from RMI when I am making an EJB Call. This happens
randomly after a little while. I have seen this happen with different EJBs. I am using
JBOSS 3.0.0 with J2SDK 1.3.1_01. I am running with mx=512m currently.
Is there a known problem with this configuration? Pl
Hi
I have found that For Message Driven Beans the Clustering Support is not available in
the JBoss Clustering by SACHA LABOUREY,BILL BURKE which is written for JBoss 3.x.x Is
there are New version of JBoss which has the clustering capabilities for the Message
Driven Beans
Thanks and Regard
Su
Hi
I have worked with the JBoss 3.2.3 for HTTP session clustering. For that I had to
configure that with Apache and mod_jk. But when I start the clustering(run -c all) the
JBoss 4.0.0RC1 is showing
10:09:43,451 INFO [Tomcat5] Saw org.jboss.system.server.started notification,
starting connecto
Forgot to mention, I did try putting the conf directory onto the classpath in an "out
of the box" jboss 3.2.3 system and it then also truncates the web.xml file so the
problem is nicely reproducable now.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844623#
Yes, I experience the same error periodically. I can't find a way to reproduce the
error on command...
I use Struts too, but I hadn't linked the error to Struts...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844622#3844622
Reply to the post :
http://www
OK, found what it is in our configuration that causes web.xml to be overwritten.
For a reason that I cannot quite remember we have always had the server conf directory
on our classpath when jboss starts up, something to do with using
ClassLoader.getResource() for properties I think, anyway we d
Achan,
Is it possible that any other port has conflicts? (other than 8080) for example JNDI
or whatever else ? (which causes JBoss not to be able to recognize application paths?)
Because port 8080 is binded to JBoss. As I told it just issues issues (HTTP 400 - Bad
Request) .
Regards,
Mac
Vi
Propably you are running any other server using port no 8080
and using jboss to run in the same port no
(example oracle apache server running using port no 8080)
change the port no in your JBOSS and you should do it
best wishes
jboss_achan
View the original post :
http://www.jboss.org/index.html?
Running the client looping to 1000 from a remote is causing the following error.
Sorry for the mis statement. Not sure if this is related or a different issue. The
client is getting a return from the ejb and exception is being thrown also:
12160.00
0.77
Caught an unexpected exception!
java.rmi
I have been going though the sun ejb tutorial and have run into an intermitant problem.
The Converter example (stateless) deploys fine and runs without error unless I hit it
with
multiple client requests. I threaded the client to simulate multiple concurrent
client
requests. If I run the clien
Hi all,
I am wondering if you guys have experience on how CMP can handle BLOB type,Since I
plan to use a BLOB type to store large file data(100MB-1GB) into a table using CMP and
then read it back later on.I am trying to be clear about any potential performance hit
before I do that approach.
Now
Make sure that you haven't got any old libraries or jars lying around. Sometimes they
get caught in the CLASSPATH and get used instead of the new ones.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844605#3844605
Reply to the post :
http://www.jboss.org/in
Works fine for me. Take the all/deploy/jmx-console.war and mark it as distributable,
enable the security constraints, and setup form based login and I'm able to access the
secured content after going through the login.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewto
What DB are you using, which JBoss version?
Regards,
Stephane
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844602#3844602
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844602
-
What classes could be missing. I have copied jbossall-client.jar to tomcat lib folder.
I am using ojdbc14 driver. Thanks for ur help.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844601#3844601
Reply to the post :
http://www.jboss.org/index.html?module=bb
I think the source might be helpful, you can track it down using CVS or download
anonymously. I don't have it on this machine, but there are a few I/O settings you
can play with.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844600#3844600
Reply to the po
I am using ojdbc14 jdbc driver. thank you very much for ur help
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844599#3844599
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844599
-
For supporting older versions, I would suggest a support contract.
Otherwise, you can shut the warning up using log4j configuration. Submitting a test
case would be helpful. The ping timeout occurs when the server thinks a client has
disconnected. It could be that the later version of JBoss
Adrian posted a solution in the FAQ.
Regards,
Stephane
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844597#3844597
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844597
Do you need to send those 10.000 messages in the same transaction? Otherwise, you can
use java:/JmsXA and create a connection for each message. Won"t be a problem since
it's a pooled behind the scenes.
Regards,
Stephane
View the original post :
http://www.jboss.org/index.html?module=bb&op=vie
JBoss 3.2.5 uses Tomcat 5.0, which may or may not have the idle thread problem that
you are describing with Jetty, the old HTTP server. If it's easy enough to test you
app, why not test with JBoss 3.2.5?
JBoss 3.2.1 was released 2003-06-02...
View the original post :
http://www.jboss.org/ind
I am getting the same exception while experimenting with the sun ejb tutorial. I get
the error with 14+ clients. Did you find a solution?
javax.naming.CommunicationException: Receive timed out [Root exception is
java.net.SocketTimeoutException: Receive
timed out]
at org.jnp.interfaces
I suspect that the LocalStatelessSessionProxyFactoryBean class and the Remote version
cache classes as it seems when I hot deploy the classloader used for the cast class
increases but the reference returned via the spring ApplicationContext is still from
the old classloader.
I believe (althoug
Hi all,
Has anyone manaed to get springs LocalStatelessSessionProxyFactoryBean class (or the
Remote version) to work on hot deploy?
I get the usual ClassCastException as soon as I fetch and cast the bean out of the
Spring ApplicationContext and sure enough the reference and casting class are fr
I am looking for a JBoss-Jetty.sar for jboss4.0.0RC1.
Thanks,
Chad
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844591#3844591
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844591
Hi all,
I'm trying to deploy my entity beans on JBoss 3.2.3 & 3.2.5 and Oracle8.
Jboss is configured to create all tables needed for the entity beans and their
relation.
If the DB is empty all works fine - except that JBoss executes a CREATE SEQUENCE
%%t_seq START WITH 1 INCREMENT BY 1] on table
mea culpa, guys. First time using CVS and I accidently dropped a file during the
submit.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844589#3844589
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844589
---
Hi,
Before diving in the problem i just want to tell some thing about the problem.
I am trying to access an EJB through axis webservices. I am able to access couple of
methods in the EJB and getting the following trace while accessing the rest. I have no
problem in accessing the method which i h
Also, the problem does not occur with BASIC authentication.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844587#3844587
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844587
-
JBoss 3.2.5 - all
Always when any war contains both the distributable tag and a form login, it is not
possible to login and this error is given:
"Invalid direct reference to form login page"
If the distributable tag is removed, there is no error message and the login
successeds; BUT with no di
I am just totally newbie to this JBoss. Having tough time in gathering the
information regarding making MBeans using JMX. Any kind of help will be highly
appreciated.
Thanks,
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844585#3844585
Reply to the post :
If you're using an MDB, you don't need to create a QueueSession. What does your MDB
do?
You might want to test using JBoss 3.2.5 as a baseline. If it works, it's a JBoss
bug. If it doesn't, submit a test case.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&
This question had been asked many timeы here (directly or indirectly) but so far
no answer was given.
So I've decided to try again.
Is there a way to specify an order in which EJB modules will be deployed?
Apparently JBoss (unlike WebSphere for example) ignores an order in which EJB modules
are
I bought the 99$ comprehensive documentation.
I have received 2 downloads from component source, One in feb one in March.
The only mention of version occurs in the JBossBook307 and it 3.0.7.
When is the documentation for 3.2.x going to appear?
what is the 10-30$ 3.2 book and why wouldnt it be inclu
Hi,
Apologies if this is the incorrect forum.
I'm having trouble with OutOfMemory problems with my app. I'm hoping something below
might help somebody tell me what I'm doing wrong...
My environment :
Redhat Linux 9 (also tried Solaris)
JBoss 3.2.1 (I'd rather not upgrade it unless absolutely ne
You will only be able to do this if you use bean managed transactions.
In your session bean, here's some starter methods that you can use to start and end
your transactions:
protected int beginTransactionIfRequired(int timeoutInSeconds) {
| UserTransaction tran = this.sessi
If you with a web service bean refer to your EJB, then I don't think you can find the
request URL there. You probably want to create an interceptor, by extending
Basichandler and register your new interceptor in the web-service.xml file.
In your interceptor you can then get the request object l
Hi all
I have stateless facade and some cmps (also using relations), and dont want use them
with any kind of transaction...
how i can do it?
There are only Required,RequiresNew and Mandatory transaction attributes permissible
for EntityBean type...
Point me to the thread/docs please
View th
Hi I am using JBoss 3.2.2, as we are using this version in production I can not easily
use another version.
I am trying to send java beans with inner classes using JBoss.net. It seems to be
working fine when my Ejb populates an inner class and returns it. But when I want to
send an inner class
I am trying to configure jetty to output source *jsp_.java files to my eclipse project
directory so I can use lomboz to debug my jsp's.
I have tried modifying my run.bat with the -Djava.io.tmpdir, but no luck.
I have tried adding a jetty-xml using jikes, this creates the java files but does not
BTW, the first bug I mentioned about hot deployments in 3.2.4/3.2.5 can be found here:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=973565&group_id=22866
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844564#3844564
Reply to the post :
http
Ok that makes a bit more sense.
Still scrap everything that you have been doing so far, to start with you need to
learn how to write session beans and how to access them from a client.
With J2EE you do not need to get involved with the RMI side of things at all.
Once you have been able to deplo
Using JBoss 3.2.5 and struts 1.1 I keep getting exceptions when the destroy method of
Struts' action servlet is invoked. I did not experience this on earlier versions of
JBoss even though I had the same configuration as now.
Has anyone else experienced this? Below is my stack trace.
Randahl
1
This system is now in use in a fast food outlet here in the Uk. I might make this
system open source on sourceforge so that it can be further developed. ( is this a
good idea ???)
It also uses apache fop to produce reportsd which was fairly easy to get done.
So again I ask ! if anyone would l
Mac,
The question asked related was how to use LDAP and MySQL with JBoss, not how to use
them in a J2SE application.
The instructions you have given are for J2SE not J2EE.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844553#3844553
Reply to the post :
I forgot to mention:
methodB is called over getSessionContext().getEJBObject() ofcourse.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844552#3844552
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844552
---
Thanx...
My email has been seen as fake wich I can't understand... I was monitoring this thread
by mail, that is why I am so late with answering as I didn't get any more messages...
I took a brief look at at the jsp, and now I don't get any error, but I still can't
log on. I just get forwared t
That's the deal
The users in my ldap server are as the folowing
| CN=Lucas Alves Machado - Company
| objectclass=dominioPerson
| uid=lucasa
|
And the roles are
| CN=RoleName
| objectclass=dominioGroup
| member=Lucas Alves Machado - Company
| member=Foo of Bar - Company
|
Hi,
I'm using JBoss 3.2.1 with Hibernate 2.1 and a DB2 local-tx-datasource (driver file:
db2jcc.jar). There is one methodA with transaction attribute "Required" calling
another methodB with attribute "RequiresNew". Normally I would assume when methodA is
rolled back, changes made in methodB are
I am running JBOSS 3.2.3 on Windows 2000. Session Level failover works
fine for me as long as I don't have a large number of items in the
session. Once the number of items in session reaches a certain size (I
don't know the majic number) I get the following error. Can anyone give
me any informatio
Hello Alex,
sorry for my late reply.
The method from our bean where we have the touble uses RequiresNew and not
NotSupported for the transaction type. Does your fix address this transaction type
too ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844548#3
it's fixed now
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844546#3844546
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844546
---
This SF.Net email is sponsore
Trying to run jboss with debugging enabled, i get the following errors immediately
after startup:
JBOSS_HOME: /work/12spilk/JBoss
JAVA: /usr/opt/java142/bin/java
JAVA_OPTS: -Xdebug
Hi there,
Have a bit of an odd problem. I have an entity bean which contains a finder method
(actually it contains an XDoclet tag which generates the find method in the Home
interface of my bean and puts in the correct query etc.. in to the ejb-jar.xml).
The problem I am having is that I can de
That's exactly what I did.
I'm using the compound PK (student_id, course_id) in the Student_Course EJB to ensure
that no student registers for the same course more than once.
Therein lies the problem. As you said earlier, a field can only be either CMP or CMR.
But the student_id and course_id
Thanks Sacha
it works!
I added
depends: jboss.j2ee:service=EJB, jndiName=TimerManagerBean
Now quite a familiar question. The timer also need to call a webservice, which is
deployed via the AXIS.
Maybe you know the AXIS is a .war file, and then the same question, how should I
write the
Thanks
it works!
I added
depends: jboss.j2ee:service=EJB, jndiName=TimerManagerBean
Now quite a familiar question. The timer also need to call a webservice, which is
deployed via the AXIS.
Maybe you know the AXIS is a .war file, and then the same question, how should I
write the '
Hi
I am testing JBoss to evaluate it for my organisation.
I have had a very successful initial trial when running it from my XP machine which is
attached to the network.
However it was decided that we should now try it on a Linux server as a better test
environment. The installation went perfe
Hi all,
I'm starting to work with JBoss 3.0.4, but I encountered some problems.
The first is when starting JBoss I get an exception that the file pg_hba.conf could
not be found. I know it has something to do with the postgress database.
The second is when I want to access my application I get t
Then create Student-Student_Course and Course-Student_Course relationships and map
foreign key fields to primary key columns in Student_Course. And there should not be
direct relationships between Course and Student.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopi
I created the Student_Course EJB because I need fields other than student_id and
course_id. For instance, I need another field that stores the date when the student
registers for the course, etc.
If I didn't create the Student_Course ejb, I wouldn't be able to store the additonal
fields as the
Sorry to mention that those threads are all jetty threads.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844533#3844533
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844533
--
hi,
We are using jboss 3.2.1 with jms over http. We noticed that each client connects to
the jboss server will cause the jboss generates 2 threads to handle its request (we
use both topic and queue).
Our problem is: there are too many idle threads existing, from the jmx-console, we
can see
Can you post a stacktrace of that error?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844531#3844531
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844531
---
This
A field is eaither CMP or CMR, it can't be both.
You don't have to create Student_Course EJB at all. You can just map keys to
Student_Course. See online docs for an example.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844530#3844530
Reply to the post :
h
71 matches
Mail list logo