Show the code that calls updateArea method. updateArea will fail with rollback
exception, not that you will be able to catch it inside updateArea.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841036#3841036
Reply to the post :
http://www.jboss.org/index.ht
java.util.Date types are read with
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.JAVA_UTIL_DATE_READER.
Have a look at it.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841034#3841034
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=r
Relationships work only for CMP.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841035#3841035
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841035
---
This SF.Net
Following this up...I've got the issue confused !!!
To clarify, I'm looking at load balancing by deploying an MDB on 2 nodes in a cluster
with the master node running HAJMS. What i want is for each of msgA, msgB, msgC, etc.
posted on a topic to be handled once and only once by either the MDB on
please help me,
i have deployed a stateless session bean with the jndi name HelloHome in the
jboss3.2.2 .server is showing that bean has been deployed but when we run the client
followinf error occurs---
D:\SKTEJB>java -classpath c:\jboss\client;d:\sktejb;d:\sktejb;c:\jboss\client\jb
I already tried it and it did not work.
The workaround in 3.2.4 avoids a so called race condition in concurrent.jar by
introducing a MinPoolSize for the message driven container.
By the way, I don't think the singelton solution scales very well with one node
handling all jms connections. I wou
anonymous wrote : Here's some background, in the hopes that it'll help the discussion.
The U.S. Army has a centralized user database called AKO, published as an LDAP
directory. We allow anyone with an AKO account to access our application. But we can't
rely on this alone -- we will have many non
I am new to clustering. Can anyone guide me how to do clustering in JBoss.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841029#3841029
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841029
-
Putting my resources in a completely new JAR file and dropping it in the deploy
directory seemed to make it work...
Now can anyone tell me why the class loader has been done this way... so you can't get
to resources in the WARs own file or in JARs within the WAR lib directory?
Seems fairly
Hi, every one
I use jboss 3.2.3 on linux( redhat 9.0 and mandrake 10.0, j2sdk1.4.2_4)But there is a
problem. When I want to use database, I use "service=Hypersonic", I can not get the
"HSQL database management" windows, except I start jboss in current account wiht
root(it means that I login in
Hi,
I have been put my EJB under JAAS protection and remote call by a disturbed standalone
client. My ejb-jar.xml is as following
MyBeanSLSB
MyBeanHome
MyBeanRemote
MyBean
Stateless
Container
ADMINISTRATOR
ADMINISTRATOR
MyBeanSLSB
*
Here are the startup values:
JBoss Bootstrap Environment
JBOSS_HOME: C:\cygwin\usr\local\jboss-4.0.0DR4
JAVA: /cygdrive/c/PROGRA~1/java/j2sdk1.5.0/bin/java
JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh
CLASSPATH:
C:\cygwin\usr\local\jboss-4.0.0DR4\bin\run.jar;c:\PROGRA~1
Alexey-
It worked! Thanks so much.
-Dan
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841019#3841019
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841019
---
Th
Hi
I wrote a simple one line hello world bean and deployed the jar file (all HOME,
REMOTE,, BEAN, XNL files etc are in the jar and was verified).
The bean simpy returns one line of text saying helloworld.
I wrote a simple java client and built it. Now I am trying to run it but it fails with
the
Hi guys...
We just created a module named jboss-profiler.
For now, everything needs to be downloaded using CVS, as we don't have a package for
downloading yet... but at least is a good start!
It's very useful for performance tuning in applications...
Clebert Suconic
View the original post :
Next tried moving tools.jar to server/default/deploy/jbossweb-tomcat50.sar and
restarting. This didn't work either.
Ok, anyone have an idea what is happening here? It's like the compiler is not getting
on the classpath no matter where I put tools.jar.
View the original post :
http://www.jbos
Last night I somehow found jboss-3.2.1_nukes-1.0.0alpha and downloaded it. This is
supposed to be the self-contained version of nukes.
Today I'm looking for installation instructions for this .zip. Unfortunately I haven't
been able to find that, nor can I locate where I downloaded this.
Anyone
I tried copying tools.jar to server/default/lib and then server/all/lib. Neither of
these worked. Still getting same error.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841012#3841012
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posti
I downloaded jboss-4.0.0DR4 to my Cygwin 1.5.9 (running on Windows XP Pro). I
previously had installed J2SE 1.5.0beta. When I run the run.sh script the server
starts fine but when I access the jmx console with http://localhost:8080/jmx-console I
get this error:
Hi there,
I am currently deploying my exploded ear archive outside jboss using the
jboss-service.xml file in the default/conf directory to point to that outside
directory location using this:
deploy/,/downloads/deploy/myEAR.ear/
in my exploded directory myapp.ear/, th
I used the datasource in a web container as below. No EJB, JMS, or concurrency is
involved. In oracle-xa-ds.xml, the track-connection-by-tx is true. JBoss is 3.2.3
1. get the UserTransaction
UserTransaction ut=...(from JNDI).
ut.begin();
2. get Connection
Connection con=... (from JNDI).
SOAP has no standard support for any collection apart from arrays.
As prevoius posters have said breaking the SOAP compatibility is generally a bad idea
(surely compatibility, not hype, is the reason you are using WS)
The varying set serialisation is a bit of a worry, but understandable since (
Hi,
I'm using jboss3.2.3 and I have run into a error I haven't solved yet and I did not
find any useful help at this forum or the web.
The error occurres if a client (JSP Webapplication) has been idle for some time and
starts working again. The passivated Session Bean has been deleted by that ti
anonymous wrote : If an activity is only associated with one job surely activity_id 1
cannot be associated with job_id's 1, 2 & 3?
which is why I made the 2 fields the primary key. The activity(1) related to job(1) is
different to the activity(1) related to job(2)
View the original post :
htt
Hi
I am using JBOSS 3.2.3 and MYSQL 4.0.17
An EJB has a Date attribute. The client uses the java.util.Date class along with the
SimpleDateFormat class. The bean maps the attribute to a MYSQL datetime field.
The parse string used by the client is MM-dd-. Or stated differently time doe not
m
Hello,
when I try to lookup the /HAPartition/DefaultPartition object in HA-JNDI I get a null
object as result. There are no error messages during startup of server. I inspected
the JNDI tree with JNDIExplorer and the object seems to be there. What am I doing
wrong?
Here is the code:
public cl
I found the problem
In the file /etc/hosts where Jboss is installed I have only one entry point to
127.0.0.1 (lo) interface, so I add 211.3.40.48 pointing to develop01 and it start
running fine. I don't know why but jboss use this file.
View the original post :
http://www.jboss.org/index.html
Hi,
JBOSS 2.3.2 (integrated tomcat). By server restarts I mean, as if you ran the
shutdown.sh script and the start.sh script. I am tailing the logs on putty and when I
try and download a large file I can see that after a while the server shutsdown and
then restarts. I am guessing that there is
Hi
I am following the wiki:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQHA
Have successfully:
1. Setup 2 node cluster, with HA MQ on master node
2. Got JMS authentication/authorization using database
3. Deployed JMS producer/consumer on master node (with JMS persistence to database)
Problem i
Hi,
changing DestinationManager from HSQLDB to Oracle the following error occurs on
startup of jboss several times (jboss 3.2.5 on SunOS 5.8). The identical configuration
running on Windows 2000 runs without error:
2004-07-05 20:34:59,926 ERROR
[org.jboss.resource.connectionmanager.TxConnecti
The 3.2.5 release is available here:
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=248758
Change notes are available here:
http://sourceforge.net/docman/display_doc.php?docid=23676&group_id=22866
View the original post :
http://www.jboss.org/index.html?
Hello everyone,
I'm new to jboss world. I need to integrate jboss with apache webserver.
My question here is - does jboss (mod_jk2) work well with Apache 1.3.17.
Because, after configuring apache and jboss when I access the application thru
internet explorer- I'm getting internal server.
The apa
Hi all
Is there a complete and consistent tutorial on the web that shows how to authenticate
to an LDAP server from a java client (application, not applet/servlet)? I would also
be most grateful for samples and code snippets for login-config.xml, auth.conf and the
necessary client-side code.
I
The security layer accepts a Principal and Object. The Object can contain any security
context your login module can handle. For comparison against the cache state, the
credential needs to support a java.lang.Comparable or equals(Object).
View the original post :
http://www.jboss.org/index.html
Hi,
I'm using JBOSS 3.2.3 with Oracle 8i. I've two EJB User and Country, User is a BMP and
Country a CMP. When I try to deploy I've this error:
"Entity: User not found for relation : User Country.
Code:
| /**
| * @ejb.bean
| * name="User"
| * type="BMP"
|
Write your own SecurityInterceptor and put it in the invoker stack.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840990#3840990
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840990
I have no problems with this. What do your server side logs say? It looks like ssl is
not enabled on the server..
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840989#3840989
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=re
same here
can't anyone help please
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840988#3840988
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840988
---
This SF.N
Im totally with you on this one and im trying to work out exactly where the problem
is. Is it JBoss specific or is it a limitation in the J2EE specification.
Now JAAS is great total PAM based methodology allows any form of credential and
authentication credential type three phase... mutual..
"[EMAIL PROTECTED]" wrote : If you don't want the use the embedded NameCallback,
PasswordCallback of the ClientLoginModule you chain it with an login module that
provides the correct Principal and credentidal. You then specify the
password-stacking="useFirstPass" option to indicate that the cred
Hi,
I'm using jboss3.2.4+tomcat50
I need to call ejb using RMI over HTTPS. I first enabled ssl on tomcat. While RMI over
HTTP works perfectly, when I change the client initial connection to https I
consistently receive this error:
java.io.IOException
at
sun.net.www.protocol.http.HttpUR
I did search the forums for several hours. The release notes would only help if I
knew what this problem was called. I'll take your advice and read through them.
In the future you may want to think about the image you give to the open source
community with responses like this. I work for a mu
"cooper" wrote : Having a better CSS support is definitely a need. First let's have
that in a theme, then we can work on modules.
I created a theme using CSS that is a pretty good copy of the imagic theme, but using
CSS rather than tables. I thought it was complete across popular browsers until
I am not completely sure, if the web page protection kicks in before servlet filters
are processed.
If this is the case, why not write a filter that checks if the (authenticated) user is
from the allowed address. If so, proceed, else kick him out again.
View the original post :
http://www.jbos
in that case I will have to drop JAAS as the security for my application, or write my
own servlet that handles the jaas logins, from there i can get the ip address from the
HTTPServletRequest.
thanks anyway.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=384
Could someone help me about what will be the best linux distribution and version to
use for JBoss v3.2.5 in term of overall performance.
Is there any place where this kind of consideration were discussed or where i could
find some systems compared?
In fact, i'm searching for linux but the questio
Include the same ClientLoginModule that you did on the server side that you used on
the client side in the ejb_app1 configuration.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840978#3840978
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=
Show the org.jboss.security category log output.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840977#3840977
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840977
I'm trying to use a temporary queue under 3.2.5. I create the queue as per the book,
then I try and destroy the queue with these fragments:
ObjectName objn = new ObjectName("jboss.mq:service=DestinationManager");
server.invoke(objn, "destroyQueue", new Object[]{"testsuite-" + name}, new
I want configure jboss (3.2.2) with minimal set of service: only ejbdeployer and
ability of database use (in future).
So, I copy to test directory (under server dir) all from minimal dir (test/lib/
directory hold all jars from default/lib) and modify jboss-service.xml and now it
looks like:
J
run-as only sets the role for the caller. The caller still needs to be authenticated.
If you want to allow anonymous callers you need to specify the unauthenticatedIdentity
to pass the authentication step:
|
|
|
| guest
|
|
I want configure jboss (3.2.2) with minimal set of service: only ejbdeployer
and
ability of database use (in future).
So, I copy to test directory (under server dir) all from minimal dir (test/lib/
directory hold all jars from default/lib) and modify jboss-service.xml and now it
looks l
Transport it too far removed from the authentication process to allow this to occur
within the jaas login module. You would need to integrate with the transport layer to
enforce this restriction.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840972#3840972
If you don't want the use the embedded NameCallback, PasswordCallback of the
ClientLoginModule you chain it with an login module that provides the correct
Principal and credentidal. You then specify the password-stacking="useFirstPass"
option to indicate that the credentials to pass come from th
Hi
We are looking for the cause of the problem described above and we could narrow the
failure as follows:
Everytime if we read the message out of the queue the attribute messageblob will set
to NULL in the database. This function is implemented within an EJB with a container
managed transact
It is still not working with the RequiresNew...
Here's the relevant code (for another bean called Area instead of country):
updateArea method on a session bean:
/**
| *
| * @param value
| *
| * @ejb.interface-method
| * view-type = "both"
Hi,
Apparently, the problem is not a failure of the role permission verification, but a
problem of a null user authentication. I mean, I set the run-as role in my web.xml,
but since I didn't defined any authentication in my web application, the principal was
always null.
I imagine the workflow
Hello, as of a few weeks ago I was consistently building the 3.2 branch from the
source, but now am getting lots of errors.
The first attempt at a build, I get JMXDocletTask not found. Incidentally, this is the
same error I used to get when I tried to build the 4.0 jboss-all tree.
So I did cop
I'm running Jboss 3.2.4 under a RH 7.3 box.
I've deployed a session bean.
When I run the client code bellow, from the same box I've my Jboss Installed it runs
well, but when I run it from another computer (windows) in the same network, it fails
in the lookup line and Throws the following excepti
Hi Olaf,
Dunno if you've solved your problem or not, but I was faced with a similar problem as
I too am using Hibernate for my project. Rather than rearchitect the whole thing, I
ended up refactoring my domain object so they each had an interface that could work
better in a web service envirome
A bit of info...
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=51311
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840963#3840963
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840963
I can find the DataSource on the java namespace...
anonymous wrote :
| JMX MBean Operation Result
|
| .
| .
| .
|
|
| java: Namespace
| +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
| +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperData
Sorry, the applcation.xml looks like this:
|
| http://java.sun.com/dtd/application_1_3.dtd";>
|
| ConQuest
| Juwi|MacMillan Group GmbH - ConQuest
|
| juwimm-cms-ejb.jar
|
|
juwimm-axis.war/axisjuwimm-admin.war/adminconfig.war/config
|
Hai,
with the new JBoss 3.2.4 I've still problems to get it working because of the
overwritten JDom API.
I've recently tried to add a loader repository around my ear, which contains libs as
well.
My jboss-app.xml looks like this:
de.juwimm:loader=custom
The ap
Sorry, i forgot to tell this.
when i changed the order of server ,
i.e.
| props.put(Context.PROVIDER_URL,"10.40.90.164:1100,10.40.59.8:1100");
|
changed to
| props.put(Context.PROVIDER_URL,"10.40.59.8:1100,10.40.90.164:1100");
|
i found the result of client invocation changed to:the
It's a bug in XDoclet. Look at the generated descriptor.
|
|findAll
|
|
|
|
|
|
|
Anyway, it now in 3.2.6rc1 throws DeploymentException with appr
The same problem for me too, but when I compiled the snapshot, and ran the installer,
the tables missing were created. It seems like the tablename is wrong. When the
outputerror refers to nukes.file_stat, the table created is nukes_file_stat.
When is final released?
View the original post :
ht
You need to use scoped classloader repository. It can be configured in jboss-app.xml
for EARs, jboss-web.xml for WARs, jboss.xml for EJBs and jboss-service.xml for SARs.
Have a look at their DTDs.
An example of loader repository
jboss.test.classloader:loader=concurrentloader.ear
Probably, for W
Fixed. Thanks.
Index: EJBQLToSQL92Compiler.java
| ===
| RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/EJBQLToSQL92Compiler.java,v
| retrieving revision 1.6.2.8
| diff -r1.6.2.8 EJBQLToSQL92Compiler.ja
As part of the "all docs" subscription, there is a huuuge document dedicated to
logging. I've never read it though, so I don't know if it answers your question.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840946#3840946
Reply to the post :
http://www.jbos
Download the getting started guide from the link below and follow it through.
http://www.jboss.org/docs/index
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840959#3840959
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&
O i can't believe it! It's a stupid error!
I have:
|
| java:/mySqlDS
| mySQL
| foreign-key
| false
| false
|
|
and my datasource is MySqlDS.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewto
that`s it
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=20893
HEY JBOSS GROUP.., this posting is 2 years old Have you find any better
solution?
best regards
Gerinjo
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840954#3840954
Reply
Can you describe what you mean by 'the jboss server frequently restarts'.
Also are you getting any errors or stack traces in the logs?
Which JBoss version and which servlet container are you using?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840952#3840952
MDB's are designed for asynchronous + decoupled + parallel message processing !!!
If your special use case does not fit into this scenario DO NOT abuse MDB's for
something they are not designed for ! Even for a singleton MDB there is no guarantee
for ordered (re-)delivery of messages and - eve
I have an application which allows users to upload and download files from a remote
fileserver. I use enterprise ftp (open source code) to ftp the file from the
fileserver to a byte array and then open up an OutputSream and pass in the byt array.
The problem is that for large files of about 5mb
Anyone? Adrian?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840950#3840950
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840950
---
This SF.Net email sponsored b
Hi all!
I've got such a problem: I want to put by beans into different jars, but I have a
relationship between them. Is there any way to do relationship between beans in
diffent jars?
And one more thing I want to ask is how to indicate the deployment order for jar in
jboss?
Thank you
View the
Hi ,
I have a few XMBean components that I have successfully been codeploying to a 3.2.3
container. Originally the XMBean components were deployed in a separate SAR, whilst
WAR, EJB and JAR content was deployed in an EAR. To simplify the deployment process I
have incorporated the SAR deployment
Hi all,
I have stuck with a problem. I want a message to be sent by an remote JBoss Clustered
environment (a session bean client) to another JBoss on a different machine. When i
run a simple java client from the remote machine i am able to receive the message but
the same code from the JBoss env
hi thank you for your help. the link is great and i will try to study it.
bye
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840930#3840930
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840930
--
Hi all, I want to login from one jboss to another jboss. The login with a simple Java
Client Application was seccussful. login-config.xml is configured correct. But each
time I try to connect to the second jboss I get a FailedLoginException:
javax.security.auth.login.FailedLoginException: Passw
Thank you for your answer. I tried this solution but I did not manage to do it. There
is a lot of invoker in this file and I don't know which to modify.
What is the one who uses the port ?
If I modify all JBoss doesn't start. If I modify one or another, it doesn't change
anything.
Thank you
Tried with a new JBoss 3.2.5, same procedure, same Exception...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840942#3840942
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840942
-
Can anybody give a short hint for making the contextual menus work? Don't understand
the /a/b/c -> /a/b/_menu thing.
thanks.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840937#3840937
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=post
opps sorry my mistake, there is no mapping error, it just my url on the browser is
wrong. Thanks!!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840927#3840927
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840927
-
Hi all,
I am trying to do an XSLT/XML transformation, but when I try to load up my XSLT using
getResourceAsStream it always fails... It is running in a Struts action in the web
tier.
What voodoo do i need to peform to get this to work? I have placed the file in just
about every JAR/lib imagi
I am running Jboss 3.2.3 and have implemented a jaas login process to my application,
which extends DatabaseServerLoginModule.
I am trying to find out if i can add additional parameters to the jsp page, or any
other way of implementing TCP/IP restrictions on the login.
i.e.
user joe can only l
Hi mike,
Thanks for you input :D. I have actually managed to deploy an ear file
successfully but the problem is when i try to access the web app thru
http://localhost:8080/webapp/index.jsp, i got a error output on the console:
16:10:33,421 INFO [Engine] StandardHost[localhost]: MAPPING conf
Can you post the SQL query?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840921#3840921
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840921
---
This SF.Net email
This is because of conflicting jasper versions. In 3.2.5 servlet and jasper related
classes are in Tomcat's sar.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840920#3840920
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply
Thanks a lot Loubyansky.
Apparently the problem is that I am using an older verion of jasper Report while JBoss
3.2.5 has a newer version.
The Jasper Version I am using has a method called include with signature:
public static void include(HttpServletRequest request, HttpServletResponse respons
Well,my cluster hans two node.each node has deployed a "hello world" ejb.
i write a client to test cluster.
the main content of client like:
| Properties props =new Properties();
|
props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
| pr
93 matches
Mail list logo