http://jira.jboss.com/jira/browse/JBAS-69
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859571#3859571
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859571
---
SF
Its certainly one way. You can just as well use a custom ejb interceptor as
well.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859573#3859573
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859573
hello,
I 've created a web application running on redhat 8 with JBoss 3.2.1
jdk 1.4 using struts ,hibernate,oracle 8.
after deployement, the application run normally.
my problem: after a long period of inactivity (3-4 hours), the first action
(click on a ling) have an execution time of 20
There is no support of JSPWiki into Nukes.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859575#3859575
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859575
---
SF
Problem Solved (False Alarm)
Stepping through the code with a degugger showed that all the *.properties
files were actually read in turn.
The System.out.println output had showed only the last one (log4.properties)
read - leading to the misconception.
View the original post :
Problem Solved (False Alarm)
Stepping through the code with a degugger showed that all the *.properties
files were actually read in turn.
The System.out.println output had showed only the last one (log4.properties)
read - leading to the misconception.
View the original post :
anonymous wrote : if i go to the server(remotely) and press enter in the jboss
window, jboss sundenly responds
disable the QuickEdit mode of your cmd.exe
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859578#3859578
Reply to the post :
How do i secure my JBoss server as a whole in production environment ?
For example in case of Weblogic server, there will be a login page in the
first.
In case of JBoss i saw some documents , its telling to secure or remove some
services/ejbs/applications from the default installation.
The java:comp/env/ is not needed.
The string passed to lookup should match the String the component is bound as
in JNDI View (This is also not the fully qualified classname).
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859580#3859580
Reply to the post :
Securing the server is documented in the Wiki
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859581#3859581
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859581
---
SF
I think the only solution really is going to be for you to go through the
getting started guide to see some example deployments working.
The two JBoss deployment descriptors need to be added to your META-INF folder
in the jar next to the ejb-jar.xml. There are dtd's in the docs folder that
Alex, you have already started a discussion for this in another thread - please
do not waste peoples time by started a second parallel thread discussing
exactly the same issue.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859583#3859583
Reply to the post
Dear All
I don't know it is a bug or something else.
session.invalidate();
I put this code in my login.jsp, the HTTP Status 400 - Invalid direct
reference to form login page will come out.
Is it meaning I can not disable a session in login.jsp?
Login.jsp uses j_security_check as action.
There is a bug in the javax.management.monitor.Monitor class that prevents me
from using StringMonitors. I know how to fix the code, but I'm looking at a
production environment where I want to deploy the change with a minimum of
effort. In particular, I don't want to get into building and
Hi all,
I am getting the following errors on starting Jboss 4.0 , while trying to set
up the folllowing code in ejb-deployer.xml for Timer Persistence.
16:13:25,968 ERROR [MainDeployer] could not create deployment:
file:/C:/Servers/Jboss/server/default/deploy/ejb-deployer.xml
mbean code=org.jboss.jdbc.HypersonicDatabase
name=jboss:service=JbpmDatabase
attribute name=Port1521
attribute name=Silenttrue
attribute name=Databasejbpm
attribute name=Tracefalse
attribute name=No_system_exittrue
/mbean
in jbpm configuration if i am using Oracle Database then what
i have succesfully integrated jbpm with oc4j n oracle 8i here is the step by
step methods for it
Summary:
This document describes procedures of downloading, deploying, and running
jbpm2.0 on Oracle9I database and application server
Hi,
I am trying to get JBOSS running on an iSeries 250 using OS/400 V5R2M0 with
JDK1.4.
I stared with JBOSS 4.0.0 binary and got the error :-
09:32:14,484 ERROR [MainDeployer] Could not initialise deployment:
file:/jboss-4.0.0/server/default/conf/jboss-service.xml
So I thought it may be I
hi all,
Is it possible for us to get user id and password used by client to request my
web service? is yes, how?
I need to get the user id and password to check against my database wheter the
user is a valid user.
please guide...thanks.
View the original post :
Hi Stefan,
anonymous wrote : Well, just forget the WHERE clause and you will get the names
of all customers.
| Correct, but I get all the rest of the customer, too. Try it. JBoss may be
not able to give only parts of an Entity-Bean.
anonymous wrote : Anohter possibillity is to define
You may want to download 4.0.1RC2 because I noticed in the change log that a
derby datasource has been added to the distibution and it may help. I can't be
sure though as I've never used Derby.
Mike
View the original post :
Hi Everybody,
I am new to JBOSS, I have written a simple applet that displays a simple
Jtable.But it is giving following exception while loading the applet.
java.lang.ClassNotFoundException: javax.swing.JApplet
at com/ms/vm/loader/URLClassLoader.loadClass
at
Hi to all,
does anyone know how can I configure Hypersonic to JBuilder?
I am using JBuilder 2005 and I can't make the JDBC driver of HSQL appear to the
database Pilot. I have already added the libraries to JBuilder.
View the original post :
anonymous wrote : Looking back at my post I didn't say that I put code in my
constructors. I'm not sure what you're saying??
anonymous wrote : Is there any way to tell JBoss to call newInstance() on my
MDB's as soon as they are deployed?
That is where I am getting that you have code in the
Arne,
you should really make yourself familiar with
the documentation of Jboss, it will help you understand
how ejb-selects are _different_ from ejb-finder methods.
They ARE used to retrieve only a single field of
an entity bean. You also should take the time
and read the chapter about load-sets
Thank you for your response Mike. I cannot use RC in my setup, because we are
near to release, but at least I can check it for details of configuration (I
hope it was not changed totally).
Thanks,
Pavol
View the original post :
sorry - my bad. I was assuming that it was understood in my poorly phrased
post that the container calls newInstance() which is what happens first.
Anyway, thank you for the info on how the Pools work.
Mike
View the original post :
Unfortunately, this applies only to versions prior of 3.2.4. I need to deploy
on JBoss 3.2.6 Has anyone had any success in this?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859603#3859603
Reply to the post :
Which are the two files?
Is it jbosscmp-jdbc.xml jboss.xml?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859604#3859604
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859604
I've rounded up the neccessary for asking for a password on a webapp -
including the security domain and the properties files and that works. However
I'm having problems with encrypting a password for this module. I've tried
various MD5 encryption/base64 encoding tools but to no avail - no
Hi,
I am using Jboss 3.2.6 with the SLQ92 Compiler and have the following
problem:
I have 3 CMP entity beans (A1,A2 and B) both A beans hava a
1-1 relationship to B (A1 1---1 B 1 --- 1 A2). I can create a new
instance of A1 and call b.set(a1), however the exact same call
failes if I create a
Hi Thomas
I am trying to invoke .NET WS from Java Axis client. I am able to invoke the
WS but not able to pass parameters. In .NET it is receiving as null for
sting. I searched the forum and found that AXIS by default uses RPC and .NET
by default is Document. So If we force the .NET to use RPC
Under the system properties service, if I configure a few properties, how do
those get exposed to me in the running system. Do I just grab a handle on them
with System.getPropery()?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859608#3859608
Reply to the
Hi!
This topic have been covered, but i have a little bit different problem: I have
my own JCA adapter to EIS called ECS and when i'm invoking such code using
sevlet everything works fine, but when I try to put it in Stateless EJB
container throws an exception (stripped try - catch
How is this related to JBoss.NET?
You can turn on debugging for org.apache.axis to get a better understanding of
what is going on.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859611#3859611
Reply to the post :
Where would your try catch statements go?
Why did you strip them, they are a very important part of the code.
Is your close in a finally block?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859615#3859615
Reply to the post :
Hello!
I made the changes you suggested in my servlet, that is,
out = response.getWriter();
Context initContext = new InitialContext();
Context envContext = (Context)initContext.lookup(java:/comp/env);
DataSource ds = (DataSource)envContext.lookup(java:/comp/env/jdbc/XAOracleDS);
Connection
I have a CMR relationship using a foreign key mapping and a CMR relationship
with a relation table mapping:
user(id_user)
info(id_info)
info_user(id_user,id_info) == a relation table mapping
How can I add another field in info_user table ?
for example date and statut fields
==
Hi all,
I am getting the following exception one of my thread is trying to add/remove
DS entry and if I click on 'java.lang.String listContent()' under
DistributedMBean service of jmx-console.
500 Servlet Exception
RuntimeMBeanException: RuntimeException in MBean operation 'listContent()'
Two xml files has added in to the EJBJAR but I got error during deployment.
jboss.xml
| ?xml version=1.0 encoding=UTF-8?
| jboss
| enterprise-beans
| session
| ejb-nameCmsequenceManager/ejb-name
| jndi-nameCmsequenceManager/jndi-name
| resource-ref
I'm interested in getting some developer feedback on how easy it is to move an
application from WebLogic to JBoss. Also, if I start an application on JBoss
and then decide I want to switch to WebLogic how easy is it to migrate to
WebLogic? We're a web design shop, but have been asked to
I had the same problem, I solved changing the action like below:
form action=%=response.encodeURL(j_security_check)% method=POST
Cookies was turned off...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859622#3859622
Reply to the post :
If your knowledge of J2EE is limited I would say that expecting to be able to
move easily from one server to another could be quite risky.
If you are coding by trial and error you are likely to start taking advantage
of the specific implementation details of the application server that you
First, I would make sure you have the latest IBM java filesets installed (i.e.
up to date in terms of JVM).
Next, I would check to make sure that you are using the appropriate xerces and
xalan classes (your VM might be bundled with older versions which have trouble
parsing jboss' xml config
Yes, System.getProperty is the correct accessor.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859626#3859626
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859626
---
See:
http://www.jboss.org/wiki/Wiki.jsp?page=UsersRolesLoginModule
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859628#3859628
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859628
Cheers, thanks. It gives me something to work with.
Roger
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859629#3859629
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859629
The patchdir option adds the jar to the start of the bootstrap classpath and
can be used to override the microkernel jars including jmx. Post the patch to
jira.
http://jira.jboss.com/jira/secure/JBJMX
View the original post :
Apparently the interface has not been configured for
multicast traffic.
Scott
StarkChief Technology OfficerJBoss Inc.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
YeoSent: Tuesday, December 21, 2004
Esther,
I think the problem (now is how you're specifying the JNDI-based name to the
'lookup()' method. Here's some code I used for a BMP bean I wrote:
| private DataSource jdbcFactory;
|
| private Connection getConnection () throws Exception {
| InitialContext c =
You're going to have to supply a bit more information. It looks like something
is happening at 'loginBean.java:266' (loginBean.setEntityContext(). What's
happening there?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859632#3859632
Reply to the post :
Hello,
I have create a Timer table in by Oracle 9i database:
create table TIMERS(
| TIMERID varchar2(80) not null ,
| TARGETID varchar2(80) not null ,
| INITIALDATE timestamp not null ,
| TIMERINTERVAL number(20) ,
| INSTANCEPK raw(2000) ,
| INFO raw(2000) ,
Apparently the new version is using java bean property editors for the string
conversion, and jboss installs its own date property editor. This is simply
doing the following:
|public Object getValue()
|{
| try
| {
| DateFormat df =
I am getting this exception from JBoss v 3.2.6 I am using JMS and I am unsure
what is causing this error. The full stack trace follows:
org.jboss.mq.il.uil2.ServerSocketManagerHandler Exiting on IOE
java.net.SocketException: socket closed
at
I entered here to tell you I solved my problem when I see your answer.
Finally, I changed my oracle-xa-ds.xml for the oracle-ds.xml defined in
docs/examples/jca, changing the url, user and passwords.
In my servlet, i made the connection in that way..
DataSource ds =
Give the wiki steps a try and indicate what did not work.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859640#3859640
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859640
See:
http://www.jboss.org/wiki/Wiki.jsp?page=IGetXAConnectionFactoryNotBoundHowDoIFixIt
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859641#3859641
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859641
I just have a few questiosn on the portability of JBoss's JAAS and security
implementation.
I'm writing an application, as a hobbyist, that requires users to authenticate.
It then checks certain requests against a users rights assignments to
determine if the user has access to those
I am using 3.2.5. It works great for most of part. When use logout for
session.invalidate(), it removes the session object in one node. But the
session still could get the object from the other node. It keeps the object in
the session and I could not remove them. Anyone have any solutions for
Thanks for the info.
I have just tried this and again the same error message.
I have noted that JBOSS lists the JVM and JAVA version which on the iSeries is
:-
18:10:42,774 INFO [ServerInfo] Java version: 1.4.1,IBM Corporation
18:10:42,784 INFO [ServerInfo] Java VM: Classic VM 1.4,IBM
Nevermind! Found the article Tomcat 5 Clustering In JBoss Release 3.2.6 at
http://www.jboss.org/developers/projects/jboss/tc5-clustering.html.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859646#3859646
Reply to the post :
FIXED:
http://sourceforge.net/tracker/?group_id=22866atid=376685func=detailaid=1067726
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859652#3859652
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859652
Hi,
no, the SPECjAppServer2004 deployment don't work. It seems that I could not use
the deployment descriptors which I used in a JBoss 3.2.3 cluster environment.
In JBoss 3.2.3 cluster the queues was transparent to the application, so I do
not need to use an other port to look up the queues.
Hello all
Well, we are using Jboss server and out of the package it has
all/default/minimal configured serves.
I had done the following to setup our own custom server for our application. I
need you guys to validate the process and approach that i used and provide any
feedback or improvements
Scott - do I need to do anything in terms of creating a specific DB for this
use of JMS by JBoss? Or does just pointing it to the correct DS is all it
takes? Will JBoss create the schema, etc..? I read that I may have to tweak
the schema somewhat by creating our own indexes and so
Using JAAS in the app server context usually involves 3 different things:
1) Configuring the required JAAS login module(s) with the application server.
2) Associating the JAAS configuration with the EJB components
3) Using the proper JAAS configuration on the client application side (servlet
Thank you for your response. I got that problem because I was playing around
with env object and I removed all those statements and I am no longer getting
this problem, however I stepped into another issue. Here is the infofrom
server.log. As you see the find, activate, load all worked
Never mind, I was able to solve that problem as well. I have found out that I
had to define the hashCode() and equals() method for my primaryKey class. Wow
that was a great catch thanks to Google and somebody came across a similar
issue.
Thanks again
View the original post :
To determine the full version of your JVM, type $JAVA_HOME/bin/java -version
from the command line.
Based on that, you can go to IBM to determine if they have patches/updates
available for you.
Also, you might want to post more of the server.log output because
09:32:14,484 ERROR
Did you find a fix for this?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859667#3859667
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859667
---
SF email is
New user to the world of Jboss and J2EE (EJB?s). I have learned that for EJBs,
security can be added by configuring the ejb-jar.xml file and in it assigning
roles to each bean and their methods. Then we can package up the xml and the
ejb?s and deploy them to Jboss.
My question is what if I
can anyone please help me with the following
thanks
ros
trying to implement the JBoss-ws4ee Hello world example
everything seems to work on the server side (default deployment)validate works
ok view shows my service in my availble services along with a link to my wsdl
file However,...
Thank you very much for a clear and concise answer!
I guess it's time to RTFM and see if I can make JAAS work, that will save me a
lot of coding.
If it comes down to it; Does building user management, session management,
permissions, etc. into your application violate any J2EE priciples or
Can someone please help?
I want to let users modify their username.
How can I flush the cache entry of this specific user and not
of the whole application?
Thanks in advance (hoping for some replies)
Erez
View the original post :
Can someone please help?
I want to let users modify their username.
How can I flush the cache entry of this specific user and not
of the whole application?
Thanks in advance (hoping for some replies)
Erez
View the original post :
I do not think you are violating any J2EE standards if you are implementing all
that on your own.
It is the same thing as saying that you are using something like Hibernate to
manage persistence instead of entity beans. Your are not violating the J2EE
principles when doing that, you are just
It violates the aspectization of the security out of the business tier, but if
the role based j2ee security model does not work for you, it does not work.
Unfortunately there are no consistent integration points that allow for
portable security into both the ejb and web tier. Servlets have
http://www.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859676#3859676
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859676
The tables will be created based on the ddl in the persistence manager
configuration. You may need to tweak that for the database in question.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859677#3859677
Reply to the post :
Its does not make sense to call session.invalidate from the login page as this
is equivalent to doing a logout. It kills the session that was created for the
current login process.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859679#3859679
Reply to the
Okay, I got rid of java:comp/env/
Below is what I see under jmx-console jndi view:
Ejb Module: EJBs.jar
java:comp namespace of the ConcurroSession bean:
+- HandleDelegate (class: org.jboss.proxy.ejb.handle.HandleDelegateImpl)
+- ORB (class: org.jacorb.orb.ORB)
+- env (class:
Add the following category level to the conf/log4j.xml:
|category name=org.jboss.security.auth.spi
| priority value=TRACE class=org.jboss.logging.XLevel/
|/category
|
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859681#3859681
Reply
Good to hear you're on your way. I have to admit that I use Xdoclet for code
and deployment descriptor. Works great. Never have to worry about missing
items in interfaces, value object or PK classes, descriptors, etc.
View the original post :
Glad to hear you're on your way
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859683#3859683
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859683
---
SF email is
Unless you are using scoped deployments, the JAR file would only get loaded
once anyways.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859684#3859684
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859684
I am a real newbie in this subject of JMX.
I am using MyEclipse/Eclipse JBoss 3.2.5 and I would like
to use JMX.
Do I need to download something to be able to
import javax.management.XXX?
If so, from where?
Thanks in advance,
newbie
View the original post :
You'll have to include a Level 3 Document Object Model XPath implementation
yourself.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859686#3859686
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859686
Report it is a bug. http://jira.jboss.com/jira/browse/JBMQ
Even if the IBM Xid implementation were serializable, it would fail to
deserialize
on the server unless you put that class inside JBossMQ.
The fix is trivial if you want to attempt it yourself and post the patch:
In
I notice that there is a lot of overhead involved in creating a new session
bean rocal or remote interface, and that XDoclet-generated Delegate classes
allow for caching the remote interface rather than re-aqcuiring it on each
request. This improves performance markedly. But I also notice
Moderated: It does not work posts get ignored. See READ THIS FIRST
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859689#3859689
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859689
Moderated: Do you really anybody is going to answer this question?
http://www.jboss.org/wiki/Wiki.jsp?page=JBossForums
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859691#3859691
Reply to the post :
Moderated: USE SEARCH
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859692#3859692
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859692
---
SF email is sponsored by -
Suggestion: Read your documentation for the jdbc driver and database, in
particular the part about character sets.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859693#3859693
Reply to the post :
Moderated: READ THIS FIRST
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859694#3859694
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859694
---
SF email is sponsored
Patch posted to JIRA, but the patchdir option has me stumped. The fix works,
since if I replace the class directly in $JBOSS_HOME/lib/jboss-jmx.jar, my
program works correctly. However, if i make a jar with the corrected class, put
the jar in a patches directory and use the --patchdir option,
We are tryng to use http invoker to do the JNDI lookup and also JMS.
For the http invoker, we configure it to require HTTP Basic authentication. We
use a LoginContext as per HTTP invoker and BASIC authentication
http://www.jboss.org/index.html?module=bbop=viewtopict=31441 . The code
I have done some reading about being able to transparently (without changing
method signature) pass context information across the different tiers and
components of an app server.
It seems that WebSphere provides this Work Area service (JSR 149), WebLogic
does not provide anything (except a
No way, I got the same problem..
any help
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859700#3859700
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859700
---
SF
The page says :
In conf/jboss-service.xml change the scanner to the following:
True
well, my confs is already contains this line ! changing the value to false, a
new exception is thrown...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3859701#3859701
What the hell, nearly 18 months after the jsr 149 expert group was formed there
is not even so much as a draft?
We already have a detached invoker framework that allows for propagation of
context with calls. Coupling this info to the security context does not make
sense to me. Do you have any
1 - 100 of 107 matches
Mail list logo