Hi,
I am looking for a way in which my mbean can retieve its dependent objects.
It seems that in the xml, I can specify my dependencies and container passes
that objectname (via a setter) in my Mbean. From there how can my mbean
retrieve the dependent object instance without using dynamic proxy.
Pascal
Yip, double-checked all my interfaces etc. Funny thing is, the findByPrimaryKey gives
me exactly the same error. That is why I am starting to wonder if it is not maybe a
JBoss configuration that's wrong...
Will have a look at the other topic as well.
Thanx for your help!
View the ori
If u r using Jboss3.2.1 and using web clients ( like servlets,jsps to access
secure EJB's) u must do the LoginContext.login() for every call made. (
Reason i Tomcat makes use of different thread for the same caller in
successive requests)
am i right scott
regards
jani
-Ursprungliche Nachrich
Hi!
I am trying to get my first 2 EJBs (User and Person) running with JBoss since
February, but I get very funny messages from JBoss (Null-pointer-exceptions) when I
try to deploy them...
I am pretty sure, that there is something wrong with my descriptor files (because
there is no useful docum
Can anybody explain how I can JBoss force to log the sql statements generated by CMP?
thanks
Sven
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833858#3833858
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833858
-
anybody can help me
how to run jboss in debug mode in Linux OS.
thanks in advance.
Saroj
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833855#3833855
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833855
-
Ignore what I wrote above. I should just shut up and drink my tea when I haven't
taken a good look at the code
Every time a message is added, the receiver is removed, and when the receiver is done
processing it's added back. For hashtables, objects are returned by an iterator in
the orde
Hmm I havent checked the docs in a while but if so, you should file a bug report as
this is one of the first things that someone looks at after installing (just like you
:-))
Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833853#3833853
Reply to the
I don't really understand how changing the HashSet -> ArrayList really helps
distribution of load. It might change the iteration order, but the order then
wouldn't change.
Here's what I think is the problem.
1. No receivers
2. Queue receives, say 100 messages
3. A receiver is added
When
hello nort,
try this one in your jboss-app.xml:
|
|
| EJBJMX.sar
|
|
|
and add this to your application.xml:
|
|
|
| EJBJMX.sar
|
|
|
then try to run jboss and see if your service loads.
HTH
View the original pos
Update:
I was able to get the FORM based authentication working. The issue was in the placing
of the user/roles property files in the WEB-INF. They needed to be in the
WEB-INF/classes directory. Otherwise the console-war or jmx-war property files were
overriding, leading to a failure of the lo
Environment: JBoss 3.2.3
I have a Stateless Session Bean and within one of the business methods, I have code
that looks something like this:
| /**
| * @ejb.interface-method
| * @ejb.permission role-name = "Manager, Director"
| */
| 1 public void doSomething() {
| 2 Principal
Greetings. I have a stateful session bean that I wish to set a timeout value for (e.g.
if the user goes away to write a novel I want it to eventually timeout). I am also
doing the appropriate remove at the end of the transaction sequence.
Not sure where to set this in JBOSS. I've been using Jrun
after spending the last 4 hrs scanning through the available docs, I am still at a
loss re. how to get our axis web services running in JBoss 3.2 or 4.x.
these web services have been running for sometime in tomcat 4.x and 5.x under axis
1.1, so i figured this is a no brainer!
my initial (naiv
I'm running 3.2.4RC2 in the HA configuration with MSSQL persistence on Windows 2000.
Our messages are consumed by multi-threaded client apps running outside of JBoss. On
each client, all threads share a connection, but each has its own session.
I was seeing that all messages were being sent to
Using what version of jboss?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833839#3833839
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833839
---
This SF.Net emai
Hi all,
I'm a jboss newbie working my way through the "Getting Started" docs and have found in
section "4.1.5. Packaging the Java Client" the following:
"The client jar will also be included as an additional module in the EAR file and the
server."
This seems rather odd. Why does the client nee
Yes, the problem with http is that is stateless. There is nothing the server
can keep open (like a tcp/ip connectio) to detect when a client fails.
The client monitor helps, but only if the client is pinging to keep the connection
alive.
Is it not just a case of setting the PingPeriod in
deploy/
It seems that even PingPeriod is set, it won't fix the problem because there is a
HTTPClientIL instance created on the JBOSS to listen on the queue on behalf of remote
HTTP JMS client - the PingTask only applied to this instance that's why PingPeriod is
turned off.
I guess that the only way ava
I have a stateful session bean that will deadlock relatively easily. I'd like very
much to be able to detect deadlock situations and restart offending transactions.
My beans has CMT, and org.jboss.ejb.plugins.TxInterceptorCMT successfully detects
deadlocks, throws an ApplicationDeadlockException
Sorry, ignore that post.
For some reason I was completely missing the cache invalidation section of the
clustering guide.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833833#3833833
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=post
Hi all,
I'm trying to implement some code to work with Oracle XML types. That being said, I
need to do it as a BMP as accessing sys.xmltype from oracle requires a special
oracle-specific library.
I can easily do the database part, but where I'm getting stumped is I would like to
use commit-op
I'm seeing the following error periodically in server.log. What could
possibly cause the enterprise context lock to get out of step like this ?
This is JBoss 3.0.7 that I'm using.
2004-05-05 05:08:15,485 ERROR [org.jboss.ejb.StatefulSessionEnterpriseContext] locked
< 0
java.lang.Throwable
Hi,
I'm using a servlet to set cookies and then redirecting to a jsp.
The servlet works fine if I access it with http://127.0.0.1:8080/servlet, or
http://localhost.localdomain:8080/servlet. However, it does not set any cookies if I
do http://localhost:8080/servlet.
I am using JBoss with Tomcat,
I am trying to do the Duke's Bank Application and that is why I am posting this
question here.
Should I "move" this question to the general JBoss support forum?
Thx,
David
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833830#3833830
Reply to the post :
htt
I have installed jboss-3.2.3 on my Windows XP Pro box today and when I try to goto the
jmx-console page after I start the service.
I am running the latest J2SE SDK (1.4.2). No changes have been done to the jboss
install. I have added a few environment variables (JAVA_HOME, JBOSS_HOME, etc)
Her
Well, this seems a bit nusty.
- Original Message -
From: "momi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 2004 8:42 AM
Subject: [JBoss-user] [Beginners Corner] - Re: Deployment problem I cannot
solve
> I have a same problem for a bean which extends another clas
In the latest JBoss A&D sections on the on-find and on-load read-ahead strategies,
it's clear from the description of the generated EQL (listing 11-42) what the
attribute does for on-load. But what does it do for on-find?
View the original post :
http://www.jboss.org/index.html?module=bb&op=v
Hi,
Iam using jboss 3.2.3/Apache Tomcat/4.0.6
How do I disable directory listing for example when I enter this URL I can all
contents under the directory ..
http://localhost:/test
Where is the tomcat conf file. I know this is doable in Apache but how to do this in
Jboss/Tomcat environment.
add me to the curious on this one
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833824#3833824
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833824
---
This SF.Net
Hi!
I am using form-based login with j_security_check. After the user has logged in, some
initalization is done (values are set into the session variable, etc).
If a non-authenticated user requests a protected resource, he is redirected to the
form-based login page (that's fine), but then redir
"[EMAIL PROTECTED]" wrote :
| Here is something I added for 3.2.4 that provides a singleton MDB
|
http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/etc/conf/default/standardjboss.xml?r1=1.47.2.15&r2=1.47.2.16
|
Adrian
This is insanely useful and you have shaved hours off of the devel
What kind of applicatio do you have? Do you make use of jsp/servlets? HTTP sessions?
If so, how do you keep track of Appserver sessions?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833821#3833821
Reply to the post :
http://www.jboss.org/index.html?module
Hi community,
as you can see in my first post there are very much byte and char arrays.
I went into the detail and determined that most of the objects were instantiated in
JSSE classes.
Indeed we use encrypted communication between our web start swing clients and our
jboss server:
using ssl:
I am using jboss 3.2.1 with Jetty and there are 2 servers in the cluster.
Apache is directing requests to JBOSS via mod_rewrite.
I want to make sure all requests in a session hit the same server by adding a
workerName
to the end of the sessionID and using mod_rewrite to send requests to the right
Looking at the SectionEJB, the name should be 'pn_image'. I have changed the insert in
setup.xml in CVS to reflect this.
Sherman
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833818#3833818
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=
Thanks! It worked, of course.
So much for reading "unofficial JBoss Documentations"!! Both the documents claimed
that the way to test installation is to visit http://localhost:8082 or
http://localhost:8083
SB
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38
What is the best way of load properties that will be available to any ejb?
Specifically, I need an easy way to switch between our test and production databases.
I'm not using connection pooling and need know the correct connection string.
One thought was to use jndi-properties.xml, but I'm uns
Further investigation appears to indicate that the statement:
CREATE TABLE nuke_sections ( pn_secid INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY,
pn_secname VARCHAR(40) DEFAULT '' NOT NULL, pn_image VARCHAR(50) DEFAULT '' NOT NULL );
incorrectly names the column pn_image instead of pn_secimage ba
Please read the Getting Started Docs that provide more info
There is nothing listening on 8082 or 8083.
http://localhost:8080/jmx-console is something that wud be up when u start jboss.
There is NO default application hosted on 8080.
View the original post :
http://www.jboss.org/index.html?mod
I got past the problem of driver recognition. The driver should have been placed in
the server's "lib" directory not the JBOSS_HOME/lib directory.
With that, I encountered this error with the latest snapshot:
INSERT INTO nuke_sections(pn_secname, pn_secimage) VALUES ('Nukes','transparent.gif')
Please let me clarify by saying that at http://localhost:8082/ I get the following:
The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be
experiencing technical difficulties, or you may need to adjust your browser settings.
On http://localhost
Hi,
I'm a newcomer to JBoss. I downloaded and unzipped the binary for JBoss 3.2 on Win2K,
and following the manuals, proceeded to C:\jboss-3.2.3\bin to execute "run -c all".
The command window shows the usual starting of the JBoss, ending in "JBoss kernel
started.."
To test, I tried http://loc
I too am getting this same exact error. I also have edited the file as the JBoss
turorial said.
Here is the lines from my edited hsqldb-ds.xml file in the default server directory...
DefaultDS
jdbc:hsqldb:hsql://localhost:1701
org.hsq
After running the Nukes installer and filling out the datasource page (while following
the updated Wiki instructions), I get a can not find database driver
"org.gjt.mm.mysql.Driver" error when I click the next button.
After searching the forums, I tried downloading the MySQL JDBC driver from the
Hi all,
I am having a nasty repetitive error which I am unable to resolve. I have a gui client
that depending on the user selection, makes different requests to a JBoss app server.
The gui maintains a reference to a SessionFacade which is responsible for readying
entity beans that represent data
Thank you very much!!
Natalia
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833807#3833807
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833807
---
This SF.Net ema
Hi, I have a strange behavior in my application
If a user A tries to log on to the application, and user B is already logged on,
sometimes, the user A is logged as B. That is request.getUserPrincipal() gives the
principal of B.
WhatÂs wrong
View the original post :
http://www.jboss.org/i
I meant add the following
to
that file
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833805#3833805
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833805
---
This
add
to jboss-service.xml under
jboss-3.2.3\server\default\deploy\jbossweb-tomcat41.sar\META-INF
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833804#3833804
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833804
---
This is a generic error from Oracle saying it does not like the commit,
look for error messages before this one
or failing that turn on TRACE logging (explained in READ THIS FIRST).
You might also want to look at the Oracle log.
View the original post :
http://www.jboss.org/index.html?module=bb&
couple of options:
-Compress the byte array using ZIP/JAR utilities (and uncompress on the other end).
-Switch field type. I do not know about Oracle, but in MySQL switching to LONGBLOB can
hold an insane amount.
-D
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic
Show me the thread dump for UIL2
OIL is deprecated because it has known synchronization problems.
Are the first two threads supposed to match up? If so they are both waiting for
each other, nothing is going to move. I would need to see a log to work out
why the server is waiting for a response fro
Paul, Yes that should work. This is based on the concurrent.jar that gets a permit
waiting for the timeout second u provide in the -ds.xml
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833800#3833800
Reply to the post :
http://www.jboss.org/index.html?modul
i see this examples..i have not problem with this,all running perfectly, but i
need other examples with ejb(one entity bean "bmp"), jsp, jboss-idethe more simple
example.
pd:sorry my english is very poor...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic
Create a Singleton that would be kicked off from a load-on-startup servlet. This wud
read a proprties using getResource() and store it as a singleton or jndi if clustered.
Once u have it, u can access from ejb, jsp, whatever.
Ofcourse, this is just one way, there are multitude of patterns availab
The Oracle JDBC Thin driver is not spec complaint!
They expect you to use the OCI driver, which is a PITA because of the Oracle Client
installation you must do, and horrible TNS configuration headaches. I've had some
problems with hot redeployment when using the OCI driver For me the OCI dri
We are using the JBoss 3.2.3 w/ Tomcat 4.1 bundle.
I know that Tomcat 4.x and 5.x both support deploying a webapp using an XML file
stored in either the conf directory or the webapps directory (depending on version)
that looks something like:
|
Is this or something similar possible w
Use a servlet filter or tomcat valve then.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833794#3833794
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833794
---
Th
The only behavior the jboss version adds is to create the path to the log file if it
does not exist.
| public class DailyRollingFileAppender
|extends org.apache.log4j.DailyRollingFileAppender
| {
|public void setFile(final String filename)
|{
| FileAppender.Helper.m
I use JBuilderX. It has a wizard which can generate a class encapsulate the JMS
service. The class implements MessageListener. Anyone who has JBuilderX can have a
try. Use the wizard to generate the class without any Transaction or Persistance.
Let's take topic as an example.
if we just
while(tr
I have fixed this for 3.2.4RC2.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833791#3833791
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833791
---
This SF.Net e
I am trying to implement form-based authentication in a JBOSS 3.2.3/ Embedded Tomcat/
Firebird database environment. I have tested that I can login into Firebird using isql
for the user id/ password combination that I have. It seems to go past any jdbc
connection errors (no stack/ failures). How
Yes, it's a 1-to-many relationship.where B has a compound primary key.
say A's Primary Key is PK_A, B's Primary Key is (PK_A,ColB),where ColB is another
column in Table B.
The scenario like this:
say table B's structure is like:(PK_A,ColB,ColB2) and we have a row of old data here
in table B:(1
I succeed to make it work and I don't know how.
In fact, I named the directory META-INF in minuscule instead of capital letter. When I
renamed it with capital letters, it has worked.
It's a strange behaviour
Xavier MOGHRABI
View the original post :
http://www.jboss.org/index.html?module=bb&
I'm experiencing the same problem -
using jboss-4.0.0DR3, i've successfully created a session bean that creates a timer -
the ejbTimeout method is invoked as expected. but when the server is restarted the
jboss trace reports:
17:23:03,281 INFO [FilePersistenceManager] Using data directory:
D:
I'm using JBoss version 3.21 on a Redhat Linux 9.
In the log4j.xml configuration file, there is an entry for a logger with the
"org.jboss.logging.appender.DailyRollingFileAppender" appender.
Everything works well.
Recently I've been assigned a task to clean log files if they become to big.
I thou
How are these entries accessed? Also, what if the same entry also needs to be
accessed by a jsp?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833783#3833783
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833783
--
Then either get in the debugger or add some logging and look at what the password is
coming back from the db. Break or add logging to the
UsernamePasswordLoginModule.validatePassword(String inputPassword, String
expectedPassword) method.
View the original post :
http://www.jboss.org/index.html
Hi,
I've got an Oracle xa datasource configured in my application. The datasource
configuration file looks like this:
|
|
| jdbc/myDataSource
| true
| false
|
oracle.jdbc.xa.client.OracleXADataSource
| jdbc:oracle:thin:@hostname:1521:systao
| user
Hello all,
We are experiencing some annoying deadlock behavior when trying to send messages a
queue. The code we use for sending a message is pretty straightforward:
|public static void sendRequestsOnQueue(QueueConnectionFactory factory, Queue
queue, List requests, int deliveryMode) thro
Hi Hendrik,
We had a similar topic this week, quite the same error:
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833417
but your query seems OK, so I don't understand.
I think that the error arrives before any database access (and the JNDI name should be
the one I give you).
There
Hello, im using jbuiderX with JBOSS to develop a webmodule. I have a jsp file
(home.jsp). When i run the project , i get an error in jbuilderX:
""home.jsp": java.lang.NoClassDefFoundError: org/apache/jasper/JspC"
I donÂt know what is missing. Please someone help me
View the original post :
Scott,
Thanks that got past the web-console error.
Now the problem is in the loading of my application.
| 2004-05-05 09:08:04,453 ERROR [org.jboss.deployment.MainDeployer] could not start
deployment: file:/D:/jboss-3.2.3/server/default/deploy/EspeakDispatch.war
| java.lang.VerifyError: (c
Hey all,
I know there is the mail service, but is there an existing SFTP service available on
Jboss?
Thanks, just curious before writing against a client library (sshtools) for my
application, would be wiser/easier to use just another Jboss service.
-D
View the original post :
http://www.jboss
Hello,
I try to use Hibernate deployed as a SAR in a JBoss application (EAR).
So all the libraries needed have been put into the $JBoss_home/server/all/lib. I build
the Sar and the Jar. The 2 archives are correct because I can use them well when they
are not deployed in the same EAR.
When I tr
Blimey. I was trying to do this all this aft. and you chaps have solved my
problem. Thanks.
James
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833772#3833772
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833772
--
How can I set up a datasource that does not use connection pooling/ I want it to
establish a new connection to the sql2000 db on demand and release it when I'm done.
I've attached my *-db.xml data.
|
|
|
|
|
|
|
|
|
| OracleDS
| jdbc:oracle:thin:@10.
"Bill Burke" wrote :
| Don't take Adrian's comments too personally. He is the KING of answering
questions on the forums and sometimes loses his patience. If you have ever done
support before, I'm sure RTFM questions would drive you crazy as well so cut him some
slack. All of us do get annoy
Tomcat 4.x and 5.x support deploying a webapp using an XML file stored in either the
conf directory or the webapps directory (depending on version) that looks something
like:
|
Is this possible with JBoss?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=
I have an entity bean with the following three methods.
| public abstract Integer getProductid();
| public abstract void setProductid(Integer productid);
| public abstract String getProduct_desc();
| public abstract void setProduct_desc(String desc);
| public abstrac
Thanks Roger,
I agree with you. The auto generated primary key issue is solved by:
1) the @jboss.persistence auto-increment = "true" tag for the primary key cmp field.
2) the @jboss.entity-command name = "(Database specific)" in the bean definition.
But it works also with:
1) @jboss.unknown-pk .
Hi,
I was wondering, if anyone out there knows, if Vignette Content Services
(http://www.vignette.com/) can be deployed on JBoss?
We are in search of a low-cost alternative to using other application servers such as
BEA Weblogic or IBM Websphere and thought, JBoss might be just what we are look
Hi all,
I have a CMP EntityBean with one CMP field of type byte[]
/**
* @ejb.persistent-field
* @ejb.persistence column-name = "binary_file"
* @ejb.interface-method view-type = "${ejb.interface.type}"
*
* @return the binary content of the file
*/
abstract public byte[] getBinary
84 matches
Mail list logo