Please, I need urgent help on connecting JBoss AS 4.0.2 to Netbeans IDE 3.5.1.
I will surely be grateful if if this is treated with urgency.
Regards
Oche
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908352#3908352
Reply to the post :
http://www.jboss.com
And which kind of Entity Container should I use?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908351#3908351
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908351
---
After configuring SSL is seem to get this error of and on. Can anyone help
Thank you
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
Hi,
I put both the cache configuration and the mbean defintion that binds it to the
JNDI tree in one file. Name of the file treecacheservice.xml in the deploy
directory.
treecacheservice.xml
--
Hi.
Am I incorrect in assuming that JBoss WS will validate for non-nillable
elements on the server-side?
To illustrate, I've created a very simple web service. Here's the WSDL:
|
| http://hello.ws.jboss.org/";
xmlns:tns="http://hello.ws.jboss.org/"; xmlns="http://schemas.xmlsoap.org/wsdl
My EJB skills are not really the best, and I am trying to deploy this
application written by someone else on JBoss AS 4.0.3SP1.
The system is running Windows XP with JDK 1.5_05. If someone could help me out
with getting this setup, it would be really great, as I have already spent a
considerabl
hi,
to 2) there is one way i can think of but don't know if this would meet your
requirements, it's actually more of a hack:
by putting your jars in your jboss root lib folder all of your business classes
become available from all deployed apps. this means you're moving your jars
(classes) out
Sorry, My poor English...
I say that InvocationLayer's JVM & UIL2
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908322#3908322
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908322
--
I don't know how to solve this problem but in my case I've put the tomahawk.jar
in the server's lib and all xld's from it in the project's web-inf... and now
it seems too work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908321#3908321
Reply to the post :
I think that JVM's performance(ex:throughput) better than UIL2's
What you think about that?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908320#3908320
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908320
--
Shameless bump.
I have a situation where the client to JBoss is a multi-threaded server to
other clients. It uses two basic JNDI authentications, one on behalf of the
clients, and one for itself. The problem is that after it obtains a remote
interface using its own authentication, when it l
Allow me to pose the question differently. How does the valve comminucate with
the LoginContext? From reading the manual, it seems that the valve would
create a CallbackHandler from the authentication token. Then it would
instatiate a LoginContext and send the CallbackHandler to the LoginCont
hi,
I have build an EJB that i deployed on my jBoss application server (version:
jboss-4.0.3RC2). I have also written a nice client as end user application
(swing client). I use eclip 3.1 as java editor. When I run my client
application from within eclips al works fine. My remote bean on the jB
When the valve is used, does it call the LoginModule with the data it has
received or does the valve place the data somewhere for the LoginModule to pick
up and use?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908298#3908298
Reply to the post :
http://ww
Finally dawned on me what the problem was. Since I'm not using the security
model under Tomcat I'm using what is provided by Java. It uses a file in
JRE_HOME/lib/security called java.policy.
Edit and add the following:
grant {
permission mx4j.server.MBeanTrustPermission "register";
};
Hope t
I finally found the problem after debugging JBoss:
the deployment descriptor (ejb-jar.xml) generated by xdoclet v1.2.3 spit out a
method signature with a param of an inner class which had an incorrect format
of "CLASS.INNERCLASS" insteand of "CLASS$INNERCLASS"
This is why JBoss ignored the TX t
Hi ,
I use partical content(response sttaus code 206) to show pdf file.
Anybody here use the same?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908291#3908291
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908291
OK i cud make it work. I had my faces lib jar files in the ear file of my
application. So When i removed the myfaces jar files from the ear file it made
it work. I had to keep the tomahawk jar in the jboss jsf-lib directory.
But when i try to keep the tomahawk jar file in the WEB-inf/lib directo
I know this may be silly but have you upgraded you tar and gzip to the GNU
verstion. I know I had to.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908289#3908289
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908289
Hello,
using JBoss 4.0.2 with http-invoker,
I'm trying to deploy a data source ("/deploy/jms-postgres-ds.xml") and it
appears that it depends/uses on
JRMPInvoker (name="jboss:service=invoker,type=jrmp).
Is it possible to make
it depend/use HttpInvoker (name="jboss:service=invoker,type=http)??
Hi:
I have a app running ok in development enviroment (over JBOSS 3.2.5 with Tomcat
embed 4.x running in JDK 1.4.x). It has four web modules, in each of that some
.jar (in the WEB-INF/lib directory) are the same (v.gr. xerces, oro, etc)
In production enviroment we try to install the identical c
Hi,
i want to have a behaviour similar to portlets but with standard web apps.
I have some basic elements like ejbs, pojos for hibernate and some mbeans
deployed inside of an ear. Now i want to hotdeploy wars (for example with a
StrutsServlet inside) which have to access the classes inside of t
Hi,
i want to have a behaviour similar to portlets but with standard web apps.
I have some basic elements like ejbs, pojos for hibernate and some mbeans
deployed inside of an ear. Now i want to hotdeploy wars (for example with a
StrutsServlet inside) which have to access the classes inside of t
Hi,
i want to have a behaviour similar to portlets but with standard web apps.
I have some basic elements like ejbs, pojos for hibernate and some mbeans
deployed inside of an ear. Now i want to hotdeploy wars (for example with a
StrutsServlet inside) which have to access the classes inside of t
Hi,
i want to have a behaviour similar to portlets but with standard web apps.
I have some basic elements like ejbs, pojos for hibernate and some mbeans
deployed inside of an ear. Now i want to hotdeploy wars (for example with a
StrutsServlet inside) which have to access the classes inside of t
Hi,
Iam using HQL (Hibernate) to query a Table for selecting few fields of a record
of the Table in the DataBase.
My Query is like the Following, Here Iam selecting 2 of the 20 Cloumns of my
Persisting Object - ModelDTO
So, I've Created a New DTO with these two fields and Have written my Q
Yes there is !!! Please, read my post more carefully "I can read it o'right,
but when I try to change it, I get this at the end of the method".
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908260#3908260
Reply to the post :
http://www.jboss.com/index.html?
anonymous wrote : After deploying your bean navigate to
http://localhost:8080/jmx-console - find the 'JNDI View' MBean and invoke the
list operation. If your bean deployed correctly you should see it in the global
namespace, you will also be able to see the name to use for the lookup.
No, it i
Hi all,
I'm trying to deploy a .war file which contains JSPs in a subdirectory. When I
move the JSPs into the root directory of the war, everything works fine.
However, when I put them into a subdirectorycalled "temp" and modify web.xml
appropriately, I get the following error:
10:41:50,711 ERR
Some more insight from my site:
I need to access the JVM in which the webapp is deployed and in which the
SpringContext is loaded.
So i hope someone has any idea how to do this.
Thanks,
Maarten
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908245#3908245
You need to look at the stack trace you are getting a little bit closer, is
that message from the lookup or from the new InitialContext()?
The error you are getting suggests that you have not provided any properties to
the initial context constructor or provided a jndi.properties file on the
cl
Hi. i have the next problem,
i have one ejb3 Test.class with the next code:
Server side
| package my.pkg.ejb;
|
| import javax.ejb.Remote;
| import javax.ejb.Stateful;
|
| @Stateful
| @Remote
| public class Test {
| public String getTest(){
| return "the big
Why do I need to optimize when I have a very default bean in default JBoss
installation. I have not optimized the other A/S. Doesn't JBoss work at all
without optimization?
I tried changing the read-ahead settings in my jbosscmp-jdbc.xml, but that
didn't have any impact to the performance.
-Ta
You just need to read. The exception tells you: "Update failed. Expected one
affected row: rowsAffected=0"
There is just no such record that you are trying to update.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908236#3908236
Reply to the post :
http://w
Meanwhile I upgraded to 4.0.3 and this is the result:
18:42:10,671 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.har:service=Hibernate
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: No
Hello,
I'm having a hard time to commit a transaction that changes a simple field in
my Entity Bean. The funny part is that it happens only with this particular
field. I've tested with other fields of the same EJB (all plain CMP Fields) and
it works fine. I can read it o'right, but when I try to
Read the cmp2 documentation, especially topics about optimized loading...
Regards
Ulf
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908230#3908230
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908230
--
Hello,
using JBoss 4.0.2 with http-invoker
trying to disable server ports that support jrmp services so that the client
can access the server only over http.
As I understand JRMPInvoker (name="jboss:service=invoker,type=jrmp) must be
deployed, but is it possible to disable access to it from a r
Here is some code to print out all of the system properties on stdout:
TreeMap mvProp = new TreeMap(System.getProperties());
| System.out.println("\nThe system properties:");
| for (java.util.Iterator iter = mvProp.keySet().iterator(); iter
| .hasNext();)
If I enable CMP debug then I get tons of SQL queries just for one findAll
finder call:
19:04:45,473 DEBUG [MyFooEntityBean] Executing SQL: SELECT xx_name,
xx_address,... FROM xx_foo WHERE (xx_foo_id=?)
| 19:04:45,504 DEBUG [MyFooEntityBean] Executing SQL: SELECT xx_name,
xx_address,... FROM x
First, some JMS vendors actually DON'T make their objects serializable. Second
have you tried this? Or are you just assuming at this point. Third if this is
the case and I access the JMS Administered objects from a global JNDI tree that
is external to JBOSS, will the JMS invocations be networ
Thanks for your help,
I don't think that URL are a problem : because I ran a copy of ther server on a
machine without firewall and I can reach it remotly.
I'm sorry but I don't get you :
anonymous wrote :
| Have you tried a test with your simple RMI server behind the firewall and
your RMI cl
Reading rows from the Collection is very slow. 1000 db rows takes 30 seconds
with one table and 6 seconds with another. The slower has about 5 times more
fields. With another A/S with the same db and JDBC driver no problems. Is this
normal JBoss performance?
JBoss 4.0.3SP1
Connector/J 3.1.11.
J
Could someone show me, how to use @RunAs or @RunAsPrincipal?
My try:
SessionBean
| @Stateless
| @SecurityDomain("mysecuritydomain")
| public class CustomerControllerBean implements CustomerController{
| @PersistenceContext EntityManager em;
|
| @RolesAllowed({"AdminUser"})
|
any help/suggestions on this issue is appreciated
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908213#3908213
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908213
---
Our application serves pdf file over the web.This how we do pdf streaming
1.browser sends a request for a pdf file
2.Our application adds a header Accpet-Ranges which servers like a flag by
which browser understands that this server can send response in byte
ranges(streaming).
3.Jboss sends th
I mean, when you use Rmi (url begins with jnp://) that are the parameters you
need to configure.
E.g. when using rmi over http (also know as "using http as invokation layer")
you need to configure http-invoker.sar.
Have you tried a test with your simple RMI server behind the firewall and your
Ok, I've made a little progress. I've figured out how to enable HTTPS inside
JBoss, but I still have problems when I try to configure the
JaasSecurityDomain.
If you just want to enable HTTPS, you need to add the algorithm parameter to
server.xml so that it looks like this:
|
|
To v
I have developed my first EJB and when I copy it into JBoss deploy folder I can
see that some kind of copy is created in tmp/deploy folder. Since there are no
any messages in the WinXP console (CMD line), does this means my EJB was
successfuly deployed?
Also, when I try to find it using:
Objec
Any one WHo has Idea please help
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908201#3908201
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908201
---
This SF.Net
What do you mean by
anonymous wrote :
| RMI/JNDI-jnp :
| 1) the url must be the firewall's url
|
I have done a test with a simple RMI server (launch on the same machine than
the jboss server), and a simple RMI client. It works fine !!
I understood the problem with the hostname and I don
I've got this error, but in my case it was just the server, behind a firewall,
not correctly configured (but the log was the same - Cannot authenticate user)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908194#3908194
Reply to the post :
http://www.jboss.
oh oh... none of the xml tags can be seen ! sorry about that... under the
Naming bean and the HttpInvoker bean :
| :8443/invoker/readonly/JMXInvokerServlet
|
| http://:8443/invoker/readonly/JMXInvokerServlet
|
|
View the original post :
http://www.jboss.com/in
Whenever you see the 'major.minor version' error it means that you have
incompatible JVMs. Chances are that you've not set up your project to use JDK
1.5, and XDoclet is set to use 1.4, or something of that sort.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
After the lookup, the server sends the addresses specified in
deploy/http-invoker.sar/META-INF/jboss-service.xml to the client (when using
http).
Try this option :
a) delet the attribute "UseHostName" and
b) add an InvokerURL attribute and
c) change the ports used in the file to your 8443 port
Hi all,
I have added the following MBean tag in jboss-service.xml, I am getting the
error in the jboss console...Please someone tell me what I am missing.
Thank you
Vnay
MBean tag
---
jboss:service=invoker,type
I think it depends on the configuration of your server.
The code seems ok.
When using a server behind a firewall, it is necessary to configure it in order
to provide clients with the address of the firewall (otherwise, after the first
lookup call, the server will send its local hostname to the
are you overwriting the init(PortletConfig config) method ? If so, don't forget
to call super() there.
|public void init(PortletConfig config) throws PortletException
|{
|super(config);
|// .
|}
|
the config holds the information about the title
I just found out jboss 4.0.3SP1 has a jar called jboss-hibernate.jar that
includes this IF.
I wonder if it's necessary to upgrade to this JBoss release or if its also
possible to patch 4.0.2 ?
At least the docs
(http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch13.html#ch13.config.table)
r
Hi,
I have an MBean which is deployed through an EAR file and the EAR file also
contains a WAR file and JAR-files in de APP-INF/lib.
The deployements works fine and the WAR file starts the Spring
applicationContext. What i need is to call our ServiceLocator to get the
applicationcontext. So i
You should add a version column to your entities
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908169#3908169
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908169
I have just a little question about transaction locking.
I have an application, which has some few write operations but on the website a
lot of read operations.
Using Standard CMP Entity Bean ends up with deadlocks on the webserver side, so
I tired to use Instance per Transaction and other Entity
JBoss usually binds its services to only one network interface. You can check
on which interface JBoss listens with:
(Linux) netstat -ant
(Win32) netstat -an -p tcp
You should get something like:
TCP127.0.0.1:1098 0.0.0.0:0 LISTENING
TCP127.0.0.1:1099 0
You are using RPC/encoded it looks like
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/";
which is strange since you are using rpc/literal in your wscompile.
Anyway the main problem is that your vals tag contains item tag. Item is not
specified anywhere in your wsdl or mapping. Plea
This should be jboss in a archive, the same version as the installer will
install, but this cannot be...
If I unpack the archive and compare the "all" directory (the server named all),
the content of this and the content of what is installed by the installer using
the server-configuration "all"
Hi, when i want to use a remote database in my cmp beans i must modify a bunch
of xml-files, do i need to include theese files when i package the jar file? if
so, wich files?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908161#3908161
Reply to the post :
Hi,
I have been trying to implement authentication using JAAS in my Struts based
application running on JBoss 4.0.2. But Unluckily i don't have positive results
at all :(..
The application consists of some actions implemented using Struts, and some
session and entity EJBs implementing the bus
I need to specify event listeners with the hibernate MBean and read on JIRA
about org.jboss.hibernate.ListenerInjector.
I could not yet find this class in jboss?
Please tell me, has this class been passed to the JBoss release and in which
jar I can find it?
View the original post :
http://www.
I've recently upgraded to Java 5 and JBoss 3.2.7 and want to use visualgc to
track down some GC problems I have been having.
I can use visualgc on a local install of JBoss with:
visualgc 3456
That works fine. As a test to see if I can get it to work on a remote jboss, I
tried this:
visualgc [
Hi,
Did you find any solution to this? I'm having the same problem with JBoss 4.0.2.
13:36:25,997 WARN [Connection] Connection failure, use
javax.jms.Connection.setExceptionListener() to handle this error and reconnect
| org.jboss.mq.SpyJMSException: No pong received; - nested throwable:
(j
I think you need to review docs/wiki. IIRC this is supported by JBoss (I seem
to remember using it before we migrated to ejb3).
Joachim
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908148#3908148
Reply to the post :
http://www.jboss.com/index.html?module=
Hi communtiy,
I found out that you dont support the limit feature.
Do you plan the important database feature next time?
Regards,
Oliver
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908147#3908147
Reply to the post :
http://www.jboss.com/index.html?modul
thanks but how can i call the system.properties from java?
Oliver
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908146#3908146
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908146
--
You should not have to turn off validation. It it the responsibility of JBoss
to provide a correct URI resolving machanism to the XML parser. There should be
no need to download the DTD from the web, as they are included in the JBoss
distribution. You may try and use a relative URI. If that does
"elkner" wrote : Try to add to the keystore the certificate[s] of the CA,who
signed the two certs as well.
I tried to add CA certificate but it seems doesn't work, do you think I should
set any other jboss configuration file?
Thanks anyway
View the original post :
http://www.jboss.com/index.htm
Hello,
I'm using xdoclet to generate XML for XMBeans. This works fine and the XML
looks like e. g.:
http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd";>
...
When this XML is deployed the server tries to validate it against the mentioned
DTD. Unfortunately the server is behind a firewall an
Hello there
I have some org.jboss.varia.scheduler.Schedulable tasks, which are supposed to
run at different intervals; once an hour, once a day and once a week. Hence I
configure them like this (application details emitted):
|
| true
| MyTask1
| dd-MM
Hi,
I have a very general question that I hope someone can help me to answer.
The basic question is what type of trust needs to be established between a
publisher and subscriber.
Let's imagine that we are on a system that is set up to "accept" requests from
random outside servers but is not
Hello,
here the solution for others with the same problem:
i use sessionFactory.openSession() instead of
sessionFactory.getCurrentSession() and it works fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908130#3908130
Reply to the post :
http://www.jbos
Hi,
While using PESSIMISTIC locking approach with JBossCache1.2 and Hibernate2.1.3
in our application, in JBoss-3.2.3, we frequently see the following exceptions:
10:16:29,999 ERROR [IdentityLock] write lock for
//com/dbdata/measureeditor/hibernateobject/MsMeasure/[EMAIL PROTECTED]:
=101,versi
Hello,
actually I was implementing javax.portlet.Portlet. Now I changed that to extend
GenericPortlets. Since I'm overriding the render method (which obviously is the
reason for not showing up the title in the first place) I now tried to call the
super.render method, however this doesnt work ei
Hello,
We had a web site using JBoss and JSP/Servlet/JavaBean inside.
It seems fine, but suddenly, All Session Values/Objects lost after these 3
lines:
2005-11-21 15:42:05,712 DEBUG [org.jboss.util.NestedThrowable]
org.jboss.util.NestedThrowable.parentTraceEnabled=true
2005-11-21 15:42:05,713
Thanks Adrian
I obviously searched the wrong categories. I'll do a followup in the subtask in
Jira.
Oystein
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908122#3908122
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
Hello,
We had a web site using JBoss and JSP/Servlet/JavaBean inside.
It seems fine, but suddenly, All Session Values/Objects lost after these 3
lines:
2005-11-21 15:42:05,712 DEBUG [org.jboss.util.NestedThrowable]
org.jboss.util.NestedThrowable.parentTraceEnabled=true
2005-11-21 15:42:05,713 D
Hi
anonymous wrote : Unsupported major.minor version 49.0
This is in most cases when you run classes compiled under jdk1.5 using jdk1.4.
Try running portal using jre1.5.
Remamber that Portal has "javac.source" and "javac.target" set to "1.4" in in
ant.
View the original post :
http://www.jb
Hi Mike. Thanks for your reply.
Of course you are wright, but I only want to know the difference between a
BOSS_HOME\server\default\deploy\jbossweb-tomcat55.sar\server.xml configuration
where it's included the valve and one
that is not included.
Gil
View the original post :
http://www.jbos
86 matches
Mail list logo