Thanks for the quick reply Cuoz.
I'm beginning to understand what the actual problem is with my web-app.
You see, I've been mixing the j_security_check and a self-written JAAS
authentication method.
j_security_check however, doesn't provide the solution I'm looking for.
Because it doesn't integra
I have JBoss 3.2.6 and when I start the server I am getting this warning
message. How can I fix this?
11:47:02,181 WARN [HANamingService] Failed to start AutomaticDiscovery
java.net.SocketException: error setting options
at java.net.PlainDatagramSocketImpl.join(Native Method)
at
I usually used to take jonas ejb-server for my application. There everything
works fine with EJB1.1 and the application is rather huge, so I don't want to
migrate to 2.0. But I want to test the JBoss Server if it is better than Jonas
for my needs.
Isn't it possible to migrate from Jonas to JBos
i have viewed the example code in xdoclet,still feel nervous.the key issue is
how to use it when i want to invoke the ejbCreate.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854384#3854384
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=p
Hello ,
we have deployed an application to production 2 weeks ago
application has an administration screen using a jaas domain and a
user/properties file -
today the admin failed to login - when i checked the log :
i saw an IOException saying that it cant find the users/roles file and -
"..
Does anybody know the servlet-api.jar equivalent in JBoss 4.0.0?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854380#3854380
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854380
I am getting this error how to slove this
java.lang.LinkageError: loader constraints violated when linking
javax/servlet/jsp/tagext/BodyContent class
at
org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:170)
at
org.apache.jasper.runtime.JspFacto
The 3.2.7RC1 release is available here:
JBoss-3.2.7 Files
The change notes are available here:
Changes between 3.2.7RC1 and 3.2.6
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854377#3854377
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=
Hi!
Im emplementing a CMP which uses a compound key as the primary key. If I create
an entity by calling the create method of the local home interface, the entity
was succesfully created. But when i call on the method findByPrimaryKey, it
throws an ObjectNotFoundException. This means that it di
hi guys,
i'm using jboss 3.2.3 server and i have installed the struts.jar file in
web-inf/lib directory.
But when i compile the class, it gives
" pakcage org.apache.struts.Action doesn't exist "
error.
Is it right place to put the jar file in jboss?
any ideas?
-bala
View the original
I am geting following error when I try to deploy hibernate Mbean,
org.jboss.deployment.DeploymentException: No Attribute found with name:
MapResources
I tried to google for this problem but couldn't find any useful info.
My Abhyasika.har has following structure,
com <--This folder contains my
The testsuite/build.xml in the latest releases (4.0.1RC1, 3.2.7RC1) illustrates
how we start/stop several jboss configurations to test clustering,
customization of the tomcat container to use ssl, running jboss with a security
manager, etc.
View the original post :
http://www.jboss.org/index.
Thanks for your reply Scott.
Had tried to explicity specify the user and roles file in the application
policy. however it didn't make a difference.
The problem ended up being the ClientLoginModule that was included in my
application policy. i.e.
Before:
nobody
Thanks, nice and simple, just the way I like it.
Good job!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854367#3854367
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854367
--
Thanks, for your fastest assistance.
As stated at the JBoss documentation,
http://docs.jboss.org/admin-devel/Chap8.html#0_pgfId-920186
a login and password can be configured to bind to ldap.
| * java.naming.security.principal, The principal for authenticating the
caller to the service. Th
"victorl" wrote :
| I eliminated the filter and the loggin process against iPlanet LDAP
| is done, but I get the following message:
|
| HTTP Status 403
| Access to the specified resource
| (Access to the requested resource has been denied) has been forbidden.
|
See the iDS Log
"rajeshcm" wrote : Hi
|
| I am using container managed bean. All my entity and session beans are
deployed with transaction required. I am using local interfaces for acessing
ejbs from session beans. When I am calling findByPrimaryKey it
| container is not invoking ejbLoad method.
|
|
Hi
I am using container managed bean. All my entity and session beans are deployed
with transaction required. I am using local interfaces for acessing ejbs from
session beans. When I am calling findByPrimaryKey it
container is not invoking ejbLoad method.
My commit options is
C
Any help will
Thanks -
Here is what I've implemented, however I am still having issues with regards to
closing the connection. When there is a network failure, I get a ping timeout
exception, which is what I expect, but when I go to close the connection it
just hangs there. I never reach my notify() state
Hello
I tried to compile JavaClient runing in a JBoss server and there is
NamingException error. The error message is "error setting options" when my
bean is trying to create (.getHome().create()...
Could you please help
Many thank
S.Hoa
View the original post :
http://www.jboss.org/index.ht
About your first question, if you "touch" your web.xml file in the WAR exploded
dir, then JBoss redeploys that WAR. If using linux, it's easy to do it with the
"touch" command; in windows I know there are some free utilities that do this,
but don't know where you can get them (a home-made soluti
Let me give you some more information.
I have tried using the jboss ldaploginmodule with a tomcat jaas realm. I have
been able to authenticate agains active directory, but the only group returned
was Roles. From reading some jboss documentation, I think that the active
directory groups are a
Adrian,
Could you please re-post the url above from April 22, 2003? Part of it is
missing. Is this the only workaround for this situation? I am getting exactly
the same error in 3.2.5.
Thanks,
Steve
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854340#3854
Hi, all..
My Application has 4 different war "zones" running on a single JVM
and there are common library files and all of these archives are
"exploded" on a $jbossdir/deploy/xxx.ear/...
I can go and update JSP files without redeploying..
But when I replace servlet class files or library class f
Hi, all..
My Application has 4 different war "zones" running on a single JVM
and there are common library files and all of these archives are
"exploded" on a $jbossdir/deploy/xxx.ear/...
I can go and update JSP files without redeploying..
But when I replace servlet class files or library class f
Piero,
Thanks! I just ran into the same problem and your post saved me the effort of
working the service-config out. Much appreciated.
/joel
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854329#3854329
Reply to the post :
http://www.jboss.org/index.html?m
Hi,
I want to prevent mistakes in our application. To do this, I need to disable
the session serialization.
When JBoss server is shutdown or when a hot deploy occurs, the sessions are
serialized. If the user browser is not killed, the sessions will be
deserialized after the JBoss server start
Turns out that everything that the applet is going to use had to go into my
applet ear. So, the classes reside in two places, but theoretically, should
never conflict because they're the same classes.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854327#38
I can authenticate against active directory using the jboss LdapLoginModule,
however, there are no roles returned. I am able to use a different login
module that doesn't use ldap to authenticate and authorize, but I would really
like to use an ldap implementation. Any help would be welcome.
A
Hey all,
Been going down the road of an assumption (for a while), and since assumptions
are bad, asking the question:
What tools/frameworks are available for testing J2EE Applications that are
running on Jboss?
My assumption has been that the only open-source tool that will support
in-containe
I am trying to setup the CallerIdentityLoginModule to use with the JCA adapter
for jakarta slide. I tested the ConfiguredIdentityLoginModule first, and that
worked fine, but I keep getting a SecurityException when I switch to
CallerIdentity.
I am using Slide as my user store, and I use a Slide
Forget about that, i found my (stupid) mistake!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854319#3854319
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854319
Hello Scott, thank you very much once again.
I eliminated the filter and the loggin process against iPlanet LDAP is done,
but I get the following message:
HTTP Status 403 Access to the specified resource (Access to the requested
resource has been denied) has been forbidden.
And the protected
Hi,
I have a problem locating the home interface of my ejb. The beans seem to
deploy without errors on the app server.
Here is the code I use:
private UserDetailHome lookupUser() throws NamingException {
|
| Context context = new InitialContext();
| Object objr
rmi: is not a valid jndi protocol for the jboss naming service. The string
should be "jnp://localhost:1099"
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854313#3854313
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38
May be obvious, but are you sure your JNP server is listening on
localhost:1099? Use netstat -a to make sure.
Mike
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854312#3854312
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=re
No, not without writing your own custom
org.apache.catalina.authenticator.FormAuthenticator that allows for this.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854310#3854310
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=repl
>From a java client class I tried to find out all currently
offered rmi servers (server objects) by coding:
String[] objlist = Naming.list("rmi://localhost:1099");
But this yields the exception shown at the bottom of this posting.
Why?
How do I list otherwise all objects?
Do I have to setup J
principal=cam has no roles assigned. The roles.properties file must not contain
any mappings for this principal. To be sure of what properties file is being
picked up you should define properties files unique to the login configuration
as show here:
|
|
|
|
I have a problem.
I am running a cicsr9s-ds.xml into Jboss 4.0.0. I have the cicseci.rar into
deploy folder and i have the Cics Transaction Server v. 1.3.0.
***
This is my cicsr9s-ds.xml
ra/cicsr9s
cicseci.rar
j
A redirect only occurs for authentication failures, not authorization. You map
the roles to a user using the roles.properties file as discussed in the JAAS
Howto in this forum.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854307#3854307
Reply to the post :
Show your proxy code.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854306#3854306
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854306
---
This SF.Net email is sp
This the expected behavior. The LdapLoginModule authenticates the caller based
on the ability to bind to the ldap server using the username/password passed to
the login module, not some static configuration value.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic
Hello,
When I tried to connect to the JBoss4 from a client to look up a remote session
bean, it just raised the following exceptions, please tell me what's wrong with
my programs ? The EJBs are deployed successfully without any errors.
| 00:52:48,312 INFO [EjbModule] Deploying Restaurant
OK found the problem I replace every occurence of jdbc_AdminDB by AdminDB
And I think this was really the problem:
I replace
| java:/comp/env/jdbc/AdminDB
| by
java:/AdminDB
And now it's work Fine
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854302#3
I have a similar issue. I also have hasingleton mbeans that are now dependent
on a jar that is deployed in the deploy folder (not the deploy-ha-singleton).
This works, however, the hasingleton mbeans in the deploy-ha-singleton
directory do not use the classes deployed on the deploy folder. I get
I'm looking to upgrade an HP-UX machine to JBoss 4.0, from 3.2.5. For some
reason the following three lines do not show up when starting JBoss, resulting
in the application server to not respond:
09:26:00,952 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on
http-0.0.0.0-8080
09:26:01,061 INFO
Thanks Adrian. That worked!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854299#3854299
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854299
---
This SF.Net email
Thanks a lot for the tip!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854298#3854298
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854298
---
This SF.Net email i
The MDB is called after deployment when a matching message is recognized.
Is your MDB properly deployed? Is the message propertly sent to the topic (e.g.
don't forget to commit transacted messages ;-) ? Is your MDB properly
configured to receive the sent messages (e.g. message filter) ?
View t
I am using JBOSS 3.2.5 on Redhat ES 3 with Java 1.4.2_05 and I am having a
problem with the connection listener.
I have 2 queue receivers. One that connects to a JBOSS instance running
locally, machine A, and I have another queue receiver (running on A) that
connects to a remote JBOSS on mac
I would like to use the Persistent Session Manager of Tomcat.
Therefore, I added the following lines to my
/server/tomcat5/deploy/jbossweb-tomcat50.sar/server.xml file.
|
|
|
|
But when I start JBoss i get the following er
I have not found a solution yet. Have you?
At this point we will probably use two server instances on two seperate boxes
and any other instances we want will be consumers of the message queues managed
by the original two instances.
If you hear of a solution...let me know. I'd like to get it
So, I found one small bug!
In the constructor:
public xxLoginModule() {
| log.error ( "Creating " + this.getClass().getName() );
| }
but, "log" is not defined at this point, so resulting in NPE, which is not
logged, and which results in no authentication
Setting ths log level
why don't you migrate to EJB 2.0?
http://java.sun.com/developer/technicalArticles/ebeans/ejbmigrate/
You'll find more people to help you out IMO
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854281#3854281
Reply to the post :
http://www.jboss.org/index.html
Sorry,
I'm not familiar with the SUN 'Duke Bankaccount' example.
But the result of you deployment for EJB must have an ejb-jar.xml, jboss.xml
and jaws.xml in the META-INF of the EJB.jar file
ejb-jar.xml:
EntityBean
|
| xxxDate
|
jaws.xml:
| EntityBean
|
|
this article is not very good.
Redo the whole procedure using the Getting Started book
http://www.jboss.org/docs/index#free-32x
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854279#3854279
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=pos
It sounds like you are quite close on this. I think your problem should be
pretty easy to fix. To answer your questions:
1. I don't have any authentication code at all in my webapp. The
j_security_check sets up the context for you. I don't use a struts-form for my
login. Do this: Use a st
Hi,
could anyone help me understanding whether its possible on
JBOSS3.x to implement a Digest Auth scheme for a web service (using axis) and
whether there is any example available ?
Note: It seems that Axis doesn't currently support digest.
cheers.
Giuseppe.
View the original post :
http://www
"cuoz" wrote : I just noticed this thread, and am not really sure what the big
issue is. My form based login page is a JSP and uses struts tags and tiles.
My form action posts directly to j_security_check.
|
| The struts controller servlet does not enter the picture until after the
authen
I understand that's a redirect redirect because it has been coded in this way
in the web.xml file :
FORM
/action/authenticationView
/action/authenticationProcess
Dynamicly, i can see the process authentication that succeeds :
1 - /action/authenticationProcess
Hi,
Thanks for your reply.
I simply follow the Duke bank's example and didn't change anything.
But I was compiling/packaging the programs from a Windows XP workstation and
then copy the EAR file to JBoss on a Linux server. Would this make a difference
(causing the problem)?
thanks,
jackling
Hello,
I have got some problem in trying to access my mySQL DB from my ear.
I use Jboss4.0 with MySQL and I have got the following error in Jboss console:
anonymous wrote :
| 14:40:05,625 INFO [STDOUT] javax.naming.NamingException: Could not
dereference object [Root exception is javax.naming.
I had the same problem. I think mysql is not ignoring the garbage whitespace
characters after the ';' on windows platforms. To fix, go into the
JBOSS_HOME/server/default/deploy/nukes-installer.war/WEB-INF/setup/mysql.xml
and remove all the whitespaces after the sql statement ending ';' charact
Hi,
I would like to use Tomcat 5 embed in JBoss and I have a problem when I try to
use the Tomcat's Persistent Session Manager.
With Tomcat and JBoss separated it worked well, but when I try to use the embed
Tomcat i get the following error :
14:13:10,828 ERROR [BaseModelMBean] Exception invok
Assume I deployed successfully a MDB.
Then I sent some JMS messages from another SessionBean to a JmsTopic
but the consuming MDB currently does not fetch the topic messages. Absolut no
reaction from the MDB can be observed.
The question: Does the MDB automatically recognize that there are some me
I've looked at the relevant Wiki page about writing a custom login module. I
can't get it to work at all. I'm trying right now for it to just log that its
even being loaded. I can't see anything to indicate that it is. Nor can I see
what LoginModule is being called, if any.
Any help to diagnos
You can do with it like that, and this is also possible (read that MS KB
article)
1. Create a filter with this in doFilter:
res.setHeader("Cache-Control", "");
res.setHeader("Pragma", "");
2. Map filter to pdf's:
Cache-Control filter
*.pdf
And that's it ;). Works nice with
..hmm, but I use EJB1.1...so I need CMP1.1...or not?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854262#3854262
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854262
Read this book
http://www.jboss.org/docs/index#free-40x
and forget jaws.xml which is used for CMP 1.1
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854260#3854260
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854260
Hello everybody,
I'm using JBoss 4 und EJB1.1. Now I want to know if jaws.xml can further be
used or if all specifications have to be in ejb-jar.xml (how does the
ejb-jar.xml file look like then? - Example).
Many thanks.
View the original post :
http://www.jboss.org/index.html?module=bb&op=
if you download 3.2.5, there is a service Tomcat41 ready to deploy into
/docs/examples/tomcat
It no longer exists in 3.2.6 but it should be working just fine. Give it a try.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854258#3854258
Reply to the post :
Hi alexandru,
I am getting the same error. If you got the solution to this problem then
Please let me know.
regards,
Rajesh.
2004-11-08 15:49:23,929 ERROR [org.jboss.ejb.plugins.LogInterceptor]
TransactionRolledbackException in method: public abstract java.lang.Integer
org.learn.labormgmt.cus
Hi everyone...
Im quite desperate trying to enable a JNDI lookup for several days now.
I have a signed applet contacting a stateful session bean.
Since Applets are only allowed to load code from the machine they came from the
specific code is like:
| Properties props = System.getProperties();
Hi Guys,
We have a requirement to shit our JBOSS server from Window's to Linux.
I have some problem in setting up my Linux Machine and its EVS distribution.
Looked thru the documentation, but no much luck.
Can anyone suggest a good tutorial or Send some text ?
Your Help is highly appreciated.
"sheckler" wrote : Yes, that is exactely my problem. I want the clustering bind
to an other lan address than the jboss instance does to and this is working
with 3.2.5. The -b option should n o t override the UDP.bind_addr for my
purpose.
|
| May be the physical network configuration I have
I use a custom driver (easysoft) for JDBC/ODBC connection.
I make some test to re-create DB connection when this one is lost.
It's from an applet.
When I try my connection (unplugged) with tomcat-4.1.29 : connection.isClosed()
I recieve true, but when I try the same java instruction on bundle
J
What mysql version do you use?
Mysql 3.2 has some problems with the semikolon at end of each row, but mysql
4.1 works well.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854251#3854251
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting
Hi,
looks like an Configuration/Mapping or Programmers fail.
I'm not working with MySQL.
But it seems that the DB has a incompatible datatype.
For more you must post the mapping (if you change) the JBoss version and a pice
of your DeployDesc and code...
View the original post :
http://www.jb
Yes, that is exactely my problem. I want the clustering bind to an other lan
address than the jboss instance does to and this is working with 3.2.5. The -b
option should n o t override the UDP.bind_addr for my purpose.
May be the physical network configuration I have to consider shoud better be
Hi,
I'm using JBoss 4 and after having read several instructions and posts I'm not
sure which descriptors I need in order to deploy my ejbs.
I need the ejb-jar.xml and probably the jboss.xml but what's with jaws.xml.
Furthermore it would be nice, if anyone could post a short sample of the
neces
Hi All,
I am using jboss 3.2.6 with tomcat5.
I have servlet which sends binary data in response and sets content-type as
"application/my type" but tomcat automatically appends charset=ISO-8859-1 to
content type. This is causing problem on browser. I deployed same application
on Jboss 3.0.8 wh
Hi,
Finally, I'm able to start JBoss with MySQL database server. But when I login
to the Duke's bank example, the following error come out stating problem on
DATE conversion. Pls help...:
(code)
Server Error
Your request cannot be completed. The server got the following error:
EJBException
Hi,
Finally, I'm able to start JBoss with MySQL database server. But when I login
to the Duke's bank example, the following error come out stating problem on
DATE conversion. Pls help...:
(code)
Server Error
Your request cannot be completed. The server got the following error:
EJBException
Thank you for your reply I would like to precise that I am using JBoss 4.0.0.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854242#3854242
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854242
--
Many thanks for your reply - your explanation is very enlightening and most
useful.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854240#3854240
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854240
86 matches
Mail list logo