Thanx robisz.
Understood this connector thing now.
But about using HttpURLConnection, in my case, this will not be possible - my client
is a pos terminal which dials on to a modem and which then passes on to some server's
specific port. Including a URL is not possible in this scenario.
I
Deutschsprachige Antworten sind gern' gesehen
Hello,
I try JBoss 4.0.0 to use these at critical position in my company.
I installed JBoss 4.0.0 under Win 2000. First I need to change the run.bat because
some paths are false grummel .
Now JBoss is running but not at all (?!). I try the link to
It's possible to write non-http servlet, but you need an
appropriate servlet container that can handle it.
Are you sure you want to use J2EE?
As I see, all you need is a plain TCP/IP socket.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852871#3852871
Reply
You probably need to put 'jboss-mananagent.jar' in your client classpath to get the
definition of org.jboss.management.j2ee.statistics.ServletStatsImpl
This class seems to be missing from jbossall-client.jar.
Did you use jbossall-client.jar?
View the original post :
Hi all; i'm using a great WfMS called wfmOpen; now i have a problem.. i must call a
secure EJB; this EJB is in a secure domain called danet-workflow; all the people
who can call it must have a role: StaffManagementRole_0; now i have created a my web
appplication; i have a login.jsp page, a
I guess you are using Windows 2000 or something like this. It is definitely not an
issue of Java, MySql or JBoss.
I have the same issue and have not found a solution. Maybe some windows expert can
help.
Stephan.
View the original post :
hi Stephan,
You are right, I'm using Windows 2003 server.
Hmmmanyone has the solution? Pls let me know. Thanks
tk
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852875#3852875
Reply to the post :
Hi!
I have a bean which is defined with an unknown primary key.
The bean has a jbosscmp-jdbc.xml file associated where the pk is specified.
It all works fine in the hypersonic db and jboss 3.2.5, but when bringing it to our
real db environment, db2 7.2, I get the following problems:
At
Is there any way to config max user using JBoss? .if have please show me how to do
that
Thank
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852879#3852879
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852879
Hi again; i have forgotten that in the login-config.xml i have inserted this:
anonymous wrote : !-- Bind workflow security domain to staffmgmt authentication
--
| application-policy name = danetworkflow
|
| login-module code =
I'm newbie in J2EE, having read a bunch of stuff I'm still in the wood. Please bear
with me.
Here's an example descriptor:
| ejb-jar
| enterprise-beans
| session
|ejb-namebeanA/ejb-name
|...
|resource-ref
| res-ref-namejdbc/dbname/res-ref-name
|
is there anyway to have my CMP Entity bean have default values ? (Like I want a
default guest user to be in my user table...)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852882#3852882
Reply to the post :
I'm using jboss-3.2.6 with its jbossweb-tomcat50.sar.
Now i'm testing gzip-compression of http-requests...
Using this web.xml:
?xml version=1.0 encoding=UTF-8?
| !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
| web-app
Probably you need to specify an entity-command in your jbosscmp-jdbc.xml
Have you done it?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852885#3852885
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852885
Why don't you follow through the getting started guide?
If you want help with a current problem you need to provide enough information to
describe the problem, JBoss version, JDK version, Exceptions and stack traces a full
description of what you are trying to do and where appropriate code
I'm using JBoss 4.0 and Oracle 9i.
when I'm using default server(hypersonic) for jms it is working but when I'm shifting
to Oracle it is giving the following error.
javax.jms.JMSSecurityException: User: Null is NOT authenticated
at
Hi,
I have been fighting this thing for days. I have read the JAAS how to and I've read
through the whole forum and still not got this right.
Maybe I've become blind to my own code.
I use jboss-3.2.5.
The architecture of my application is following:
I have an ear that holds one jar package of
I'm using JBoss 4.0 and Oracle 9i.
when I'm using default server(hypersonic) for jms it is working but when I'm shifting
to Oracle it is giving the following error.
javax.jms.JMSSecurityException: User: Null is NOT authenticated
at
The answer is in bold part in your message...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852890#3852890
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852890
---
What do you mean by max user?
Maximum number of users logged on to a web app?
Maximum number of concurrent requests that can be processed by web app?
Maximum number of a session bean that can process requests concurrently?
Something else?
View the original post :
Thanks ,
Have added jboss-management.jar file in classpath.
Now i could retrieve the Stats attribute.
In the remote client am using jbossall-client.jar and jboss-jmx.jar and now this
jboss-management.jar file.
But I am using a swing gui tool called ejtool which is only using
Hi again,
I have another problem (again...never ending problems). This time, I really really
have no idea what is happening.
As I've said earlier, I tried to use javassist to generate run-time Value Object
(there's no physical file). Then after that, I will pass the instance of the newly
We can read this at the end of the tutorial :
anonymous wrote : The compiler does not correctly implement the Java method dispatch
algorithm. The compiler may confuse if methods defined in a class have the same name
but take different parameter lists.anonymous wrote :
| |
| | what it
Sorry the layout may be a little confussing... here is the right layout.
We can read this at the end of the tutorial :
anonymous wrote : The compiler does not correctly implement the Java method dispatch
algorithm. The compiler may confuse if methods defined in a class have the same name
but
Yes, this has been fixed for 4.0.1 and 3.2.7
could you please specify when it will be available for download ?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852896#3852896
Reply to the post :
When I configure the Hibernate mbean service, I get a weird problem about missing
dependency class.
I added the following to $server/conf/jboss-service.xml:
jboss.jca:service=RARDeployer
jboss.jca:name=DefaultDS, service=LocalTxCM
Couldn't get ManagementHome and getting exception ejb not bound...
My program is like the below.
---
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory);
props.put(Context.URL_PKG_PREFIXES,
hi
yea i think you can do it without apache...
http://www.jguru.com/faq/view.jsp?EID=748030
for redirect with no logon take a look...
[url]http://struts.application-servers.com/[url]
we use struts layout with all of our jsp's
it will take some time to prepare an example... and i am busy right
I took away the hypersonic one and tried with
default
key-generator
without success
I also added one myself into the standardjbosscmp-jdbc.xml which mapped to
org.jboss.ejb.plugins.cmp.jdbc.DB2IdentityValLocalCreateCommand,
which was mentioned in some posts about it being developed... (This
Have a look at JNDI View from jmx-console to see what is bound. Were there any errors
on deployment?
Your question would be better in the beginners corner forum.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852901#3852901
Reply to the post :
http://www.jboss.org/wiki/Wiki.jsp?page=CMPCaching
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852902#3852902
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852902
You should try with get-generated-keys entity-command.
Please post your jbosscmp-jbc.xml
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852904#3852904
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852904
Thanks
Will post this in beginners corner forum.
But the program i have written is correct ?
I couldn't see any errors on deployment. Also i couldn't find this JNDI name in the
JNDI-view .
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852905#3852905
Any CIF experts out there then please help!!!
I want to invalidate all instances of all entities from the container's cache
programatically.
In the deployment descriptor of all my entity beans I will set cache-invalidation to
false. I will do this because I do not want to invalidate entities
Hi!
I am writing an application that uses Xalans XSLTC package. When testing outside JBoss
I am using the latest jars from Xalan's web site, put in the
$JAVA_HOME/jre/lib/endorsed directory. This I do because the jars that comes along in
the J2SDK 1.4.2_06 are not working correctly.
Now I want
This is not a clustering question, it's a cache invalidation question. And although
the two usually go hand in hand, they do not necessarily do so. But this does seem to
be a place where experienced Cache Invalidation Framework experts hang out. So, any
CIF experts out there then please help!!!
Here is my jbosscmp-jdbc.xml
?xml version=1.0 encoding=UTF-8?
jbosscmp-jdbc
java:/test
type-mappingDB2/type-mapping
false
create-tablefalse/create-table
remove-tablefalse/remove-table
read-onlyfalse/read-only
time-out300/time-out
What version of JBoss?
ejb/mgmt/MEJB exist only in 4.0
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852911#3852911
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852911
I could resolve the problem.
The problem was because I didn't deploy the ejb-management.jar .
And by default its not being deployed in version 3.2.5 and 4.0.0.
But in the prev. version of JBoss ie (3.0.8, 3.0.4) this application was being
deployed by default.
Thanks
View the original post :
Actually, I have most of the business logic already available as EJBs.
Hence J2ee as back end is already there.
I need to use these EJBs and am trying to avoid RMI calls through another home-made
server.
And then I also thought IF JBoss can manage multiple sockets/threads/clients on its
own
Hi,
if you want save, the best way (IMO) is to put all in an EAR-File.
So your application work with the necassary XSLT and JBoss and other applications in
the same JBoss AS runs with different..
Wolf
View the original post :
I am trying to make an RMIAdaptor call from JBoss 4.0.0 to JBoss 3.2.5. However, when
I lookup the RMIAdaptor in 3.2.5 from 4.0.0 using JNDI, I get the following error:
| Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested
exception is:
|
Hi,
I get the above mentioned error when I try to use EhCache in Hibernate. I have placed
ehcache-1.0.jar in:
/default/deploy/lib/
Is this the correct place to put the jar file?
regards
Andrew
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852919#3852919
Please delete this thread...
http://jboss.org/index.html?module=bbop=viewtopict=55767
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852920#3852920
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852920
I would like to see a migration guidance too.
Regards
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852921#3852921
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852921
I have already tried that.
I put the three jars in my .ear file, and declared them as java modules in the ear's
META-INF/application.xml, as I do with several other libraries used, but it does not
work. I get the same error as I get when running with the old jars only.
/Fredrik
View the
Why is Xalan included in JBoss 3.2.6 distribution?
The jars xml-apis.jar, xercesImpl.jar and xalan.jar are included in the directories
jboss/lib and jboss/server/default/lib, respectively. They are also included in the
JRE distribution.
This would be reasonable if some startup config file
Hi i haven't showed the de.danet.an.staffmgmt.jbossx.StaffMemberLoginModule, here it
is:
import java.security.acl.Group;
| import java.util.Map;
| import java.util.List;
| import java.util.ArrayList;
| import java.sql.Connection;
| import java.sql.Statement;
| import
Hi,
I'm trying to integrate IIS (IIS5) with JBoss/Tomcat (3.2.5/5.0.26) that are on
different servers. Does anyone know any good guides or have any tips on how to set it
up? All examples I have found uses a standalone tomcat, that's run on the same server
as the IIS.
View the original post :
I have created an application which uses stateful HASingletons. In the event of the
master node going down these HASingletons are successfully started on the new master
node, but they lose all state information. Once this occurs my application becomes
confused and bad voodoo ensues. I had
Why can't a SAR be deployed with PrefixDeploymentSorter? I don't see any reason for
not employing this technique.
From what you say (or from the comments in jboss-service.xml), it appears that, SARs
should get deployed first. But from the exception that's mentioned, it shows that the
SARs are
Hi,
Thought I would as this as I have spent a day trying various configurations with
little joy.
I am simply trying to use basic authentication (configured in web.xml) and then use a
policy for UsersRolesLoginModule. I have set up some secutiry on the EJB that the
servlet is calling and get
I know this thread is very old but I am trying to implement something very similar, I
too need to capture the users organisation.
However all I did was amend my customer and the ClientLoginModule to supply a
TextInputCallback. Both my JAAS login and the filter which uses the Client-login
We hava been using jboss 3.2.3 for some time. I tried to migrate to jboss 4.0. One
thing I notice that logging does not work in jboss 4.0. I cannot get logging to work
from our applications. All appenders are setup properly but things that worked in
3.2.3 don't work under jboss 4.0. We use
I am experiencing the exact same behavior. Did you figure out what was wrong? My
first thought was that the queue connection was not closed, but explicitly calling
queueConnection.close() did not make a difference.
Any thoughts?
Thanks,
Adam Rice
hswen wrote : Hi,
| I have a stand alone
Hi Adrian,
I was experiencing something similar, where I was getting a SocketException after
pumping a bunch of messages onto a queue. I added code to close the session and then
close the connection, but I still see a single EOFException when the client shuts
down. Any thoughts?
Thanks,
Hi all,
error is due to a compilation of EJB-QL sentence.
There must be a good reason why it doesn't compile
but I can't see it (yet).
2004-10-27 14:23:21,484 ERROR [org.jboss.ejb.EntityContainer] Starting failed
jboss.j2ee:jndiName=pdmV1-I1.EDestinLocalHome,service=EJB
BTW: The same project works in 3.2.5, so I would love to hear from anyone with similar
experience.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852951#3852951
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852951
Hi again.. well i have changed my servlet code; now it's this one:
import java.lang.reflect.InvocationTargetException;
| import java.lang.reflect.Method;
| import java.security.PrivilegedAction;
| import java.security.PrivilegedActionException;
| import
I'm trying to deploy a har archive to jboss. When the session factory is bieng built,
particularly when the mapping files are bieng mapped to classes, the class that
corresponds to a found hmb.xml file is reported as not bieng found. These classes are
most definitely in the archive, both the
Hi,
today I was a bit surprised when I tried to lookup an object with the url
jnp:/localhost:1099 finding an object with no JBoss running on my computer.
Looking into the sources of NamingContext, I found the jnp.disableDiscovery property
and the feature of this NamingContext to do some
I have changed the cache provider name to :
net.sf.ehcache.hibernate.Provider
but am now getting the following message:
[Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml
found in the classpath:
Hi,
I figured out myself. Here is the explanation if someone gets the same problem. There
is a new package under deploy directory called ebxmlrr-service.sar. Apparently, this
package contains commons-logging.properties file that specifies NoOpLog as an
implementation for the logger that stops
... look inside the ehcache.jar file itself !
regards
furykid
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852959#3852959
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852959
Here is an outline of the steps I took in order to use HASingletons in a clustered
JBoss application. I hope it will be helpful to others who try to use HASingletons
for the first time. The below is based on the approach explained by Ivelin Ivanov in
the ONJava article found here:
I went through the JBoss Getting Started tutorial, and was wondering how J2EE
Application Clients worked with JBoss.
I see that in the Duke's Bank example, the Ant target that launches run-client simply
makes a normal Java call to the application client main class. However, there's no
launch
Will flush() write the contents of the cache to the data store (as the name suggests),
or simply invalidate the contents of the cache?
If running in commit option A, perhaps flush() knows that it is in control of the DB
and therefore knows that it is in sync with the DB and there would be no
I'm having the same problem. I added the security domain information, and then login
works (it rejects if I've used a bad password, and lets me in if I use a correct
password).
However, once I login with the correct password, I get the same error that the poster
mentioned.
The stacktrace from
Here is the exception I am getting, please let me know how to fix this as soon as you
can-
Exception in thread main javax.naming.NamingException: Failed to retrieve Nami
ng interface [Root exception is java.io.IOException]
at
Anyone? Ideas?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852965#3852965
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852965
---
This SF.Net email is sponsored by:
Could somebody please post what exactly was fixed here? I'm using 3.2.6 final and I'm
getting the same error I've always been getting trying to integrate TopLink using JTS
and JBoss 3.2.6.
The problem is this: In the afterCompletion() event, TopLink closes the DB connections
(returns them to
This is the exact same problem I am having, but this thread died without an
explanation of the fix.
What was the trick here? How did you modify the TopLink JTSSynchronizationListener to
play nice with JBoss?
Nate
View the original post :
I'm working my way through the getting started guide, and have created the DB, and
data. I bring up the jmx-console and go to the Hypersonic service. But, when I invoke
startDatabaseManager the console displays the following error:
12:18:59,979 ERROR [STDERR] java.lang.NoClassDefFoundError
One thing you can try (if you are using jboss-3.2.5 or above) is set the isolated
property on EARDeployer to true so that your EAR has a scoped classloader. If you are
using a earlier version, then you can always set scoped class loading for your ear
using jboss-app.xml. Check the jboss docs
I have a site with A LOT of groups, each wanting their own download view for their
items. How can I either:
-Restrict permissions to certain categories within the main downloads module screen.
or
-Add a downloads menu item for each group that will only list thier downloads?
Matt
View the
Is there a way within the Gui or JXM console to get rid of the Modules title/label
on the default menu? I want the default user menu items to slam up against the Home
link...
Matt
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852971#3852971
Reply to the
I followed the example in the book. However, I got the following exception when
running deploy-ws command. What did go wrong in parsing Webservices.xml?
11:19:18,824 ERROR [ObjectModelBuilder] Failed to invoke method newChild
java.lang.NoClassDefFoundError: javax/wsdl/WSDLException
at
I'm writing an entity bean called from a session bean. For teste only, I do:
ctx.getUserTransaction().begin();
TestLocal t = home.findByPrimaryKey(id);
String str_field = t.getStringField();
Integer int_field = t.getIntegerField();
t.setStringField(New Value);
I'm writing an entity bean called from a session bean. For tests only, I do:
ctx.getUserTransaction().begin();
TestLocal t = home.findByPrimaryKey(id);
String str_field = t.getStringField();
Integer int_field = t.getIntegerField();
t.setStringField(New Value);
t.setIntegerField(new
monocongo wrote : Once I finally have everything worked out I will post a forum
message or Wiki entry outlining all of the steps I needed to take to get this working.
Hopefully it will help other developers who want to use Singletons in a clustered
JBoss application avoid the headaches I've
Hi-
What this issue address in 3.2.6? We are running JBoss 3.2.6 under heavy load with
1.5GB for the JVM and finding that the JVM heap keeps growing and we are having to
reboot the servers daily to keep from having JBoss generate out-of-memory errors.
We have set the acccept count to 10 and
I tried enabling security for the Duke's Bank application as mentioned in the Getting
Started guide.
When I added the security-domain element for the jboss-web.xml file for the web
application, the login does work.
However, the Getting Started guide also says to add a security-domain element
How can I configure JBoss 3.2.5, so I can access the SSL configured Tomcat container
via Port 443, and have not to run JBoss as a system user with a userid below 1024? I
must use the standard HTTPS port 443, because my external JBoss server is outside the
company firewall and will run my
What operating system are you running? With Linux I use iptables to redirect port
443 to 8443 and run JBoss as a non-privileged user.This involves setting up
iptables for destination NAT.
r,
Lance
View the original post :
Hi,
currently I'm using SuSe 8.2, but I will switch to Debian30. Because I'm new to
managing the firewall with iptables (I use the SuSe yast tool), it would be nice to
have an initial help to build the filter tables for NAT.
Regards,
Roland
View the original post :
Your question is really more an issue of understanding EJB and not JBoss specifically.
When using commit option A, the container assumes exclusive ownership of the
database so it can cache the data very aggresively. However, at no time does the cache
contain incomplete writes to the database
You probably need to update to commit option A etc...
in the default commit option, you application server does not assume he is the only
one touching the database therefore with every get you perform your app server
refreshes itself from the database in case anyone else updated the database.
dannyb23 wrote : You probably need to update to commit option A etc...
| in the default commit option, you application server does not assume he is the
only one touching the database therefore with every get you perform your app server
refreshes itself from the database in case anyone else
Summary ::
Why is my browser not showing my constructed image
Retrieved image from DB , constructed using ImageIcon
Details
My Servlet code is retrieving image using resultset.getBlob() method
and then constructs an ImageIcon from it using the following code.
But when i display it using img
My Servlet code is using a CachedRowSet to get a blob datatype from mySQL4 database
using getBlob() function,from the table
uploads(uploadid int(10),filename varchar(20),BINARYFILE BLOB);
using the following code.
CachedRowSet rs;
rs =new
Rather than embedding a reference to the image data, you need to return a properly
formed response containing the correct http headers, then the image data. Here's an
excerpted example from one of my servlets that does this:
| ImageDTO imageValue =
|
I am not sure if I post this to JMX forum or here, hoping this is the right place.
I've defined an Xa Oracle Datasource and I'm using UserTransaction to commit, but it
is not happening (I am not getting any error or something) Here's the simplified code
below (the actual code involves a
I **guess** this feature is provided to faciliate the creation of NamingContext in
clustering scenarios. Looks like HA JNDI is used as the JNDI provider in clusters and
hence, even if you do not provide PROVIDER_URL value, it will try to obtain a
NamingContext, if it could find any server in
I'm using my own login module since 2.x. One special feature of this module is that
the principal returned after successful authentication is not the user name. It is a
special id associated with the user name (yes, this does make sense, actually it is
common practice: think of Unix, your user
Can anyone point out what must be quite obvious:
This is an error message from the console concerning the failure to
parse a query. What's wrong with the query? Note that there is a CMP
field called 'location'. with a getter and a setter. The problem seems
to be syntactic..?
...
Caused by:
Hello,
I am rather new to this, so please excude my ignorance. I am developing an application
that needs frequent read access to data in a database and infrequent write access.
Hence I am using entity beans to access this data. For performance reasons, I will be
using session beans as a
I'm trying to get jboss to run on startup but I just can't figure out what's going
wrong...
I can start it manually and it works just fine, however, jboss constantly writes to
the console so I'm locked into it until I shut it down, when it is started manually,
so I need the startup script to
hey, can javassist support synchronized blocks? Is it too hard to implement?
Thanks,
Bill
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852999#3852999
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852999
Come join a rapidly growing enterprise software and services company and the home of
Professional Open Source. JBoss, Inc. has immediate opening for Proactive Support
Specialists to join our team in Atlanta, Georgia or Austin, Texas. This is a
tremendous opportunity to be a part of a
I have a webservice I deployed and can access at
http://localhost:8080/ws4ee/services/WebServiceSourceService?wsdl and it works like a
champ.
I deployed a Servlet and it deploys just fine, but I can't figure out how to access it.
in my web.xml I have /servlet/ConfigUpdater
I go to
1 - 100 of 118 matches
Mail list logo