hi jackling,
Did you get this problem solved, I would love to know as I have the same
problem,
Dave
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857131#3857131
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857131
Congratulations Adrian!
BTW, where will be located the valve mechanism to redeploy services while
holding invocations? on the bus? or you don't want to put it at this level?
cheers,
sacha
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857132#3857132
Reply
I deploy a simple web application to JBoss and get a Parse Error for my
application. The same application (presently without EJB) does not create a
problem when deployed to Tomcat 5!
Can anybody explain what that message means?
Thanks for your help
Klaus
WEB-INF/web.xml:
Hi,
finally I managed to deploy my hibernate application in the new jboss4.0.0. and
the related stuff without deployment errors. But there is one remaining problem:
If I try, to acess persistence like:
| tx = hibernateSession.beginTransaction();
| Item item = new Item();
|
ProxyLoginModule was the answer, I found it re-reading the admin-develop docs.
Cheers
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857139#3857139
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857139
You can either define two different datasources in the same -ds.xml file or you
can deploy two different -ds.xml files - either way will work fine.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857141#3857141
Reply to the post :
i think, there were something wrong datas in the local db.
i made this, to solve the problem:
(my server is playground ... your could be default or sth. else)
i opened this folder:
C:\jboss-4.0.0\server\playground\data\hypersonic
or e.g.
C:\jboss-4.0.0\server\default\data\hypersonic
i deleted
From my experience, this group is very lightly used and the chances of getting
a reply to important questions are slim.
Are there any other JBoss forums that I could use? Of course, by my own
argument, I'm unlikely to get an answer to that :)
View the original post :
yes,
in hsqldb-ds.xml you find:
user-namesa/user-name
i think its case-sensitiv... so SA is wrong ... try sa
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857144#3857144
Reply to the post :
i think, there were something wrong datas in the local db.
i made this, to solve the problem:
(my server is playground ... your could be default or sth. else)
i opened this folder:
C:\jboss-4.0.0\server\playground\data\hypersonic
or e.g.
C:\jboss-4.0.0\server\default\data\hypersonic
i deleted
Currently you could receive some traps (there is a way to map JMX notifications
to SNMP traps). In the v4.0.1/3.2.7 there is also the protocol support and the
hooks in the snmp-adaptor to plug-in get/set functionality, but the mapping
layer is missing (unless you want to write it :)
You find
When you implement StandardMBeans, the exposed MBean interface for a class Z
must follow the pattern ZMBean.
Just change the name of you implementation class to:
EmailConfigForm
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857147#3857147
Reply to the post
If I look at a topic that I created in the JBossWS forum
http://www.jboss.org/index.html?module=bbop=viewtopict=57094, the initial
post is accredited to me (DaveyS), but I did not make this post.
Has something gone wrong?
View the original post :
I haven't touched the RMIAdaptor for some time, but doesn't RMIAdaptor have an
addNotificationListener() and removeNotificationListener on its interface?
If that works as expected you'd just have to call the above methods and
implement the following interface:
| public interface
Unfortunately that didn't solve the problem. I thought everything was fine when
I discovered about the ProxyLoginModule but in fact the classloader is still
looking for server side classes the client should not have access to nor care
about...
If I include jboss_dist/server/all/lib/jbosssx.jar
I have a problem that clients can access jboss and my application before server
is really running and my application is fully deployd.
I deploy whole application in one ear file. Ear contains 15 ejbs, 2 mbeans and
7 JMS topics and queues (sar files are inside ear). Just after my message
driven
Thanks for the update!
Best regards,
James
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857152#3857152
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857152
---
SF
by default it will bind to 0.0.0.0 so it is available on all interfaces in a
multi-homed machine, have a look at the console output when you start the
server for more info. You can bind it to a single interface easily too, but
I've never tried to bind it to more than one interface where the
I've started studying the JBoss anf I've got a problem.
I've started the server JBoss successfully. But when I try to start the JMX
console (http://localhost:8080/jmx-console), it appears an error. The error is
Unable to find a javac compiler;
I've Windows XP and I've put the javac into the
I solved it with a very bad action: i removed jaxen.jar from server/lib.
This is very weird... i know that my app can invoke the jdom methods but when
it invoke the jaxen method it gave me the exception. I think this is because my
app is using jaxen.jar from server/lib. The weird thing is that
Sorry.. its not server/lib, is jbossXXX/lib.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857156#3857156
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857156
---
SF
have you tried the BDB table type?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857157#3857157
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857157
---
SF email is
When asking for help to solve an error you need to post the full error and
stack trace on here.
Have you set the JAVA_HOME environment variable?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857158#3857158
Reply to the post :
Hi all.
I have a SAR-package as directory, in which are EAR package as directory too.
in SAR's jboss-service.xml I've put such strng:
...
...
And all goes OK, until I want to undeploy my SAR.
I try delete it, EAR undeployed successfully, SAR's looks like too, but!
I cannot delete my.zip after
Sorry, tags didn't shows :)
in SAR's jboss-service.xml I've put such strng:
...
lt;classpath codebase=. archives=my.zip/gt;
...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857161#3857161
Reply to the post :
Hi,
I need to debug Hibernate in JBoss 4. I modified file
server/default/conf/log4j.xml in default installation:
| ?xml version=1.0 encoding=UTF-8?
| !DOCTYPE log4j:configuration SYSTEM log4j.dtd
|
| log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/;
debug=false
|
Thanks a lot.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857163#3857163
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857163
---
SF email is sponsored by - The IT
Hi,
I'm writing a service (for jboss 4) and need to have a specialised
configuration file stored in the SAR archive, possibly in META-INF.
I'm having problems finding out how I reference the file from an MBean in the
same SAR. Can somebody give me some pointers?
Many thanks
Andy.
View the
Maybe, try this:
|
Thread.currentThread().getContextClassLoader().getResourceAsStream(/META-INF/my-descriptor.xml);
| anonymous wrote :
| |
| |
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857167#3857167
Reply to the post :
Try to put the ClientLoginModule as the last module in your config file.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857168#3857168
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857168
thanks joy
i have tried ur option also but it was not working now also
every thing i have given was fine but i dont know y it was not working
while starting itself it is showing that no resource manager found for OracleDS
i think datasource was not created yet
how can i do at this
Try starting JBoss without your application or -ds.xml deployed.
Put the -ds.xml in the deploy folder, look at any messages on the console to
see if it deployed.
Use JNDI View in jmx-console to check that the connection bound.
Only when you know that the connection has been bound correctly
11
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857171#3857171
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857171
---
SF email is sponsored by - The IT Product
We encountered this problem not to be related to a certain java version
because it is the same with java 1.4.2_06 b03.
It is certainly related to the OS because on Solaris it works
regards
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857172#3857172
Reply
I finally got it right. I was doing almost everything right
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857176#3857176
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857176
Hi Dimitris,
Many thanks, I'll givr it a try.
Andy.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857177#3857177
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857177
Hi,
I am running an application based on jboss 3.2.6 which is being tested by now.
The following behaviour has occured, while testing:
a Singleton MDB (anonymous wrote : Auto-acknowledge,nonDurable,transaction-type
= Container,ejb.transaction type=Required) is listening to a queue, on the
not sure if its the best way forward, but we've set the level for the appender
to debug and then change the categories that we don't want to lower levels, for
example, org.jboss is at warn.
This works fine for us, it seemed that the appender settings took preference
over categories. I may need
How can I configure my web app or server to force a client to send a client
certificate when trying to get my servlet?
Thanks?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857181#3857181
Reply to the post :
Dimitris,
That worked a treat.
Many thanks.
Andy.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857183#3857183
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857183
---
When I try deploying an application with the Intellij IDE, I get an
error stating
The requested resource (/sample/greeting) is not available..
I figured that IntelliJ doesn't map the created EAR file to the Jboss
deployment service so I copied the EAR file to the ...\deploy\
Hi,
Sorry to post this message but I try and try again without success a way to
configure an test my access to an oracle database.
I read documentation and exemple on the doc folder. But I have always the
same problem.
I use the default profile.
I have a database oracle, and I install
I posted this on the JBossWeb forum, but this might be the right place for it...
I'm having a problem with session replication in jboss 3.2.6.
Specifically I see these types of errors in my log:
16:27:27,992 ERROR [JBossCacheManager] processSessionRepl: failed with
exception:
Ben will probably need the stack trace to determine what's causing the NPE.
Bela
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857192#3857192
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857192
This one might be more helpful
This is what I get when I try to access a servlet which calls
request.getSession():
2004-12-02 11:11:47,217 DEBUG
[org.jboss.web.tomcat.tc5.session.ClusteredSession] initAfterLoad(): initialize
the transient variables ...
2004-12-02 11:11:47,218 DEBUG
There isn't a crash in my example, my problem occurs while Jboss is starting.
Here are the steps I think Jboss works with my timers:
- Jboss deploys my application
- Jboss starts my application
- The ServletContext of my application is initialized
- My timers are created by my
You have to configure the various services you want running on the different
interfaces with multiple connectors. For tomcat this means adding two Connector
configurations in the jbossweb-tomcat50.sar/server.xml.
View the original post :
There are examples of this in the testsuite as well as the admin/devel guide.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857196#3857196
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857196
Nobody has an idea?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857200#3857200
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857200
---
SF email is sponsored by -
I everybody im trying to implementing a simple send receive example and when
i try to start the sender i got this error on jboss
C:\SADSXPJAVA\JMS\binjava -classpath
.;c:\jboss-3.2.1\client\jbossall-client.jar MessageSender
javax.naming.CommunicationException: Receive timed out. Root
The valve needs to go in the container (for queuing while it is undeployed)
and as an interceptor to handle different policy requirements.
There is MicroContainer development forum if you want to discuss further,
but I'll be more details into JIRA soon.
View the original post :
Add clientAuth=true to the Connector configuration.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857203#3857203
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857203
In the 3.2.6 version, in order to receive JMX notifications,
docs/examples/jmx/jmx-rmi-adaptor.sar file needed to be copied to the deploy
directory, and jmx-invoker-adaptor-server.sar removed. Is it still necessary
in the 4.0.0 version? I don't see the jmx-rmi-adaptor.sar in the 4.0.0
If you have a sample application that demonstrates the problem create a bug
report on http://jira.jboss.com/jira/browse/JBAS so I can look at it.
You will have to use scoped class loading and include both the jdom and jaxen
jars in the application scope to override the jboss jars.
View the
No, as 'fully running' is an arbitrary statement depending on what components
are configured. You need to use dependencies or 'Russian Doll' packaing to
ensure that your cache services are started before the mdbs. Read chapter 2 of
the admin/devel guide for more info on the options.
View the
No.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857207#3857207
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857207
---
SF email is sponsored by - The IT Product
No. The org.jnp.interfaces.Naming interface is the interface exposed by the
NamingService xmbean. All Naming interface invocations ultimately go through
the NamingService xmbean and its associated interceptors.
View the original post :
Hi,
December has arrived - do you have more visibility to the exact release date?
Thanks, Yaron.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857209#3857209
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857209
The CallerIdentityLoginModule as described here sounds its what you want. If
its not provide the specifics of the identity mapping your looking for.
http://www.jboss.org/wiki/Wiki.jsp?page=ConfigJCALoginModule
View the original post :
Hi,
The URL is broken, you get The file id is not indicated
Yaron.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857211#3857211
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857211
This looks like a questionable warn level message. File a bug report at
http://jira.jboss.com/jira/browse/JBAS so someone can look into it. Indicate
whether the keys shown should in fact be in the cache.
View the original post :
Hi, I'm using JBoss 4.0.0 and I'm having some problems with JBoss apparently
ignoring the CallByValue=false attribute of the NamingService in my custom
JBoss configuration.
I have a custom server configuration containing those services I need deployed.
It is based upon the standard
Your application can change the jndi semantics by including a jndi.properties
which does so. Run your app test in the unmodified standard configuration to
validate whether its a change you made in the config or something the app is
doing.
View the original post :
I predict: 11:59pm on new years eve! :)
Seriously, it is being worked on now and will be out this month.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857215#3857215
Reply to the post :
Read the release notes about the changes to the default configuration. To
restore the 3.2.x behavior:
| [EMAIL PROTECTED] Releases]$ cd jboss-4.0.0/server
| [EMAIL PROTECTED] server]$ mv default default-save
| [EMAIL PROTECTED] server]$ mv standard default
|
run as usual.
View the
Ahh, I see now. The RA stuff just has a realm name, and everything else goes
in login-config.
What I had in mind was a login module that mapped the caller userid/password to
another pair, possibly controlled by a properties file the way the server-side
EJB login module works.
I'll check the
You have uncommented too many lines, 'cause there has to be only one
connection tag uncommented. So when using the datasource for CMP the
datasource cannot be found because is missconfigured. If you want to use TCP
connections, leave that connection tag uncommented and comment the other ones.
You can deploy a directory, named as .war and with the normal war structure.
But you still have to redeploy this war after changing resources by touching
the wars deployment descriptor.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857220#3857220
Reply to the
fixed
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857221#3857221
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857221
---
SF email is sponsored by - The IT Product
Works fine for me. I threw a snoop.jsp page into the jmx-console.war, enabled
the RequestDumperValve and printed out the request.getHeader(Accept-Encoding)
header value as seen in the jsp page:
console output of RequestDumperValve:
| 10:16:00,622 INFO [Server] JBoss (MX MicroKernel) [3.2.6
Thanks!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857223#3857223
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857223
---
SF email is sponsored by - The IT Product
H
It doesn't seem to matter what the name of the implementation class is I always
get the same error. I've changed the name of the impl class to
EmailConfigFormMBean
EmailConfigFormBllahImpl
I always throws the NonCompliantMBeanException
The interface does follow the standard mbean
The jms MapMessage implementation changed between 3.2.3 and 3.2.6 such that its
not serializable compatible, but the serialVersionUID was not changed.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857225#3857225
Reply to the post :
I just looked at the MBeanCapability.java file where the exception is being
thrown. The strange thing is that it thinks the mbeanClass is java.lang.Object.
What's up with that??
Do I need to do a class cast in the register call or something like that?
Thanx
Warren
View the original post :
I have installed JBoss 4.0.0 on Windows Server 2000. Jboss runs file when run
from the command line(run.bat), but does not run properly when started as a
Windows service. I get the following error:
19:56:18,296 INFO [Server] Starting JBoss (MX MicroKernel)...
19:56:18,296 INFO [Server]
I'll write that again, if you class is called Z the interface must be called
ZMBean
So, just change the name of you implementation class to:
EmailConfigForm
in order to agree with interface name EmailConfigFormMBean
View the original post :
Thanks for your reply.
I'd accidentally included the jndi.properties intended for test clients in the
jar of classes inside my EAR.
Everything now works as expected.
Thanks again,
Andrew
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857229#3857229
Reply to
Your problem is due to you have servlet definitions and mappings not in the
correct order. You have to define first the servlet definitions and then the
servlet mappings (not as you have servlet-def, servlet-map, servlet-def,
servlet-map).
View the original post :
Thank you for quick responses.
I have another question though. If there are multiple clients that want to
listen for notifications, does the ServiceMBeanSupport class handles this case?
Should I pass a unique handback object when registering, so that the listener
can be uniquely identified?
I think Dimitris is going to start hating me lol But then again I should have
been maybe posting this question here or maybe someone can point put a good
forum to go discuss this...
Am thinking I want to write a service that will offer server capabilities to
all my other services and I would
Ok I guess I'm a little SLOW
The interface needs to be named: blahMBean
The implementation MUST be named : blah
Now it works.
Sorry for taking up so much space in this forum :-)
For anyone who iis interested here is the working code.
public interface EmailConfigFormMonMBean {
JAAS is a security implementation detail that you should not be using directly
if you want portability. The j2ee declarative security model is the only
portable aspect of a deployment. How the roles declared in the deployment get
mapped to a database is application server specific and therefore
Yes, you can have multiple clients without confusion.
The handback object is more or less of use to the Listener. If it has made many
registrations to different MBeans it could use the handback as an id to quickly
distinguish from which subscription a notification came when
I started with the Minimal configuration in JBoss 3.2.3 running on Solaris 8
and JDK 1.4 64 bit mode, and am adding services as I need them. The
jmx-console service is working properly, and now I am trying to get the
web-console loaded. The PluginManager service is getting a
See: http://www.jboss.org/wiki/Wiki.jsp?page=JaasSecurityDomain
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857237#3857237
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857237
If you have a testcase showing this behavior create a bug report so we can see
why this is happening:
http://jira.jboss.com/jira/browse/JBWEB
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857238#3857238
Reply to the post :
It looks ok to me. I created a link to a /tmp/test.war and that deploys fine:
| [EMAIL PROTECTED] deploy]$ ls -l test.war
| lrwxrwxrwx1 starksm starksm13 Dec 2 11:55 test.war -
/tmp/test.war/
|
| ...
| 11:56:27,186 INFO [TomcatDeployer] deploy, ctxPath=/test,
Is there any strong reason at all to use case-preserving create-table DDL in
the first place?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857240#3857240
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857240
-Xmx? http://java.sun.com/docs/performance/
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857241#3857241
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857241
---
SF
Here is the exception from the session replication:
java.lang.RuntimeException: JBossCacheManager.processSessionRepl(): failed to
replicate session.
at
org.jboss.web.tomcat.tc5.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:410)
at
Scott,
i believe this is what i'm looking for, but i'm not quite sure what/where to
implement, and what file configurations(conf/xml's) will need to be made for
the implementation.. can you provide any other pointers ?
thanks,
c
View the original post :
Hi,
I would like to know how to store and retrieve blobs from the database using
Jboss/CMP/MySQL combination. I have a servlet that is suppose to first write
the BLOB to the database and the same servlet later needs to retrieve the blob
and send it to the client. The servlet always talk to the
Lets say that during the ejbCreate() method of my MDB a RuntimeException gets
thrown (NullPointer, etc ).
The message should not be Acknowledged and should be returned to the JMS
provider, right?
Or do I need to catch that and call setRollbackOnly()?
View the original post :
I have fixed the problem by doing
String msg = exception message accessing bean CMP fields ...;
_ctx.setRollbackOnly();
throw new DuplicateException(msg);
Don't know if this is a JBoss thing or a J2EE spec thing.
Joe
View the original post :
Hi!
I have a task that implies loading custom user classes dynamically on the
serverside.
There will definately be a session bean in there, so I wonder will it break the
EJB container if I try using my own custom ClassLoader there?
In EJB 2.1 spec they say operating with ClassLoader from EJBs
Thanks a lot Scott. I'm ashamed, all the permissions on the home directories
were set to 700. Wow.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857253#3857253
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857253
Try it, if it works your fine.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857260#3857260
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857260
---
SF email is
I am having the same problem. In Weblogic I was able to use the APP-INF
directory to hold jars that were needed by the code I was generating at
runtime. But I don't know how to do this in JBoss. Did you eventually solve
the problem?
Thanks!
RB
View the original post :
Ok, I found the solution, after many hours searching
in /deploy/jms directory
Following the documentation to do the following:
1. copy oracle-jdbc2-service.xml from jboss-4.0.0/docs/examples/jms/
directory and modified the data source JDNI name.
2. delete
I have installed on an AS400. I set the environment variable
JAVA_HOME = /QIBM/ProdData/Java400/jdk14
Java reports -server is not a valid arguement.
when I execute run.sh, I get:
run.sh
| ulimit: 001-0007
1 - 100 of 114 matches
Mail list logo