I have a similar question.
How can I have a class loaded when the server starts, and be available to all
the EJBs??? I'm doing my own SQL layer so I would like to do this to manage
connections and so.
View the original post :
Thanks for your reply and suggestions.
Yes, LoginHome is RemoteHome interface.
I got it to work now.
Problem was that I used the wrong packagename :)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866613#3866613
Reply to the post :
Looking back at your first post: -
anonymous wrote : My applicartion deployes with no error messages. I have some
Servlets included that all work.
Are you getting messages displayed to show that the ejbs are being deployed, it
might be worth conventrating on the ejbs for the moment and try
I followed the insttructions of chapter 8.2 to get the cmproster application
runngin with MySql 4.1.7. Unfortunatley I keep getting the error shown below.
The first 3 tables are created correctly.
As far as I understand, then the generated DDL trys to create a primary key
which is to long.
It turns out that the jaxrpc-mapping.xml file generated by wscompile when run
with JDK 1.5 is slightly different from the one generated when run with
JDK1.4.2. The mapping file generated by the newer JDK is causing the deployment
failure (javax.xml.rpc.JAXRPCException: Cannot unmarshal
I have tried to set it just to c:\jdk but sitll i have got the same error, ok
what I ll do I ll try with the new version of JBoss, but the firts time I have
installed it it was not deploying the Jar file fo my EJB application.
Thank you very much for your help anyway
View the original post :
I have noticed that iwhn I set the JAVA_HOME and then for example i reboot my
machine the variable disappear . the commando to set it is set JAVA_HOME=C:\jdk
?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866618#3866618
Reply to the post :
Hi all,
I have an random error in Jboss, when I try to load a jsp an errors log appear
in the Jboss console, this problem only ocurrs with some jsp but not all. If I
restart the jboss the problem is fixed but not always.
Could anyone help me to resolve this issue please?
Thanks in advance.
YOU CAN NOT USE THE 1.5 JDK WITH THAT VERSION OF JBOSS.
Also if your JDK is installed in the folder C:\jdk1.5.0_01 this is what
JAVA_HOME should be set to.
READ THE INFORMATION FROM MICROSOFT ON HOW TO SET ENVIRONMENT VARIABLES IN
WINDOWS XP.
View the original post :
yesd my jdk is installed in in C:\ i cannot use jdk1.5 wiht hte latest version
of Jboss?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866621#3866621
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866621
Please answer this problem ASAP
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866622#3866622
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866622
---
SF email is
You can use the 1.5 JDK with the latest version of JBoss, the reason why you
are still seeing errors is because the version of JBoss (3.0.2) that you are
using does not work with the 1.5 JDK.
If your JDK is in a folder C:\jdk1.5.0_01 JAVA_HOME should be set to
'C:\jdk1.5.0_01'
View the
HI,
I have a problem similar to your. So I delete hsql files and restart JBoss (i
use 3.2.5) . Everything work just fine. But if I shut down jboss and restart it
another time without deleting hypersonic DB,it crashes again for the same
reason.
View the original post :
You may be interested in the following link: -
http://www.jboss.org/wiki/Wiki.jsp?page=JBossForums
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866625#3866625
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866625
Hi,
I have experienced a similar problem on our ISeries converting a to $ and
vice versa. The problem was caused by our application using CCSID 285 UK
English, but the batch job that updated the data switched to the iSeries base
CCSID of 37 US English. We are using locales because the iSeries
I was wondering about that, too. I only found some statements that there isn't
such a deploytool. I finally gave up looking for it and wrote my own build.xml
files to create war and jar files including the creation of wsdl and mapping
files.
Still ejb-jar.xml and webservices.xml has to be
uhm that is what i have done set to c:\jdk ok thanks I ll try wiht the latest
version of Jboss but i heard that it does not support connection with access is
it true?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866628#3866628
Reply to the post :
I'm trying to use the SOAP HTTP interface of the EJB Container but I'm stuck
creating the ejb-jar.xml for a simple helloWorld example.
This is the file:
| ?xml version=1.0 encoding=UTF-8?
| ejb-jar xmlns=http://java.sun.com/xml/ns/j2ee; version=2.1
Does anyone know a good guide on how to set up a connection from jboss to a
mysql database? I have found some information about it, but it didnt work
properly.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866631#3866631
Reply to the post :
Hi,
has anyone information about system sizing and system requirements (recommended
hardware, operating system and so on).
Thank you in advance
uwe
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866632#3866632
Reply to the post :
Thans for your help Tom. Adding the namespace prefix to the xml name in the
type mappings works. Its not very neat, but I already have to include the
operations here to correct the return and parameters, so not to big a deal to
add the type mappings as well.It's unlikely my external wsdl will
is there a tool for eclipse that supports me in developing web services, like
the lomboz plugin, so that I do not have to write the deployment descriptor,
mapping file etc. by hand?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866634#3866634
Reply to the
You should prepare a data source configuration deployment file.
Those files are deploying by dropping them in the deploy directory of your
running AppServer as usual. As far as I know They must end with -ds suffix.
For example:
myapp-ds.xml
For MySQL, a practical example can be:
?xml
Use the JNDI naming context java:comp/env to access enterprise bean's
environment. There you can place your shared objects.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866636#3866636
Reply to the post :
Hypersonic is basically rubbish. It ships with JBoss just to have a database
for running the testsuite (for entity beans, datasources, jms etc.) Put in a
proper db backing JMS. See the FAQ for more details
View the original post :
I want to write a customised finder method for my CMP EJB. The EJB has a one to
many relationship with another bean.
How can i write EJB-QL that will return results matching criteria in both
beans..this is how i would do it in oracle
SELECT *
FROM BGS.WELL_DATA A, BGS.SURF_DEPTHS B
WHERE
I have copied this fie into the deploy directory, but when I try to connect I
get the following error:
no ClassLoaders found for com.mysql.jdb.Driver
Any idea what can be wrong?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866640#3866640
Reply to the post :
Hi,
I have a JAAS implementation in jboss. On the login page the user enters a
login id = xxx. After j_security_check I would like the request.getRemoteUser()
to return a different value. Please tell me how to accomplish this.
Basically we are using LDAP authentication and the user
I am trying to create a webservice via a stateless session bean. When I try to
deploy the jar archive I get this error message:
anonymous wrote :
| org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the
right xml schema or define a valid DOCTYPE!
|
This is my
Whether JBoss has its own Mangement console like mc4j / openTier?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866649#3866649
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866649
Maybe you could clarify what your date/time problem is with the finder method.
I had a similar problem recently because I was using java.sql.Date which
doesn't use time information. After switching to java.sql.Timestamp, my
problems went away. I'm using JBoss 4 and MySQL 4. The MySQL table
Try XDoclet's wseedoclet task. It will generate deployment descriptors for
J2EE web services.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866651#3866651
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866651
Thank you for replying.
I'm using Oracle9i.
My problem is that whenever we tried to do a search based on a date field (ex.
1/27/2005). It works if the time was 00:00AM but it will not work if the time
was 03:59AM.
For testing purposes, we set up a dummy database table with a bunch of date
You probably should not use HSQL. I would recommend a more 'production ready'
RDMS as MySQL, PostgreSQL or Oracle.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866653#3866653
Reply to the post :
Also see: http://www.jboss.org/index.html?module=bbop=viewtopict=52693
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866654#3866654
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866654
Has anyone done this without using a 'bridge'? I've used MQSeries (now part of
WebSphere) with Weblogic in the past - anyone done anything similar with JBoss?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866656#3866656
Reply to the post :
Hello,
I'm interesting in knowing how it worked :) I have the same problem (I posted
also something on that subject. See
http://www.jboss.org/index.html?module=bbop=viewtopict=60168 ). However, the
--host parameter didn't really solved my problem, as it seems to force all
sockets to be
Hi.
I'm trying to update my jboss/tomcat from version 2.4.6(tomcat 4.03) to
3.2.6(tomcat 5).
I have a next error when I'm trying to start my application :
HTTP Status 403 - Configuration error:
Cannot perform access control without an authenticated principal
--
Good Morning
Im having a problem with deploying an Entity bean in JBOSS 3.2.3.
It's a very simple bean that is compiled in xdoclet, here is the code:
the code is compile successfully and all the correct deployment descriptors are
generated correctly
/**
| * @version $Revision: 1.9 $ $Date:
Seems to work fine in 3.2.6 (although not in 3.2.4 or 3.2.5)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=382#382
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=382
What you are describing sounds exactly like the problem I was having using
java.sql.Date - based on finding auctions ending withing a certain date/time.
I'm using XDoclet and MyEclipse. My XDoclet finder is:
| @ejb.finder
| signature=java.util.Collection
|
Hi all,
I'm trying to send a JMS message from a JSP page.
I have taken a basic TopicSendClient example and compiled
it under WEB-INF/classes directory so that I can access it
from a JSP
package test;
|
| import javax.jms.*;
| import javax.naming.InitialContext;
| import
Is the version of Tomcat in JBoss 4.0.1 a downsized or special version compared
to the Tomcat Versions you can get at the jakarta.apache web site.
I can't seem to be able to launch the following from Internet Explorer
Tomcat Web Application Manager
Tomcat Web Server Administration Tool
Do I
Good Morning
Im having a problem with deploying an Entity bean in JBOSS 3.2.3.
It's a very simple bean that is compiled in xdoclet, here is the code:
the code is compile successfully and all the correct deployment descriptors are
generated correctly
/**
| * @version $Revision: 1.9 $
I'm making progress.
If I refer to WebLogic JMS then I see that the XA resource used is :
weblogic.transaction.internal.ClientTransactionManagerImpl$ClientTMXAResource
And this class creates it?s own weblogic.transaction.internal.XidImpl class to
pass to the server.
In JBoss, your XA
Hi everybody,
I am using JBoss 4.0.1 and JVM 1.4.2_07 in a Solaris 8 platform. When I try to
deploy a war file (including a servlet and a EJB) the following error messages
are generated.
Can somebody give me some ideas about what is happening and how to solve it ?
(Just to remark that the
I'm bitching because it took nearly two pages of posts and explaining JMS
semantics before I found out you are abusing the api.
If you want to try to implement the JMSXGroup in JBossMQ, I can explain the
changes required.
This would still have latency (it has to wait for all messages in the
This is with the reference to bug JBWS-60
((http://jira.jboss.com/jira/browse/JBWS-60)) that was added by my team member
in past.
Thomas Diesler in his comment had said that support for Unwrapping of document
style endpoint parameters will be added in jboss-4.0.2beta.
So I want to know
Hi,
with version of the mysql jdbc driver do you use ?
Have you place it in the /server/default(or?)/lib/ directory ?
Ev. try:
driver-classcom.mysql.jdbc.Driver/driver-class
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866677#3866677
Reply to the post :
Hi again,
I think that in your com.mysql.jdb.Driver a 'c' is missing in the .jdb.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866678#3866678
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866678
thanks for your answer.
I decided to use J2EE 1.4 web services to solve my problem.
to get familar with J2EE web services I tryed the wiki step by step example
(http://www.jboss.org/wiki/Wiki.jsp?page=WSRPCClientStepByStep)
here what I did:
| downloaded a wsdl-file and used wscompile to
two problems in your module:
1. if a user doesn't belong any group, authentication will fail.
2. it only works if user is a immediate member of a group
e.g. user tom is a member of Uk_its, uk_its is a member of world_its, if
access grant to world_its, tom doesn't have access.
here is fixed
Nice fix, thanks. Those problems hadn't shown themselves here yet. We actually
rely on the first one to know if something is hosed in the LDAP.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866682#3866682
Reply to the post :
I'm in the process of designing a graduate course on web services. I'm
considering using JBoss Axis for this course. If anyone is aware of any
tutorials on using JBoss and Axis for web services, I'd really appreciate the
information. Feel free to contact me at the following email:
[EMAIL
I'm in the process of designing a graduate course on web services. I'm
considering using JBoss Axis for this course. If anyone is aware of any
tutorials (or other educational materials) on using JBoss and Axis for web
services, I'd really appreciate the information. Feel free to contact me
I'm not sure what the problem was but every single one of the security domains
was definately using the other entry in login-config.xml. I was 99% sure
this was due to some configuration error of mine though I couldn't find it. I
ended up re-installing JBoss and starting the configuration
Just start to look at jboss recently, not really familiar with LDAP.
I believe you could pass REFERRAL=follow, so you could search from top
without specify your mutiple user-containers.
zparticle wrote : Nice fix, thanks. Those problems hadn't shown themselves
here yet. We actually rely on
ops, of course you are right. Thats just a typo in the post. Sorry about that.
I think it is version 3.1.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866697#3866697
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866697
What is the difference?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866698#3866698
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866698
---
SF email is sponsored by
You could use the WSDDGenerator as standalone app to test the generation of the
*.wsdd from wsdl + jaxrpc-mapping.xml.
It will try to parse both files. If this fails standalone it is not going to
wotk in JBoss either.
View the original post :
UR welcome
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866700#3866700
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866700
---
SF email is sponsored by - The IT
Hi everbody!
I just started working with JBoss, therefore I think solving the problem is
rather easy...
The problem is that even when I start JBoss I get the first error message (see
below in bold) that something with the Hypersonic database is wrong. (Although
the servlet I wrote doesn't use
I am trying to configure compression with Tomcat. I updated the entry !--
HTTP/1.1 Connector on port 8080 -- in the server.xml file with the value
compression=on but it does not seem to be working. For that matter I changed
the value debug=0 to debug=1 and am not able to see any additional
Hi, there:
After upgrading to jboss3.2.6 (from 2.4.8), to run our jar application (java
-jar app.jar), I got that NoInitialContextException:
| javax.naming.NoInitialContextException: Need to specify class name in
environmen
| t or system property, or as an applet parameter, or in an
Sorry, you interpreted my comment. With
anonymous wrote :
| With jboss-4.0.2beta you get this on the server
|
| java.lang.Exception: The OperationDesc for echoHelloArr was not
synchronized to a method of com.myapp.ekta.HelloOrderEndpoint.
|
I meant that this is the current status in
already posted in JBoss JIRA in JBossWS
thanks
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866710#3866710
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866710
---
SF
I found this article on NetBeans 4.1 and describes integration with ASes like
JBoss.
http://java.sun.com/developer/community/chat/JavaLive/2004/jl1116.html
The netbeans crew said that if an AS has ant tasks for deploy, undeploy, etc.
then it can possibly integrate.
My questions is, does
Hi,
what can I do to make JBoss not displaying the whole stacktrace in the log
files but only a single line per message. I want to have only one line log
messages, something like this:
2004-11-25 16:36:02,255 INFO [org.jboss.web.WebService] Using RMI server
codebase:
2004-11-25 16:36:13,691
Please forgive if this question has already been addressed. I've just installed
Jboss AS 4.0.1 on Linux jusing jdk 1.5.0_01
I've installed EJB3 preview 3
I'm getting a _TON_ of DEBUG entries regarding
org.jboss.cache.eviction.LRUAlgorithm
Would some kind sole direct meto the correct file to
Hi I am using JBoss-4.0.1 on Windows Xp and MySQL.
On starting up my Jboss, I get errors using/configuring DestinationManager and
I get the following to the console:
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\my_nueces\dist\jboss\jboss-4.0.1\bin\\..
.
JAVA:
Hi.
I'm trying to update my jboss/tomcat from version 2.4.6(tomcat 4.03) to
3.2.6(tomcat 5).
I have a next error when I'm trying to start my application :
HTTP Status 403 - Configuration error:
Cannot perform access control without an authenticated principal
-
-
Well, I found my own solution.
First, I didn't have TRACE logging enabled correctly; all I was getting was
DEBUG. In addition to adding the category tags for org.jboss.mq, etc. in the
log4j.xml (as noted in the FAQ) I also had to comment out the Threshold tag in
my file appender section
The warning is for the developers. It says there is unnecessary wrapping
of exceptions. something like the following, but obviously not as direct:
throw new SpyJMSException(new SpyJMSException...)
What does the logged exception look like?
What does your code look like for the deletes?
Are you
I use JBoss 3.2.5, with the default defaul server conf
I have a servlet that creates some entity EJB objects.
The objects are created and stored in the DB (I can retrieve them after a jboss
shutdown/restart cycle), and so are the Tables (02:12:20,958 INFO [Article]
Table 'ARTICLE' already
Hello there,
It is the first time I am dealing with JBoss clustering using JGroups.
Basically, I have been recently handed over a live application running on
JBoss 4.0 platform using Jboss-cache and Hibernate. This application is
deployed in a clustered environment with 4 nodes, running on
gioele wrote : how can I connect and inspect the default DB?
I found that I should use the standalone driver and connect to the name of
the DB on the filesystem without .data
(jboss-3.2.5/server/default/data/hypersonic/localDB).
View the original post :
Hi All,
I asked from JORAM forum and they said JORAM can handle large messages without
any problem.
If any one tested JBossMQ on large messages please advice me.
BR
Senaka
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866733#3866733
Reply to the post :
What is the correc XDoclet way to specify this two tables in two Entity beans?
CREATE TABLE Family (
id INTEGER,
data VARCHAR,
PRIMARY KEY (id)
)
CREATE TABLE Person (
id INTEGER,
name VARCHAR,
family INTEGER,
PRIMARY KEY (id),
FOREIGN KEY (family) Family (id)
)
The first one is
Hi there...
I have a big problem. My web app (in a war) uses a version of axis that has a
method not present in the axis-ws4ee.jar, but evidently the classloader is
trying to use classes in axis.ws4ee.jar.
I've tried several things (like isolating the web app) unsuccesfully, at this
point
Hi...
I have a big problem. My web app (in a war) uses a version of axis that has a
method not present in the axis-ws4ee.jar, but evidently the classloader is
trying to use classes in axis.ws4ee.jar.
I've tried several things (like isolating the web app) unsuccesfully, at this
point i'm not
Hi
I got the following Introspection error using jboss 3.2.1 and jdk 1.4.2
org.apache.jasper.JasperException: PropertyDescriptor: internal error while merg
ing PDs: type mismatch between read and write methods
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
Hi everyone,
Please help me. I am really stuck.
I have developed both stateless and stateful session beans but they are not
getting any data from database. For any query the result is null. I can't
understand why. Please help me.
Abhishek
View the original post :
My problem is that my CMP Beans only use the datasource entered in the
standardjbosscmp-jdbc.xml file. What I'm trying to do is have my application
talk to two or more different databases (all mysql). And the Entity beans seem
to only use the default. I'm sure this is a configuration think I'm
My problem is that my CMP Beans only use the datasource entered in the
standardjbosscmp-jdbc.xml file. What I'm trying to do is have my application
talk to two or more different databases (all mysql). And the Entity beans seem
to only use the default. I'm sure this is a configuration think I'm
Hi,
I have been working on Jboss clustering from past few day's. Have configured
as per the document on jboss-4.0.1RC2 clustering with 2 nodes and apache and
mod_jk as proxy.
The load balancing is working fine, but when 1 node goes down the clients are
directed to the node 2 but they have to
My application is using my own databaseloginmodule.
Two clients using same username to login.
But JAAS will only do the job for the first guy login if the second one using
exactly the same username, such as admin and admin, not admin and AdMin.
I know the principals would be different if using
In jbossweb-tomcat50.sar/server.xml you can try add (uncomment) the following
lines:
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866747#3866747
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866747
Here are the lines! :)
Valve className=org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn
|debug=0/
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866748#3866748
Reply to the post :
88 matches
Mail list logo