I managed to eliminate the logout problem; it was a misconfiguration within my web.xml
file. The web page calling the EJB method was not within the restricted area any more,
that's why a logout was performed.
Now the first EJB method call is successful, but as soon as I want to start a second
Just a comment of something that happened to me that nearly got me crazy till I
discovered it: if you want to use blobs larger than 8kb, you must use OCI jdbc driver
instead of thin one.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848532#3848532
Reply to
Hi Scott
Could you please show a little example for this?
Thanks
Martin
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848534#3848534
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848534
Thanks for your hint danl, but this is not suitable for my needs. I still beleive it
must be a way to tell to sec manager that I want to add my programaticaly
authenticated subject to its cache.
Maybe Mr. Scott might have an ideea. Thanks.
View the original post :
I saw something like this in the JBoss wiki, but this page is not available right now.
Try this for now:
http://www.qos.ch/logging/sc.html
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848536#3848536
Reply to the post :
I am trying in this way but it seems not to work correctly. I am using jboss 3.2.5.
the post create table sql statements are executed by the first entity bean and then
again by the next one, which issues an error as it tries to insert again with the same
primary key. why that??
I ve added the
Hi, as i am pretty new to this stuff, can anyone give me some hint how this mbean is
coded??
thanks a lot..
martin
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848538#3848538
Reply to the post :
Hi,
I've started my experiences with JBoss. Previously I used some Sun or Oracle
application servers. So I have the first few questions of that, does JBoss have any
user admin tool. I mean the manner, where I can deploy application, manage resources
(JDBC, JNDI) etc. ?
What does JBoss prefer
When you have JBoss started, check out:
http://localhost:8080/web-console/
http://localhost:8080/jmx-console/ (from here you can drill down into the JNDI browser)
It is really simple to deploy apps in jboss - you just drop them intp the deploy
directory.
In terms of IDE, you can use anything
To see how to code an MBean read the JBoss Admin and Developers Guide or the JMX Spec.
To get back to the original question, have you considered using your datasource to
execute SQL? The datasource could be bundled in your deployment and thus it would be
loaded at deploy time and you could
Am I the only one to have this problem?
Should I provide a piece of code that would reproduce the problem?
Cheers,
greg
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848545#3848545
Reply to the post :
Whats the main difference between JBoss and Tom cat??
What are the features available in Jboss?
What application can run in Tomcat and why need Jboss???
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848546#3848546
Reply to the post :
Hello Scott,
My beans are both assigned to the same security domain, S. This can be seen in
jboss.xml
| jboss
| security-domainjava:/jaas/S/security-domain
|
Surely if bean A CAN access B and both beans are assigned to the same domain, then
getCallerPrincipal() should return the
Hi,
I'm facing the same problem.
Did you manage to get rid of it?
Thanks in advance...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848549#3848549
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848549
hello ppl,
The problem:
Transactions are just not rolledback in case of an Exception when using CMP 2.x and
CMT with mysql.
I have a simple Entity bean being created through a session bean funcction... Now
inside the session func, after creating the entityobject i am throwing a
Hi Genman
I also want to know more about what exactly you mean in Do your own benchmarking by
configuring a vanilla JBoss and sending messages using a couple clients.
SS
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848553#3848553
Reply to the post :
I've a similar problem but with SQL Server auto numbering identity fields.
I'll be facing your problem in the next few weeks as we are due to start a port to
Oracle.
If you find an answer can youy post it to the list.
View the original post :
Tomcat is purely a JSP/Servlet container. If that does not mean anything to you read
the J2EE specification.
JBoss is a J2EE application server (and can be configured as other things too) which
bundles and uses Tomcat as its implemetation of the J2EE JSP/Servlet specification.
If you need the
I'm afraid not. We're still stuck with not using local references or packaging
everything together.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848556#3848556
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848556
Not sure if I am understanding your requirements but...
Maybe using org.jboss.security.SecurityAssociation?
SecurityAssociation.setPrincipal(...);
SecurityAssociation.setCredential(...);
Note this is not portable across JAAS implementations (only works in JBoss at the
moment).
Alternatively
SOLVED !!!
The whole problem was that if we set the
create-tabletrue/create-table
option in jbosscmp-jdbc.xml the the tables created by the container are of type
MyISAM... and MySql supports transaction only on Tables of type InnoDB... so if you
change the type of your tables to InnoDB
Hi,
Have You solved the problem? What is the content of FiboApp.ear after unpacking? It
shoud be:
- META-INF
|- application.xml
- FiboEJB.jar
- FiboWeb.war
Check the content of FiboEJB.jar and FiboWeb.war as well, perhaps You missed something
during packaging.
Marcin
View the original
It's under:
varia/src/resources/service/snmp
:)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848561#3848561
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848561
---
Hello all,
I have to work with the J2EE 1.2.1
What release can I download ?
Thanks
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848562#3848562
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848562
Hi.
I have just uploaded a PDF in the Nukes_Themes_HowTo section of the wiki.
The content is basically identical with the .doc file but has been improved in layout
and readability.
I found it being hard to step through the document with the old (mostly unformatted)
style and, being an
can you update the .doc file as well please ? this is very usefull
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848564#3848564
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848564
hello chlabreu
insert into your log4j.xml
| !-- Limit categories --
|
| !-- Limit Tomcat jk connector --
|category name=org.apache.jk
| priority value=WARN/
|/category
|
|category name=org.apache.coyote
| priority value=WARN/
|/category
|
This seems to be caused by a threading problem in the
version of JBoss we are using. I will try to upgrade to 3.2.5
and see if that fixes it.
The problem did not show up during development or testing
on our 1 and 2 CPU systems. It was only when we deployed
on the multi CPU SGI that it hit us.
Hello,
I am currently investigating JBoss. One requirement I have to fulfill is that certain
components, which should be deployed on JBoss, shall also be license checked. Which
means that certain features of the application are subject to licensing.
Does anybody know if there is already a
I am using JBOSS 3.2.3. (with MYSQL)
I am not able to get the finder query with LIMIT with 3.2.3.
The following is the query used:
SELECT OBJECT(o) FROM CUSTOMER o LIMIT ?1
I have not modified any configuration.
Am I missing anything? Any suggestions?
View the original post :
I am getting this error even with JBOSS 3.2.3.
Any configurations to be done?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848574#3848574
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848574
So if you have several jar files the order can not cause an
ERROR [EJBDeployer] Verfiy failed
java.lang.NoClassDefFoundError: xxx/yyy/fff
??
I ask this since when jboss try to deploy say ddd.jar then it gives the above error
and referes too
xxx/yyy/fff which is in another jar file which has
Hi,
I'm trying to run an applet with Jboss 3.2.3.
I only want to put my one main applet class in the jar that resides in the war file
and then have the utility classes reside in a common area so that other .ears can see
them as well. Originally, I thought this would be in the server lib
Hi arnold,
I have found a solution that fix the problem.
1. Create this classes
public class MyInvokerInterceptor extends InvokerInterceptor implements Externalizable
{
| public MyInvokerInterceptor() {
| super();
| }
| public boolean isLocal() {
|
Hi dbuch,
Thanks a lot for your help.
I also have a similar 'hack' which involed patching jbosshar.jar (I only changed
InvokerInterceptor and JRMPInvokerProxyHA).
Personally, I don't like such hacks as it requires maintainence from our side (e.g.
what if we want to switch to another version of
Is this syntax with LIMIT supported in 3.2.3.
Any configuration to be done for this?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848579#3848579
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848579
any idea about this problem
the folder D:\jboss-3.2.2RC4\server\default\deploy exists
thanks
2004-09-17 13:53:51,562 ERROR
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Scanning
failed; continuing
java.io.FileNotFoundException: D:\jboss-3.2.2RC4\server\default\deploy
Aha!
| java.lang.IllegalStateException: A CMR collection may only be used within the
transction in which it was created
|
org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.getIdList(RelationSet.java:66)
|
Hi Scott,
Please forgive my ignorance, I believe I need to dig more into security propagation of
EJBs. If I get any more problem, I will ask again!
Thanks.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848585#3848585
Reply to the post :
p.s.,
the Context docBase attributes are of the form
docBase=${jboss.server.home.dir}/private/, not terminating in private as I had
earlier written
I believe the reason I'm having classloader issues is that the private webapps use
their own independent WAR classloaders, which have no EJB
is there any static initialization going on in those classes?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848587#3848587
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848587
Hello,
Created a bug report in the given address and id is 1029905
Thanks,
Ranjith Pillai
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848588#3848588
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848588
It sounds like you may actually have a real classpath problem - ie. they are not on
your classpath.
Anyway, what version of JBoss are you using?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848590#3848590
Reply to the post :
The obsolete 2.4.x series supported 1.2.1 j2ee apis.
http://sourceforge.net/project/showfiles.php?group_id=22866
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848592#3848592
Reply to the post :
No, this will not work. You have to convince tomcat that the current session has been
authenticated. This would require a custom valve and/or custom tomcat authenticator.
Its a deep tomcat specific integration.
View the original post :
in your ejb-jar.xml make sure the method permissions are set. I do this with
xdocllet tag:
@ejb:permissions unchecked=true methods=*
which emits the following in the ejb-jar.xml
method-permission
![CDATA[description not supported yet by ejbdoclet]]
In my documentation it says that multiple SRP sessions have been available since
3.0.5? No where does it explain how to configure for multiple sessions? Can anyone
point me to a document that describes how to setup and handle multiple SRP sessions?
Boat Drinks
Jerry
View the original post :
I have create a custom interceptor that catches a user defined exception type for the
purpose of centrally logging this specific class of exception to a database.
The SSB methods have their transaction properties set appropriately (if any error
occurs, all of their work on the database should
Hello,
We're developing an application on JBoss using Eclipse. The application includes JSP
pages, Hibernate, Stateless Session Beans, and Entity Beans.
We are using an ant build script for deployment. The problem is that any minor change
in any part of the project requires that we restart the
Dimitris:
Thanks again for your help. I have resolved the problem.
Apparently I did not need to override the invoker-binding for the MDB in a manner
parallel to what is required for an EJB in order to access it over an HTTP transport.
Removing this has removed the deployment order problem.
JBoss 4 does not use jboss-net, the file is not found because it does not exist. Have
a look in the Wiki for ws4ee.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848604#3848604
Reply to the post :
You will just need to make sure that there are no port conflicts between the two,
otherwise it is the same as running any pair of different applications on one machine.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848605#3848605
Reply to the post :
Hi,
I installed jboss-3.2.3_nukes-1.0.0 and try to integrate it with another project of
mine. The problem is, the other project also have tomcat jar files (catalina.jar,
etc).
I haven't got quite far yet with the integration because I'm stuck on this one basic
thing: How can I make both of
Hi. Okay...looked at the Wiki, but can't get an overall picture of how this will work.
We have the following setup:
clients- web server - job handling server
We want to cluster both the web server, and the server that we submit jobs to.
Can anyone give me a high-level
Dear Friends,
When I deploy my application the server tells me that my ejb-jar.xml file is malformed
stating unkown PUBLIC id in ejb-jar.xml. This is coming from the DOCTYPE tag. I
have matched the DOCTYPE to exactly what is in the DTD but is still gives me that
mesage. Any Idea? I am
p.s.s,
I see that this nasy posting software is preventing me from posting accurately. I'll
try again:
the docBase attribute mentioned above ends in the name of the directory which contains
the web app, eg. docBase=${jboss.server.home.dir}/private/theWebAppDirectory.
gretel
View the
There will be a new version of the getting started guide for JBoss 4.0 with working
examples soon. It should go out with 4.0 final at the lastest.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848612#3848612
Reply to the post :
OK I have a secure EJB app which uses LDAPAuthentication. I have several web apps
that go against it. Secure and not secure. The secure web apps go against the same
LDAP, using the same security domain, and all is happy. They can call the EJBs with
no problem.
The unsecure web app needs to
Hello,
I would like to know where jboss stores the generated stub classes necessary to have a
remote client call my ejb. Sun's RI offers a tool to generate the classes. What about
JBoss? Where can I get those files from with JBoss?
Thanks in advance,
Julien Martin.
View the original post :
anonymous wrote : this nasy posting software
Is developed here.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848618#3848618
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848618
They are not required, JBoss uses dynamic proxies.
Your client will require access to the remote and home interfaces as well as any other
classes used as parameters and return types / exceptions.
You will also require access to jbossall-client.jar from the client folder.
View the original post
Hi,
Am trying to get my head around clustering in J2EE environment for the first time.
I understand how clusters work in general, how multicast is used to detect if the node
is available etc..
However, we need to specify that a node is down if the business logic on that node
is failing (the
In jbosscmp-jdbc.xml you have to put in something like this for every entity which has
a field filled by a sequence:
| entity
|
| entity-command name=oracle-sequence
| attribute name=sequenceafsta_seq/attribute
| /entity-command
| /entity
|
View the original
I'm new to JBoss but not resin. I've been following the getting
started pdf. I downloaded jboss 3.2.5 and copied the default dir to
foo. The guide says you can add and delete the folders under deploy to
add and delete the corresponding services. Well, I need to run resin
on port 8080 and configure
The entire JMS specification consists of interfaces. Therefore, to write and compile
a an application that makes use of the JMS api, you only need to add a JAR containing
the interfaces to your classpath. The jboss-j2ee.jar contains all the JMS interfaces.
The actual JBoss implementations of
I have created a class to send messages to a JBoss queue. It works well but there is
a lot of overhead with each send method call (roughly 60% from what I can tell) since
each time I'm doing JNDI lookups of the QueueConnectionFactory and Queue, and then
establishing the QueueConnection,
I'm fairly new with J2EE security, so I'm sure that I have some (maybe many)
misconceptions.
I was under the impression that JACC provides the piece of authorization that JAAS
misses, namely a dynamic form of enforcing policies. And like JAAS, you would
implement a pluggable module, but
Hi there,
Thanks very much for your previous reply! But I found a problem,
when my client code is running on the same machine with JBoss, everything works fine;
if I run JBoss on a different machine, when I use MainDeployerMBean.deploy(URL) (I get
the proxy object for MainDeployer from
Delete javax.servlet.jar in your {jboss deployment directory}/lib and copy. It's
clashing with a newer one in your tomcat sar directory called jsp-api.jar.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848629#3848629
Reply to the post :
So, where does the service config goes if it's not the jboss.jcml?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848631#3848631
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848631
You should store the QCFactory locally in ejbCreate(). Also, use the java:/JmsXA
factory, as it is pooling.
Don't create the connection, session in the ejbCreate(), do it when you need to.
Otherwise, JBoss can't enlist the JMS session in the transaction.
For clusters, I'm not sure on the
Is there some reason that the optimized dispatcher is not enabled by default? It is
enabled by setting the system property jbossmx.optimized.dispatcher to true.
Should I be asking this in the DEV forum?
Thanks.
View the original post :
The URL you are giving is the one JBoss uses to connect to the client. What you're
using is a URL valid only on the client side.
If you want to deploy remotely, the client needs to make the file available remotely
somehow. You could create a .jsp which took a file via HTTP and then deployed
It was just a perf experiment that we did not feel comfortable with making the default
behavior. It really has not been tested in a while.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848635#3848635
Reply to the post :
The server/default/conf/jboss-service.xml file is the equivalent of the legacy
jboss.jcml file.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848636#3848636
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848636
JBoss 4.0.0RC1, Windows XP
I'm getting errors of the form
anonymous wrote :
| 17:36:50,718 DEBUG [DefaultManagedObjectFactoryMap] Failed to find factory for
event:
javax.management.Notification[source=jboss.system:service=ServiceController,type=
76 matches
Mail list logo