Can you post the stacktrace? Does the bean have matching ejbCreate method in the bean
impl class?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843146#3843146
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843146
--
I guess, there is no XDoclet tags for lazy-resultset-loading yet as it's a new
feature. But I don't know for sure.
You can returned different entity types from ejbSelect methods but not finders.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843145#3843145
R
You should commit or rollback the transaction to release the lock on the instance.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843144#3843144
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843144
--
There is HiLo key generator in HEAD (4.0). It should backported to Branch_3_2. For now
you could check it out here
http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/main/org/jboss/ejb/plugins/keygenerator/
http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/resources/uuid-key-generator/META
It seems like storeEntity is called on a passivated instance. What container
configuration are you using? What if you try 3.2.4 or 3.2.5?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843141#3843141
Reply to the post :
http://www.jboss.org/index.html?module
Parameters are not allowed in ORDER BY even in EJBQL2.1.
http://www.jboss.org/wiki/Wiki.jsp?page=EJBQL21
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843142#3843142
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38431
is there any opensource or tool to generate server traffic report on jboss?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843140#3843140
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843140
-
It says
Error compiling EJB-QL statement ''; - nested throwable:
(org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM not found
Your query is supposed to be in quotes...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843139#3843139
Reply to the post :
http
Guys, I really appreciate your ideas. Some if these suggestions, combined with some I
got from Struts users, could lead me to something good. I will come back and post when
I've had a chance to try some things.
Thanks,
Erik
View the original post :
http://www.jboss.org/index.html?module=bb&op
Hi.
We are using JBoss 3.2.4 on Solaris 9 and Java 1.3.11.
This error with JMS occurs during Jboss startup (server.log) :
2004-07-23 16:51:49,028 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy,
ctxPath=/jbossmq-httpil, warUrl=file:/opt/jb
oss-3.2.4/server/default/deploy/jms/jbossmq-http
Numerous posts about this. Even a bug report regarding memory leaks, fixed in 3.2.4.
I have upgrade from 3.2.2 to 3.2.5 Using the same config as davidmboon. CMP1.1 EJBs
with commit option C. Jboss continues to report "Unable to passivate due to ctx
lock". I have found little help in the do
Heard anything about this? I have exactly the same problem. We just upgraded to JBoss
3.2.5 and still experience the same behavior.
Oddly, once we manually save the scheduler-service.xml file in the deploy directory
after the server has started up, it works fine.
View the original post :
http
Sorry, that should be (cut and paste problem):
NGDataSource
jdbc:mysql://localhost:3306/ng
org.gjt.mm.mysql.Driver
dbuser
abc123
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843131#3843131
Reply to the post :
http://www.jboss.o
I've configured the mysql-ds.xml and placed it in my deploy directory with the
database information.
NGDataSource
jdbc:mysql://localhost:3306/ng
org.gjt.mm.mysql.Driver
dbuser
abc123
The DS is bound in the namespace and I can look it up successfully from my bean.
I have Apache 2.0.40 and JBoss 3.2.6 RC1 installed, and they are running fine
separately. When I tried to integrate jboss-tomcat with Apache by using mod_jk2, I can
not start Apache HTTPD process and received the following error messages:
[EMAIL PROTECTED] root]# /usr/sbin/apachectl start
Syntax
Could you point me to some of this examples, please.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843126#3843126
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843126
If the rest of your application uses EJB or uses JMX, you should be able to pick out
the object name and do depends against it. At the very least, you can make your own
deployment orderer. (Refer to default/conf/jboss-service.xml)
View the original post :
http://www.jboss.org/index.html?modu
Those interfaces are only provided for use by the server implementation, i.e. JBoss.
They are not designed to be used by you. If you want to filter messages, use a
message selector. There are plenty of examples out there on receiving messages
without employing a MDB.
View the original post
Yes I have oracle jdbc drivers (ojdbc14_g.jar) in server/all/lib folder. If I use
thin driver everything is fine, but I want to use OCI drivers. I added path
($ORACLE_HOME/lib) where ocijdbc9.so file in LD_LIBRARY_PATH. I wanted to find out
what are configuration is required to get OCI driver
I know JBoss 3.2.3 didn't do a clean shutdown, but even still you should still have
messages. I would download JBoss 3.2.5 or later and compare DB configurations. It
sounds to me like you aren't using cached tables. (Check out the HSQL website.)
View the original post :
http://www.jboss.org
Oops! I forgot to paste my selects:
* @ejb.finder
* signature = "com.vd.sms.entities.UserLocal findByEmailAddress(java.lang.String
n0)"
* query = "SELECT OBJECT(t) FROM UserEJB AS t WHERE t.emailAddress = ?1"
* result-type-mapping = "Local"
* method-intf = "LocalHome"
*
* @ejb.find
During entity EJB deployment I am getting a bunch of error message like:
14:54:05,107 INFO [EARDeployer] Init J2EE application:
file:/C:/WebProjects/jboss-3.2.5/server/meetSerbs/deploy/meetSerbsEar.ear
14:54:15,042 WARN [DeploymentInfo] Only the root deployment can set the loader
repository, i
Hi!
Could someone tell me how can I provide message filtering in simple JMS client. I
don't need to create MDB.
For purposes of clearness I need to mention my problem more in detail.
I have session bean that performs operation such as creating, removing and updating of
entity beans, it sends JMS
There's a workflow in our application that, when the server is under no stress (single
user), completes successfully. Upon increasing the load, we get NullPointerExceptions
in the JDBCCMP1xFieldBridge.
We're running with version 3.2.3 (patched GlobalTxEntityMap because it was generating
an Exc
To all,
I'm using JBoss 3.2.4 and EJB 2.0. I have a EJBQL statement:
"select distinct object(usr) from DWMUsrAdminSchema as usr, in (usr.userComp) as uComp
where uComp.componentKey =?1 order by ?2 ". I read in another thread that JBoss
extends EJBQL so that "order by ?2" would be legal even tho
I'd have two beans, one for writing, and one for reading. Even if it's the same Java,
the descriptors will be different. Your code will need to look up ReadCMP when it
reads, and WriteCMP when it writes.
We use Oracle with replication, which is nice, but it isn't cheap. I'm not sure if
there's
As you can see, he already has the necessary Oracle Java classes in his classpath:
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:265)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843115#3843115
Reply to the post :
http://www.jboss.org/index.html
I haven't used OCI in a while, so this may be wrong, but if I remember correctly, you
need to add the directory that contains whatever.dll to your path.
I'm guessing you'll find a ocijdbc9.dll somewhere on your machine.
View the original post :
http://www.jboss.org/index.html?module=bb&op=view
Hey Guys,
I'm in the process of converting our system from BEA WebLogic 8.1 to JBoss 3.2.5.
All (almost) have BIGINT primary keys. DB2/400, the RDBMS that our system uses, does
not support an autoincrement field so our application has been handling it. In WLS we
used an internal PK gener
RMIServerFactorys above should be RMISocketFactory. Sorry for the typo.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843112#3843112
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843112
I have tried out SRP example "ex3" in chapter 8 of the Admin & Development guide
v3.2.3. This example shows how to performs authentication using SRP but the RMI data
is still transferred without encryption.
In order to add the encryption part I believe that I would have to create Custom
RMISer
We've worked out the major bugs and now the site is very stable and fasteven when
we hit 15,000 concurrent users :)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843110#3843110
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mod
I am currently trying the approach to Singleton MBeans for clustering suggested in the
JBoss Clustering article by Ivelin Ivanov at
http://www.onjava.com/pub/a/onjava/2003/08/20/jboss_clustering.html, however there is
not enough information in the article -- and I am still working on this approa
We don't have a jboss speicific login module for kerberos but they exist so that would
be the path to using kerberos with jboss.
SRP is preferred simply because it does not have the pki management headache. Any
kerberos integration would be similar to how SRP is done so its worth looking at from
I have been researching how to provide secure communication between a application
client using RMI and a JBoss server. I was able to get RMI over SSL to work but my
company would
prefer to use Kerberos. I have found little to no documentation on JBoss and
kerberos. Does JBoss support it? I
Have you put the JDBC driver in /server/default/lib? (Assuming that you are running
the default config)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843106#3843106
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=384310
Ok, wasn't very difficult question. In case anybody needs it, you do it by setting up
system properties.
System.setProperty("http.proxyHost", );
System.setProperty("http.proxyPort", );
After this is done, informa RSS library will be using that proxy to connect to the
internet.
View the origina
I have an MBean which set's up a durable subscription to a topic, when I redeploy the
MBean I get an exception with the message
anonymous wrote :
| org.jboss.mq.SpyJMSException: Cannot get a client ID; - nested throwable:
(javax.jms.JMSSecurityException: The login id has an assigned client id.
What pattern do you use for a basic HtmlBlock (designed with manageHTML module)
that would only contain some html page? I thought :: would be enough, but I
tried also blockname:: and even .*:.*:.* and .*:: without succeeding. Sorry if my
request is stupid but could someone help me please this perm
that works fine. Thanks a lot !
Sebastien.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843100#3843100
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843100
---
Th
Hi:
I am not able to configure datasource with Oracle OCI drivers in Jboss 3.2.5 server
running in Redhat Linux 9 environemnt. I installed Oracle client software and able to
use sqlplus to server. Also set LD_LIBRARY_PATH to
$ORACLE_HOME/rdbms/lib:$ORACLE_HOME/jdbc/lib
in jboss startup script
Hi,
My JBoss (3.2.2 + Tomcat) has multiple hostnames.
With the keytool (keytool -genkey -kestore keyStore) I created one key for my machine.
As cn I have to give the server name, lets say obelix (the machines name in the lan).
>From another network you can reach the same machine with obelix.mydoma
Edit the tomcat sar jbossweb-tomcat41.sar/META-INF/jboss-service.xml descriptor to
disable the use of the inheritted ear class loader by setting the UseJBossWebLoader
value to false:
|
| false
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopi
Yes, submit a bug with an example. SSO has no bearing on whether or not an ejb has
been deployed with a jboss.xml security-domain setting which is the source of the
IllegalStateException so an example is needed.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3
Hello,
when deploying 2 wars, it looks to me that the same classloaders are used. for
instance I have properties and xml files with the same name in both wars
WEB-INF/classes and once loaded per the first war to be deployed, the second war does
not deploy the "duplicates" in the other (although
Hi,
We recently started using Stateful Session EJBs in our app and noticed that every so
often our JBoss server stops responding and needs to be restarted. This happens rather
randomly, sometimes it takes a week until JBoss hangs, sometimes it takes a day.
By examining the logs, it seems that t
Hi,
On jboss-3.2.6RC1 with SSO (Single Sign On) enabled, we get this exception:
java.lang.IllegalStateException: No security context set
The deployed application:
app.ear
|context1.war [mapped to /]
|jsp1.jsp
|context2.war [mapped to /context2]
|jsp2.jsp
|be
What was the JAR file, I'm having the same problem.
Thanks,
Jacob
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843092#3843092
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843092
--
The connection gets closed after the loop finishes - when I'm running this test with a
single thread there's only ever one connection open.
The duration of the test is usually a minute - in which time it can send and receive
about 2000 messages. And each time it sends/receives a message over the
well, the problem is that it's a fairly large system and to wrap all the entity beans
in session beans would be a fairly large project.
i was hoping that there would be a way to do this that would not involve rewriting a
lot of code.
View the original post :
http://www.jboss.org/index.html?mod
Hi,
Have you got any recommendation how to keep references to EJB objects? I mean, if you
use many times some bean in many functions would NOT be better to create such objects
in ejbCreate() and ejbActivate() function, so all lookup failures might be handled by
container and such bean would NOT
No, the current security interface for the authentication contract does not throw an
exception on failure. It simply provides a true/false response to the question of
whether the user is authenticated. There should be an accessor for any exception
information so that it can be propagated back to
Ok, with JBoss 3.2.xyou should not be editing the classpath of the server to include
the interfaces to your beans.
In the past I have deployed session beans in one jar that use session beans in another
jar without problems (I haven't tried using entities in another jar but I am assuming
that th
I had a duplicated taglib but the one that was getting considerer was an very old
version of the tags... BAH!!!
Thanx for the time.
Daniel Campelo
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843083#3843083
Reply to the post :
http://www.jboss.org/index.
While executing session bean, jboss will need to the home/remote interface classes of
the entity beans. Now, if I am deploying the entity bean as a seperate jar file and
session bean as a seperate jar file, then while executing the session bean, would
jboss take the home/remote interface classes
i also get this exeption because of the second query:
13:33:33,658 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl [Format
Id=257, GlobalId=IVOHMEJ//68, BranchQual=] timed out. status=STATUS_ACTIVE
13:33:33,674 ERROR [BeanLock] Thread[RMI TCP Connection(30)-172.20.15.13,5,RMI R
untime]
thanks a lot. you mean i should test JDBC with a simple query on clientside with JDBC
driver for mysql(in my case)?
some more information:
if i exit before i commit() the usertransaction and make a second query after
restarting the client, i get this WARN after a while:
13:26:39,815 WARN [Abst
Alexey,
Thanks again for taking time out. It makes more sense to me now.
I used the finder and the performance improved relatively. 730 records in 12 seconds.
I have not used Lazy-resultset-loading yet.
However sorry to pester you with couple of yet again follow up questions:
1. Do u know the
Hi there,
Is it possible to specify a datasource with different nodes for updates and queries?
I have access to a MySQL cluster with one write master and several read slaves.
All write accesses have to go to the write master. Hence, with my current
deployment, all read accesses also have to go to
Hi Mandarm
Did you ever solve this as I'm having a similar problem. We do a remove after each
call but never see the remove count increment.
Any ideas?
cheers
Neil
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843077#3843077
Reply to the post :
http:
I'm trying to get an MBean to run once all other parts of our application has been
deployed. No matter what service I try to make it depend on, I still get Incomplete
Deployment exceptions. Is there an easy service to depend on to notify JBoss when it
is OK to deploy this?
View the original pos
Hi,
we are using jboss3.2.2 and we want migrate to jboss3.2.4.
But the code that run perfect in jboss3.2.2 not run in 3.2.4.
The problem is when from jsp or servlet I try to call a method from
a ejb; then throw:
avax.ejb.EJBException: Invalid invocation, check your deployment packaging,
method=
What is the problem in having the home/remote interfaces in the classpath this way? -
Why are you doing this?
You do not need to do it at all, the server can get access to the classes when you
deploy the jar file.
Have you seen this approach recomended anywhere?
So the answer to yopost is use
The error seems to occur when more than 20 clients access the server.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843073#3843073
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843073
---
And it works as expected. Thank you, Alexey!
3.2.5 seems very useable to me currently. Good job.
Volker
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843072#3843072
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38430
My first idea would be to wrap all entity bean access behind session beans.
The session bean could then put a message on a JMS Queue to say a change has occured.
A message driven bean could then execute your synchronisation logic when it receives
the message.
View the original post :
http://ww
hai thanks,
But can u please guide me to start this work. .and it that the only way to get this
work done..
Senthil Kumar M Rangaswamy
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843070#3843070
Reply to the post :
http://www.jboss.org/index.html?modul
Just been searching for the bug I referred to earlier
http://sourceforge.net/tracker/index.php?func=detail&aid=988143&group_id=22866&atid=376685
The reported bug is slightly different to your problem but it is similar.
The bug aparently has a fix in JBoss 3.2.6RC1
View the original post :
http
How many clients do you have?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843068#3843068
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843068
---
This SF.Net e
It does the same whit jdk 1.4.
What is strange is that no error occurs during passivation but when the client
wants to access to the ejb again, ejbActivate is never called and the following error
occur in jboss :
11:16:04,187 ERROR [LogInterceptor] RuntimeException:
java.lang.NullPointerExceptio
Hi!
There is a way to "refresh" a web application inside an ear? I try to put the web app
files in the right tmp/xxx.ear/yyy.war directory but only jsp are refreshed!
There is a way to update servlet, class, properties files in a running web app (some
kind of "reloadable=true")?
Thanks for any h
Problem: many clients to try lookup a session bean concurrently. If the client count
reaches a certain number, the lookup fails with:
[java] javax.naming.CommunicationException: Receive timed out [Root exception is
java.net.SocketTimeoutException: Receive timed out]
[java] at org.jnp.inter
As is usual in these things, I found the answer within minutes of posting the
question. In order to assist others in the same situation, add this to the
application.xml:
|
| name_of.wsr
|
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=384306
Hi all,
I have a simple web service that I wish to deploy as part of my enterprise
application. However, the .wsr file (which only contains the web-services.xml and a
single class file) deploys fine on its own, but will not deploy as part of an ear file.
The ear file contains:
application.xml
Hello,
I am facing a strange problem while deploying my application on jboss 3.2.3. I have
around 10 CMP entity beans and around 4 stateless session beans. Session beans are
internally calling entity beans. So, to deploy the session bean, I will need classes
of the home and remote interfaces of
I'm using jboss 3.2.5 whith jdk 1.3.1 and when i see in tmp directory, the .ser file
exists.
I tried to serialize and deserialize my EJB manually (using JBOSS function) and java
won't deserialize my EJB , do you think it could be a bug in jdk1.3.1?
Thank you
View the original post :
http://www
76 matches
Mail list logo