Is jta transaction in jboss threadlocal? When a session bean executes with
required transaction attribute, then the session bean will hold a thread, in
jboss3.2.1 TxManager it will attach a transaction with the session bean using
threadlocal, but I wonder if so how to support requirednew att
Can I config tomcat in JBoss the same way as I do in standalone Tomcat server?
I want to disable the session persistence in my web application in JBoss. While the
config (in server.xml)work in Tomcat 5 server, it can not take effect in JBoss. I am
confused about the tomact setting in JBoss.
Loo
Hi,
I recently read [url=http://j2eeadvisor.com/doc/14180]here[/url] that sometimes it is
beneficial (performance-wise) to use stored procedures for more complex queries (i
guess instead of entity finder methods). but does using stored procedures force one to
abandon CMP, and use BMP?
on that
The problem was fixed after we recreated the schema
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844056#3844056
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844056
-
Hi !
I am having the same error.
Did you manage to fix it ?
Any solutions/tips/hints ?
TIA,
Kunal
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844055#3844055
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844055
I seem to be missing something rather basic here. Out of curiosity, I changed the
authentication method to BASIC and it worked perfectly fine. I am really really
confused as to what is wrong with Form based authentication here. I can't used Basic
auth method.
Any suggestions or alternatives tha
In addition to the above,
I have upgraded to JBOSS 3.2.5-tomcat 5.0.26. still can't find where to configure for
the certificate principal mapping class in the JbossSecurityMgrRealm. knowing that
JbossSecurityMgrRealm is hard coded and there is no way to replace it with other
realm. and you can
I believe JBoss AS is an open-source J2EE compliant App Server.
Can anybody tell me where I can find its source codes.
Thanks in advance.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844052#3844052
Reply to the post :
http://www.jboss.org/index.html?modul
"darranl" wrote : It is not an issue it is standard J2EE behaviour as described in the
EJB specification.
|
| JBoss does have a configuration file that allows the timeouts to be changed, this
is described in the administrators and developers guide.
darranl thanks for your input but i've see
i have exactly the same problem, and your description of its behavior is very
accurate. I want to find out a way to test whether the bean is still valid.
my stupid way to do it is this. i have a public void dummy() method in the home
interface and the bean. then in the client i have
try {
home.
Even I am facing the same problem. Using Jboss3.2.1(Jetty).
Besides that I was also trying to mix protocols after login.
Any help is appreciated.
Thanx in advance
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844046#3844046
Reply to the post :
http://www.j
I have setup JBoss 3.2.3 on Solaris 9, and I would like to know how to configure SSL
for it. I am novice for JBoss environment, can someone directly me to a
walk-through(step-by-step) configuration instruction for SSL?
Thanks for your time.
-Vinay
View the original post :
http://www.jboss.or
I actually did work the problem out. I'm sorry I forgot to post back with what I
found
In my case I did not use log4j. Instead I'm using java.util.logging which I then add
a custom JDBC Handler to because I am logging to a DB table rather than a file or the
JBoss server log file. Extra h
Hi,
I'm having problems setting up JAAS security in JBoss 3.2.3.
(I have few years experience as java programmer, but JBoss is relatively new to me). I
would be grateful if someone can help me with this problem.
I configured DatabaseServerLoginModule, set up Principals and Roles tables in HSQL a
Yes, building a WSR (Web Service Archive) is exactly like building a JAR. Mine
generally contain only the "META-INF/web-service.xml" file. I don't put anything
special in the MANIFEST.MF, I just let the jar command build one.
The EAR should reference the WSR in it's "META-INF/application.xml"
Thank you for the reply Alexey!
However, I should have been more clear with my question. What I'm really trying to
find out is the trace of the findByPrimaryKey() method. I want to understand how the
container behaves when findByPrimaryKey() is called and which components are invoked.
I am awar
Hey Richie,
I have exactly the same problem as you.
Have you found an answer or a work around?
Thanks,
Francois
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844040#3844040
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=repl
Hi,all,
I am doing a project which upload a file and then insert the parsing result into
the DB(Oracle 9i). The situation is like this,there's main lineitem table and another
2 dependent tables,Each mainline will have a couple of vlaues to be inserted in the
dependaent tables.
The obser
I am by no means an authority on this subject.
This is kind of a known problem with log4j and application containers. Or, rather,
it's not really a problem because this is the expected behavior. Or so I've gathered.
>From what I've puzzled out the problem is all about Class loading. When y
Hello all,
I have the same problem, I know that with weblogic you get a tool for generating the
client JAR, does anyone know of a tool to do the same thing for jboss?
Thanks,
Drew2002.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844037#3844037
Reply to th
Yea, I think that is right, that is the index.jsp that has nothing in it. Actually, I
dont think I have any servlet-code that connects to a session bean in a full package,
maybe somewhere on the site.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844035#384
you may initialize your value object's like String attribute to "";
hth
aalmero
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844033#3844033
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844033
--
you can use this script below.
#!/sbin/sh
| case "$1" in
| 'start')
| echo "Starting Jboss Server"
| /usr/jboss/bin/run.sh>&1 | tee /var/log/jboss &
|;;
| 'stop')
| echo "Stopping Jboss Server"
| #PID = /usr/bin/pgrep java
| /usr/bi
from the sql generated
Executing SQL: CREATE TABLE Workgroup (id VARCHAR(256) NOT NULL, name VARCHAR(256),
CONSTRAINT pk_Workgroup PRIMARY KEY (id))
the error states that VARCHAR max length should only be 255.
hth
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtop
you can remove other entries as they are optional. consult your DBA for the ff:
youroraclehost = can be the ip address of the oracle machine
yoursid - system identifier
username
password
|
| OracleDS
| jdbc:oracle:thin:@youroraclehost:1521:yoursid
| oracle.jdbc.driver.Or
The scenario:
I am using JBossMQ to hold transient data that is passed to a Queue then to an MDB,
data is processed and the result goes to another Queue and another MDB and then the
final result is put into a MySql db. The MDB's are pooled using the default config in
"standardjboss.xml". For a
MC4J Management Console does not support remoting for jboss.
see the requirements section in http://mc4j.sourceforge.net/usageJBoss.html
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844028#3844028
Reply to the post :
http://www.jboss.org/index.html?module=
I have a MDB that receives a message and then creates two messages that it delivers
onto two different queues. This system will eventually (if I ever get it there)
receive hundreds of thousands of messages an hour, so it's important I figure this
out. When I put a few hundred messages onto the M
As far as configuring Jetty to log requests and responses..I can't help you.
However, if you need a quick solution for debugging purposes or whatever, I recommend
Mozilla Firefox with the LiveHTTPHeaders plugin. This combination allows you to view
the requests your browser sends, and their
Hi pique and darranl
Thanks for the info. You may both give me a virtual kick in the pants.
DarranI, in fact, these lines should point to the business (i.e. Remote and
((local??)) interfaces, not the homes.
A further problem is that if I point the business interface to Remote, everything is
OK
I'm using Jetty as the web container in my jboss installation. How do I go about
configuring the request log so that it prints out the entire http requests and
response?
Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844024#3844024
Reply to the post
We had trouble with isapi_redirector2.dll also. Large file uploads failed.
isapi_redirector.dll has performed fine.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844023#3844023
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=
Thank you very much.
The one think I can't understand it's why my cache in this situation still recieves
messages. I don't mean that my onMessage() method being called, but when I look at
profiling statistics for my test code I see that most part of time it's took to read
from soket in JMS liste
I found the solution myself.
There is a UserTransaction object registered in the jndi tree ("UserTransaction").
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844021#3844021
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p
When I start JBOSS using the LD_ASSUME_KERNEL at the top of the run.sh (which works
fine on Redhat 9) I see about 50 JBOSS processes. Is this normal? When I take the
export LD_ASSUME_KERNEL out of the run.sh then I see only 1 JBOSS process. Either
way, JBOSS seems to work but I was not sure i
i have problem when deploying the EJb with the same ejb-ql.
This is the error...
ERROR [org.jboss.ejb.EntityContainer] Starting failed
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'select
object(o) from BprInstSubProActivityEJB o where o.pngId = ?1 and o.insId = ?2
Some more infos: In a simple ejb client, I can not call
session_context.setRollbackOnly(); because a simple ejb client has no session_context.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844018#3844018
Reply to the post :
http://www.jboss.org/index.html?m
Hi,
we intend to call an ejb (version 2.0) from a stored procedure (java).
Here in pseudocode:
SQL statement 1
SQL statement 2
call to EJB session bean
SQL statement 3
If SQL statement 3 fails, will all the ejb stuff (made by the session bean) roll back
also?
How can I demarcate transactions
I hope the un-tag-enclosed strings "HR Misc Apps" and "Test Servlet" are actually in
CDATA tags like this:
|
|
If you use the code and /code tags inside [] it will display your code properly.
The URL patter must begin with a "/" So try /test instead of test, or you could try
/test/te
Turned out to be pretty easy .. issues were all related to refactoring of
JavaServiceDesc from ServiceDesc (I suppose to support C?). Anyway, casting
ServiceDesc to JavaServiceDesc at the 4 error points seems to have made it all work ..
unfortunately it didn't fix my particular problems, but it
I tried your suggestion and it looks like we're making progress. The server.log now
gives the below error. The exact web.xml is also listed below. Do you know why this
URL pattern would be invalid?
2004-08-03 15:48:25,488 ERROR [org.apache.catalina.startup.ContextConfig] Parse error
in appl
Hello,
Does Jboss support and is certified on z/os and zLinux mainframe systems? What
platforms does JBoss support?
Thanks,
abj.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844013#3844013
Reply to the post :
http://www.jboss.org/index.html?module=bb&o
I think I found the solution to logging seperate applications through seperate log4j
instances vice the container wide logger.
It is here.
I think I need an aspirin now..
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844012#3844012
Reply to the post :
But the relationship is not destroyed... If I run the clear statement alone and then
commit, no changes are made to the database whatsoever
The only way to destroy this relationship in the db is to delete the rows (because the
relationship resides in the primary key of the child record).
"briana" wrote :
|
| http://java.sun.com/dtd/web-app_2_3.dtd";>
|
| HR
| HR Misc Apps
|
|
| TestingServlet
| /test
|
|
|
Is this the full text of your web.xml file? If so, you need to declare the servlet
before you declare it's mapping. Like this:
|
| http
Is there a better way to know whether an entity bean exists other than trying a finder
and catching a FinderException ? (I dont like the idea of having an exception for an
unexceptional state)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844008#3844008
Re
I couldn't really decide which forum to put this in, so this one sounds as good as any.
I've been tooling around a bit with Jakarta's log4j, and it seems to be an awesome
utility to have. Needless to say, I'm now interested in using this library in
applications. For the most part I understand
"jamesstrachan" wrote :
| As an example, if you are expecting 100,000 help desk records a year, provide for
1,000,000 numbers before rolling round. The system will roll round to 1 after ten
years, and it is highly unlikely that any low numbered records will still be around.
|
This, I thin
Hello Alexey,
The SQL-statement that JBoss tries to execute is:
anonymous wrote : Executing SQL: INSERT INTO COMPONENTFIELDVALUE (CONTRACT, COMPONENT,
FIELDNAME, SEQUENCE, VALUE, contract, component)
| VALUES (?, ?, ?, ?, ?, ?, ?)
I switched the Datasource to Oracle in the meantime and got t
Hi,
I have a Login module that I use with SSL client certificates. The log from the module
suggests that it is invoked by the JaasSecurityManager on every client call, even when
the client (and principal) is previously authenticated, and the principal is in the
cache. Other username/password ba
Hi ,
I have jboss3.2.5 running in production with jdk 1.4.1_02. I am facing this error
java.lang.IllegalAccessError: class oracle.jdbc.driver.$Proxy576 cannot access its
superinterface oracle.jdbc.driver.ScrollRsetStatement
at java.lang.reflect.Proxy.defineClass0(Native Method)
a
I would like to deploy (loosely speaking) a simple web app that is not much more than
a helloworld.jsp. Under Tomcat I can create a context directory, have a WEB-INF empty
dir there and a single JSP file in the context dir.
How(if i can) do something similar in JBoss if I don't have a war file
>From reading the XDoclet documentation you need to remove the following lines from
>the @ejb.bean section: -
* local-business-interface="natis.interfaces.TestBeanLocalHome"
| * business-interface="natis.interfaces.TestBeanRemoteHome"
You have instructed XDoclet to use the local home
Hi,
I'm getting a response message back roughly along the lines of:
|
|
|
|
| ...
|
Please say if I taken out too much detail.
I understand what the href + multiRef is doing, however some of my web svc client code
doesn't seem to like this. It is expect
I am working on an application which uses Struts 1.1.The application uses nested tags.
..
.
The myProperty is an object whose getter/setter is defined in the form bean and and
it is set in Action class.
The childProperty object is initialised with data from the database views with the
It can't be done because this setting was not externalized. It will be for the
3.2.6RC2 release.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843994#3843994
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843994
---
Designing today for this empty statement is pointless:
anonymous wrote :
| J2EE.3.7.2 Instance-based Access Control
| Some applications need to control access to their data based on the content of the
| data, rather than simply the type of the data. We refer to this as
Âinstance-basedÂ
|
I just brought up a site with nukes and needed to protect a "members" area. Here is
what I did:
1. I defined a group that all users should be a member of to be able to read the
members only area.
2. I created a page with id "/members/index.html and put some content on it
3. Using the permissi
In a secured context managed by JAAS, must a JBoss ServiceMBean have to login to
access Beans ?
Even if the service is logged by a LoginContext, I've an error: Principal==null when
this service call the method create on the Bean Home after the authentication
(succeded). What's the problem ?
Th
euh?
group="" level="READ" pattern="::"
group="admins" level="READ" pattern=".*:.*:.*"
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843990#3843990
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843990
-
I mean, if I set :
sorry.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843989#3843989
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843989
---
This SF.Net ema
please help!!
if I set :
for my HtmlBlock, simply, doesn't it mean that any other group I created that's diff
from Anonymous and Admins won't see the block??? is there a reason why it wouldn't
work? also, when one logs in, the html module is called, so I can forbid just a page
by using
Hello Scott,
I agree this can be done today but looks to me this is going to be part of the J2EE
framework in the future. I'm referring to J2EE 3.7.2 "Instance-based Access Control"
in the following document:
java.sun.com/j2ee/j2ee-1_4-pfd2-spec.pdf
Sebastien.
View the original post :
http://w
Hi,
I wonder how I can set the certificatePrincipal attribute on the JBossSecurityMgrRealm
used for web applications in Jboss 3.2.5.
I've tried to add a Realm element inside both the Engine and Host element to the
server.xml-file in jbossweb-tomcat50.sar, but no luck. That is, an instance of th
Hi all, got workbook source code, just follow links for java books , and there is a
link to the workbook download from the book page itself.
Problem :
When I build the examples with ant JBOSS throws an exception :
ejb-jar.xml must define a valid DOCTYPE!
Any ideas ?
Thanks in advance .
*** F
Thanks for the reply. I can try this. Is building wsr file similar to jar file??Also,
can you tell me what needs to be included into application.xml?
Thanks,
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843984#3843984
Reply to the post :
http://www.jboss.
Do you have a special need to access the AdminClient directly?
I generally put the WSDD in a "web-service.xml" file an build a WSR with that. The
WSR is laid out like:
| mywebservice.wsr:
| META-INF/
| META-INF/MANIFEST.MF
| META-INF/web-service.xml
|
The WSR is referenced in
Hi all,
I am trying to write a standard Mbean that could return me the status of a server or
any property of the server. I am able to write a sample Mbean and deploy it in Jboss
and acess via JMX-console (ie HTML adaptor)? How do i acheive this if my client is a
java application rather than a br
Run the code that accesses the datasource inside the application server.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843981#3843981
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843981
Hi,
I'm having trouble when trying to rollback a transaction when a new entity bean is
created. The problem is that if a rollback occurs (calling the setRollbackOnly()) all
the changes are rolled back but the row is not deleted, even though the create() call
on the entity bean is beeing made in
Thank you for your replies. I tried both suggestions and it works now.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843979#3843979
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843979
-
In that case probably only from 3.2.3 onwards. 3.0 is pretty old, why not use a more
recent version of JBoss?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843977#3843977
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=
Putting some more info in the above post...there are times when we see the following
error in the JBOSS_HOME/server/all/log/server.log file:
2004-08-03 16:55:25,328 DEBUG
[org.jboss.ha.httpsession.server.ClusteredHTTPSessionService] getHttpSession called
for session: cIROaQ-rCKQpZmYvGPLR+w**.an
I am using jboss3.2.5 with Tomcat as web server. I want to configure the datasource
name. But we are not using ejbs. The application is just using simple java classes,
jsp and servlets. The DataBase is MySQL. How to configure the DataSource name in jboss
for the application. Is it possible using
Hi all,
We are setting up a cluster of servers, the specifications are as follows:
OS: Windows 2000 Professional
JDK: jdk1.3.1_04
JBoss version: jboss-3.2.1_tomcat-4.1.24 (on 2 nodes viz server1 and server2.)
Apache: 2.0.45(installed on server1)
We have included element in the web.xml of our
Hi,
i've a WEB application using EJB CMP, Stateless session bean, servlet, jsp
The question is: how can i work in a non "packaged" environment ?
now i produce an ear that i put under deploy directory, but every times i modify
something i need to redeploy
How can i organize my directory, and wi
Auto-resolved! ;)
Solution:
* @jboss.declared-sql signature="java.util.Collection findByInfo(java.lang.String
info)"
* where="info LIKE '%' || {0} || '%'"
* strategy="on-find"
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38439
Thanks Topricana for the response.
As I am very new to programming I am still learning( almost end user till last month)
I have a page where the user enter the details in fields. As soon as I visit the page
I see the fields as displaying null.
But if I navigate to the same page thro' some other l
Dear All,
Can anyone confirm that SSO is supported in jboss-3.0.8_tomcat-4.1.24? I
ask as the official wiki on SSO mentions jboss 3.2.*, not 3.0.* (i.e.
http://www.jboss.org/wiki/Wiki.jsp?page=SingleSignOn).
Best,
Conor
View the original post :
http://www.jboss.org/index.html?modul
when i use tcpdump to sniffer the packets on node 2, i found that nothing packet from
node 1.
So i think that the real jboss clustering haven't setup correctly. i think some config
files need to config. so who can give me more help...?
3ks..
View the original post :
http://www.jboss.org/inde
i have set a jboss clustering . but i think have some wrong.
when a node (ip1, http://ip1/index.htm )is down, another can get the session (ip2,
http://ip1/index.htm ). I haven't get the clustering work well.
so who can figure the steps how to test the Jboss 4 RC1 clustering ?
thanks a lot.
Before I reinvent the wheel...maybe somebody can point me to a good working
implementation of a service locator for a jboss cluster
Thx Tilman
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843964#3843964
Reply to the post :
http://www.jboss.org/index.html?m
Are there any errors higher in the output?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843963#3843963
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843963
---
Th
Post error:
where="idA LIKE '%{0}%'"
is
where="info LIKE '%{0}%'"
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843961#3843961
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843961
-
JBOSS: 3.2.4
PostgresDB: 7.4.2
EJB XDocLet declaration:
* @ejb.finder signature="java.util.Collection findByInfo(java.lang.String info)"
* query=""
* @jboss.declared-sql signature="java.util.Collection findByInfo(java.lang.String
info)"
* where="idA LIKE '%{0}%'"
*
As a first step, include attribute
"extends" and "local-extends"
in tag @ejb.home and @ejb.interface
like this
* @ejb.home
* extends="javax.ejb.EJBHome"
* local-extends=
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843958#3843958
Reply to th
opps the snipped wasnt seen correctly here it is :
mbean code="org.jboss.varia.scheduler.Scheduler"
name=":service=Scheduler"
attribute name="StartAtStartup"true/attribute
attribute name="SchedulableClass"mypackage.util.jmx.JMXLogScheduler/attribute
attribute name="Schedulab
Hi
I am using jboss-3.2.2 for deploying EJBs on red hat OS.
Any one could pls. send me some source code (links) where i can test ejb-security
involving EJBs.
I require some sample examples of JAAS authentication on jboss-3.2.2, & EJB security.
Thanking in advance.
View the original post :
ht
Hi
How can I update the following xml snippet so that it would be scheduled to every day
at midnight ? I have tried updating InitialStartDate to midnight without success...
true
mypacakge.util.jmx.JMXLogScheduler
NOW
1
-1
View the original post :
http:
org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.java
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843954#3843954
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843954
---
90 matches
Mail list logo