Scot is right and the patch I used following the link in the forum
"anouncements" works.
D.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882318#3882318
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882318
---
I use XDoclet to generate those relevant DD for the entity beans. Have a look
at http://xdoclet.sourceforge.net/xdoclet/index.html
Look at @ejb and @jboss tag if you're using JBoss as the app server.
Sample usage will be (at the bean implementation class):
Not all tags needed is in this sample
Hello to everyone:
I'm in doubt and I'm not sure if this is the correct forum to ask, but here you
are:
I've made a web application with struts and hibernate which don't use EJBs and
I would like to know if using JBoss as web server it could tolerate a couple of
thousands of connections at the
I recently downloaded JBoss 4.0.2, installed and built it, and am attempting
to run the tests. Any hints/clues on the clustering tests ? I get
68 tests, 2 errors, 26 failures. A lot of the failures are like the
following : does the fact that the test name includes
${jboss-junit-configuration}
Thank you, darranl, for pointing that out. It does solved the "no valid
constructor" problem.
Thanks again for the help.
Regards,
bb
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882308#3882308
Reply to the post :
http://www.jboss.org/index.html?module=
I looked into source code and looks like array datatypes are not parsed
correctly (int[] interpreted like int and later check for expression parameters
doesn't like to have primitive and none primitive types mixed together or
something like this)
Anyway, in case somebody would have similar prob
i look the document of jboss...
i find jboss 4.x support clustering jms
but i don't know how to deploy it.
and have not book introduce this technique...
so.. :(
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882305#3882305
Reply to the post :
yes...clustering JMS
i look the document of jboss...
i find jboss 4.x support clustering jms
but i don't know how to deploy it.
and have not book introduce this technique...
so.. :(
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882304#3882304
Hi guys, I am here again, and I have another "simple"question (I swear that I
won't do these kind of question as soon as...:-)
Well, I am developing a simple entity bean, but I don't know how to bind my
resource database(setted on the ejb-jar.xml file) with a jar driver file and
the postgresql
I hope this is the correct forum.
I am having a problem with JBoss 401/Tomcat 5.0.x and OpenLDAP 2.2 JNDIRealm
and the LDAP DIT.
It authenticates fine but does not seem to find any roles. I am guessing I
have either the JNDIRealm
setup incorrectly to get the roles or I have my LDAP People/Roles
I hope this is the correct forum for my problem.
I am having a problem with JBoss 401/Tomcat 5.0.x and OpenLDAP 2.2 JNDIRealm
and the LDAP DIT.
It authenticates fine but does not seem to find any roles. I am guessing I
have either the JNDIRealm
setup incorrectly to get the roles or I have my LD
Can you share with me the answer to your problem? I have been wrapped around
the axle on this for a day or so. I can get my Mbean service to read my
resource file when I place it in JBOSS_HOME or in the root drive of JBoss, but
I can't seem to be able to reference the version of the resource fil
I am pretty certain I am right, inner classes initialize their pointer to the
outer field before calling their own super. EG:
| abstract class Base {
| Base() {
| System.out.println( getField() );
| }
|
| abstract int getField();
| }
|
The constructor calls t
Folks,
Am in a position where our jms client (when instantiating the message broker)
NEEDS to connect to one host (where the JBOSS mq queue is listening) and if
that does not respond try and connect to another host where a similar JBOSS mq
queue is listening.
Here is our properties file:
jav
I want to make a regular SQL call, say a select or insert, but I would like the
JBoss server to manage the connection, so I don't have to keep a connections
pool.
I'm not using Entity beans, unly session beans.
Any ideas?
View the original post :
http://www.jboss.org/index.html?module=bb&op=v
Dumbledore is indicating that the patch did work via the forum reference. If
you have another example, create a bug report with a testcase:
http://jira.jboss.com/jira/browse/JBAS
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882291#3882291
Reply to the pos
One possibility to communicate with the MDB Thread would be havinga flag
(in Database, static field, file ...). The Thread on each iteration would check
this flag and interrupt itself if set to false.
Cheers,
Szymon Smyka
View the original post :
http://www.jboss.org/index.html?module=bb&
When application is deployed in JBoss 4.0.2, I get this error:
invalid console appender config detected, console stream is looping
I haven't seen any solution for this problem. any help is appreciated
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882289#388
Hi,
I have downloaded jboss-4.0.2.zip and installed at D:\jboss-4.0.2. When i tried
to run the server using run.bat I am getting following error
The filename, directory name, or volume label syntax is incorrect.
Can anyone help in that?
Thanks
View the original post :
http://www.jboss.or
I reviewed the clustering docs, Wiki and forum, but did not find an answer
spelled out like I would like to see it.
What downtime is incurred when deploying an application to a high availability
cluster? Would a user coming into the application find himself/herself with a
50-50 chance of hitt
The problem is that the application running on JBoss 3.2.7 can not access
Remote EJB's deployed on JBoss 3.2.2/3 servers.
Could this problem be due to a configuration conflict?
Running a JNDI browser on each server turned up some discrepancies.
These entries appear in the 3.2.2/3 server, and ar
We're using JBoss 4.0.1 in a Windows 2003 environment and have a slow leak.
JBoss is installed as a service. Using the -Xloggc switch when installing the
service, we get garbage collection logs. In the course of 3-5 days, the logs
show memory can no longer be collected and maxes out at the 1gb
Hi all,
yes I have several versions of j2sdk installed, but JBoss uses the Sun SDK as
reported by log/boot.log
I'll keep investigating and I'll try different versions of the JVM.
I would try to check also if JBoss is stuck with a system call (maybe a
socket?). How can I see what is JBoss waiting
Sine there seems no reply to this thread a different approach might help.
Is there any tool available that can be used to validate the META files for
correct syntax? I've used XDoclet to generate them, but experience has tought
that there might be a couple of problems in there.
Such a tool coul
JBoss 3.2.6, default setting in standardjbosscmp-jdbc.xml, commit option A used.
I observed strange selects for two applications. There is relation A -> many B
(unidirectional).
a.getBs() gives select:
SELECT LOID FROM B WHERE (A_FK=?)
and now every entity B is access by fields, it gives:
SELECT
anonymous wrote : Note: this setting of a field before calling super is similar
to how instance inner (nested) classes work, they set the field that points to
their outer class before calling their own super constructor.
I don't think so... Setting the field that points to the outer class
should
Hi!
I would like to know wheter nodeVisited is called before the lock is acuqired
or after. I want to implement a simple deadlock detection warning and it would
be nice to have both before and after visit notifications.
Ranga
View the original post :
http://www.jboss.org/index.html?module=bb&
You might want to take a look at this paper:
www.cassar.id.au/hibernate-j2ee/
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882270#3882270
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882270
Fixed, the correct is DatabaseCertLoginModule instead of BaseCertLoginModule +
DatabaseServerLoginModule...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882252#3882252
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38
Thanks Scott for the pointer to the Valve Wiki. This will likely work as well.
I have also implemented a different solution that basically temporarily
stores a user's "login messages" (password expiration warnings, locked
accounts, etc.) collected in the extended LoginModule and subsequently
Hi
I've got a serious problem deploying an application to JBoss 4.0.2. The
application ran fine on JBoss 3.2.6.
Without the application deployed, JBoss 4.0.2 runs fine, with MySQL. With my
application library JAR files in server/default/lib, startup always fails. The
following is a snippet
Thanks. But is this also compatible to 3.2.x ?
(Unfortunately the download for 3.2.x contains only the pdf file)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882260#3882260
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&
The problem I am experiencing is related to the fact that the name of the
deployed MDB (the MBean name wrapping it) seemed to have changed from something
like:
jboss.j2ee:binding=message-driven-bean,jndiName=local/ExampleMDB,plugin=invoker,service=EJB
in 3.2.6 to something like:
jboss.j2ee:bin
Hi,
I am using jakarta-tomcat-4.1.30 and Java(TM) 2 SDK, Standard Edition Version
1.4.2. Tomcat run on a Red Hat Linux 7.2. I have a servlet, Servlet A, that
rename a file from /tmp/someFile to /someDirectory. The Servlet A ran fine when
it ran by itself in a server box. However, It false to re
I tried to use DatabaseCertLoginModule with AnyCertVerifier option and i still
need to use a truststore in jbossweb server.xml, this is correct? If yes i
still need to import the client certificates in truststore and this is a
problem to me since i create the users dynamically...
View the origi
Post Subject : Tutorial on J2EE using JBOSS-4.x, Eclipse-3.x, Lomboz-3.x and
PostgreSQL-8.x on Windows XP
Ref. 1 : Tutorial for building J2EE Applications using JBOSS and ECLIPSE
http://www.tusc.com.au/tutorial/html/chap7.html (Chapter 7 : Message
Driven Bean, Exercise)
Ref. 2 : Tutor
Fixed, the correct is DatabaseCertLoginModule instead of BaseCertLoginModule +
DatabaseServerLoginModule...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882253#3882253
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38
"nothingman" wrote : "rpa_rio" wrote : Have you followed the topics: "2 -
Client authentication" and "2 - Client authentication with self-signed server
cert" to make work as you need?
| |
| Yes but I really cannot have the client certificate on the server. We
already have a repository wi
I followed the JBOSS example and implemented my own resource adapter that
provides inbound and outbound connection. The problem is: when i restart the
JBOSS it failed to deploy the resource adapter.But after the JBOSS is started,
i deploy the resource adapter again and it works fine.
Has anybo
Thanks for that Thomas.
I couldn?t find the Ant target you gave me in the binary JBoss distribution so
figured it was in the source.
I download the source, built it from JBOSS_HOME/build then ran the Ant target
you gave me in JBOSS_HOME/testsuite
I found I had to add the following line into th
We also have this problem.
We have followed the UsingJBossBehindAFirewall configuration.
All working successfully.
Are there any ideas on configuring an internal network connection to JBoss,
which does not interfer with the external connectivity which is currently in
place.
All help would be mu
Hi there,
After I upgraded to JBoss Cache 1.2.3, I get this error message several times a
second:
| 06/21/05,16:06:11:jgroups-ERROR-UDP: exception in processing incoming
packetjava.net.UnknownHostException: addr is of illegal length
| at java.net.InetAddress.getByAddress(Unknown Source
Use the *same* version of JGroups in the same cluster. Otherwise, separate
clusters by changing IP mulitcast address and/or port
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882265#3882265
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=po
What does your configuration file look like in order to use the JTA with hib3
in Jboss4 with JNDI? We can't get our's figured right.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882283#3882283
Reply to the post :
http://www.jboss.org/index.html?module=bb&
You have to use the same version of JGroups *and* JBossCache. Anything else is
untested and (as of now), unrecommended.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882276#3882276
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mo
Hey!
I am real new to EJBs & JBoss, as in I started learning about them 5
hours ago. Well I downlaod JBoss and have it running no problem. Went to this
site: http://stardeveloper.com/articles/display.html?article=2001112801&page=1
and tried out their example. It was just creating a Sessio
"[EMAIL PROTECTED]" wrote : Use the *same* version of JGroups in the same
cluster. Otherwise, separate clusters by changing IP mulitcast address and/or
port
We *are* all using the same version. The trouble started when we upgraded to
JGroups 2.2.8 and I upgraded to Jboss Cache 1.2.3
View the o
Anyone? Any example similar would work as well!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882267#3882267
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882267
Did you ever get this issue fixed? I am having the same trouble. I have also
installed the patch that was put out to fix the error supposedly but it still
does not work.
Here is the patch link in case you haven?t tried it.
http://prdownloads.sourceforge.net/jboss/jbas-1875-patch.zip?download
Thank you for your help.
Having a reference in the hosts file solved the delay problem.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882273#3882273
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882273
The class that requires the default constructor is the 'StatefulSessAbs' class.
The constructor only needs to be visible to the 'StatefulSessPojo' class.
However as 'StatefulSessAbs' is not declared as being Serializable the data
referenced by that class will not be serialized and restored. Th
Thank you antimoine67 for the reference. Now it functions!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882241#3882241
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882241
--
while deplying ear i get following exceptions
1)(javax.naming.NamingException: resource-ref: mail/Session has no valid JNDI
binding. Check
the jboss-web/resource-ref.)
2)org.apache.jasper.JasperException: The absolute uri:
http://java.sun.com/jsp/jstl/xml cannot
be resolved in either web.xml
Does anybody know if my problem relates to section 17.6.5 (Handling of Methods
that Run with ?an unspecified transaction context?) of the EJB 2.1
specification?
What transaction attribute should I be using for session bean methods that
require database access but will not modify any data, i.e.
I posted the POJO class for your reference as well, just in case.
public class StatefulSessPojo extends StatefulSessAbs implements Serializable {
public transient Logger log = Logger.getLogger(getClass().getName());
public int siteId;
public StatefulSessPojo() {
Thanks for the response and I started looking at Spring but have not downloaded
it yet. We do have JTA configured in our hibernate-service.xml and Jboss does
support it so I believe I can go that route and not add another layer (Spring)?
Our debug says we are getting a JTA transaction but we c
Hi darranl,
I'm sure I did not made the fields transient. Only the Log4J Logger object
which is not Serializable that I made it transient. The rest is just normal
instance variable declarations.
I found something strange during activation process. JBoss throws exception
saying my POJO class do
Hi
im using jboss3.2.5 and dailyRollingFileAppender
For some reason (and its really not consistent) sometimes jboss stops writing
to the log files its not frequent but when it happens i must restart jboss such
that it will continue writing...
anyone knows why or what can i do about it?
View t
If you have a look at the application server guide it describes the
configuration of the various pools.
You can configure a pool in the jboss.xml deployment descriptor so your changes
are specific to a single bean definition.
The maximum pool size just specifies the maximum number of beans to p
I had the same problem with JBoss 3.2.3 running under Java 1.4.2.
In the ejb-jar were some classes compiled with JDK 1.5.
Compiling all with JDK 1.4.2 fixed the problem.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882232#3882232
Reply to the post :
http:/
Hello Thomas,
please correct me if I am wrong, but I am using the JAX-RPC Dynamic
Proxies API and not DII?! At least Monson-Haefel is referring to it that way
(J2EE Web Services). After all I want to stress the fact of web service
interoperability. My final thesis is about a SOA in a Java surro
Hi there
Check out the "jbossweb-tomcat50.sar" folder in the deploy folder of your JBoss
server.
In there you will find a "server.xml" file.
Open it and comment out the entry regarding the Coyote connectors one for 8080
and one for 8443 (SSL).
Regards
Henrik
View the original post :
http://w
Is there another way to acess user profile and to get users role?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882229#3882229
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882229
--
I've found topic http://www.jboss.com/index.html?module=bb&op=viewtopic&t=61109
anonymous wrote : No, isUserInRole is JSR168 compliant,if it returns always
false, it could be a bug, we are not using that feature, we will look at it.
anonymous wrote : it is a big in the tomcat/jboss integration
Hi,
I've tested it with an int-Array, too. And I have to use a IntArray-JavaBean.
With that it works.
| public class IntArray {
| private int[] intArray;
|
| public int[] getIntArray() {
| return intArray;
| }
|
| public void setIntArray(int
hmm i still dont get it, how can i make the following to work?
anonymous wrote :
| Class-Path: ./lib/my_common.jar
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882226#3882226
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=postin
66 matches
Mail list logo