This is a Tomcat/Servlet issue, ask them. As I haven't seen this feature before, you
might have to write it yourself.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844340#3844340
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mod
Why only 64/128MB for the JVM when you have 512 on the system? What does RMI have to
do with fetching database records?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844339#3844339
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&m
Maybe you should stick to a single question, with one example, and one test case...
WRT connection pool What's your JBoss version? Use 3.2.6RC1.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844337#3844337
Reply to the post :
http://www.jboss.org/index.ht
It's actually a JMX error. There ought to be a way to specify different ObjectNames
for your EJBs. I would file a bug on this
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844336#3844336
Reply to the post :
http://www.jboss.org/index.html?module=bb&o
There is a jboss-web.xml that you put this stuff into, which goes into
xxx.war/META-INF. There should be a DTD you can look at someplace...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844335#3844335
Reply to the post :
http://www.jboss.org/index.html?mo
This is a servlet issue. Probably the example is wrong. The first thing you should
do, if you want to create a session is to create it before you output anything in the
response... Not a JBoss issue, AFAIK.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38
Last line of shutdown.sh, you can specify the port number to use:
org.jboss.Shutdown -S -s jnp://localhost:10990
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844333#3844333
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=
There is the famous SingletonMessageDrivenBean -- take a look at standardjboss.xml in
JBoss 3.2.5. Or, store your crap in a MBean, which is effectively a singleton.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844332#3844332
Reply to the post :
http://ww
Sometimes the best thing to do is Use the Source. Download the source and take a look
at the code. It will be much clearer what's going on then.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844331#3844331
Reply to the post :
http://www.jboss.org/index.h
Where are the thousands of messages going? Are they being consumed or not? Are they
going to the DB, and what DB is being used?
Reusing the same object doesn't improve anything, as it gets serialized (copied) on
the way to the server anyway.
If it's easy enough to reproduce, I would first up
i wanted to post a more clear explanation.
I was able to configure jboss to delay the insert after ejbpost create.
In order to do this, the following lines must be added to jboss.xml:
INSERTPOSTCREATE
true
Another thing that must be done, is to mark the entity beans to use this config
Include log4j.jar in your classpath and turn on trace/debug. You should see some JNP
server stuff coming across the wire. Likely, you're not connecting at all...but you
should see it try to anyway.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844328#3844
If you can find the MBean name for the EJB deployment, you can add a to the
-service.xml file. Or, just as easy, you can wait for the object to appear in JNDI in
a while() loop.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844327#3844327
Reply to the po
There is some indirection and Reflection to get attributes. And there are some
byte-code performance tricks which can optimize the call, if you hunt around you can
find more data on this.
If you are working within one JVM or with a serializeable object remotely, add a
"getInstance" method whi
In standardjboss.xml, the clustered Stateless Bean will use
InvokerInterceptor and JRMPInvokerHA, JRMPInvokerProxyHA when the container is
"by-reference"
MarshallingInvokerInterceptor and JRMPInvokerHA, JRMPInvokerProxyHA when the container
is "by-value"
If I don't change JRMPInvokerHA/JRMPI
You have to add stop/start methods. Unfortunately, there is no way to add
"interheritence" to an XMBean file. I think you should be able to add opertions from
another XMBean .xml file to your own via XDoclet, but it would require a lot of
changes and I haven't made the effort yet.
View the o
I have a complex J2EE application which uses JMS quite a lot. There is a batch process
which it runs overnight which is causing a memory leak. Each morning the server has
used more and more memory and eventually it will run out of memory. The memory is
never reclaimed by the JVM.
I think I have
You should only have to replace the InvokerInterceptor.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844322#3844322
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844322
-
If your past the instance acquisition interceptor then its available from the
Invocation.getEnterpriseContext() method.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844321#3844321
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mod
And when you remove the write mode from the file there is not an exception indicating
what is overwriting this file?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844320#3844320
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=
Found a solution: skiping "isLocal()"
Replaced 4 classes: InvokerInterceptor, MarshallingInvokerInterceptor, JRMPInvokerHA,
JRMPInvokerProxyHA.
Change the standardjboss.xml for InvokerInterceptor and MarshallingInvokerInterceptor,
Change the cluster-service.xml for JRMPInvokerHA
View the orig
I find it hard to believe you have marketing people speaking of units of work.
Your right that this is not a j2ee specific issue. Generically how to you cause a
thread of execution to break out of this loop:
|long i = 0;
|while( true )
|i ++;
|
Getting hold of the thre
The problem is simply that we don't support treating an http/webdav directory as an
exploded deployment in the same way that we treat an exploded file. Its just an
imlementation limitation at this point. If you want to take a look at generalizing
this that would be great.
View the original post
There should not be an access control exception without a security manager. Perhaps
your missing a class and the exception was not about not being able to use dynamic
class loading because the lack of security manager. Show the access control exception.
Otherwise there still must be a problem wi
Changing the ports to standard ones solved the problem
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844315#3844315
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844315
--
The ideal way to be setting the cause on the LoginException, but this is a 1.4.x
extension to the exception base classes that will not work with jdk 1.3 which we still
support at least for compilation. I could look at reflectively adding this info when
the runtime supports it.
The problem with
How can I get information from session bean? I try to print it to standart output,
but it is not working.
Can I don not use Logging for that ?
What can I use instead System.out.println ?
Help please!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844313#384
hi,
Thanks for the reply!.
we have specified default datasource in the jbosscmp-jdbc.xml as
given below:
java:/PSESPDS
Oracle9i
true
false
CandidatePedu
CANDIDATE_PEDU
candidateId
CANDIDATE_ID
please ignore my post.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844311#3844311
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844311
---
This SF.Net email is s
I checked the stacktrace, it seems InvokerInterceptor and
MarshallingInvokerInterceptor will always bypass TCP port if it's "Local".
So I plan to write my own interceptor and change standardjboss.xml. :-)
| 2004-08-05 18:23:56,184 INFO [STDOUT] at
org.jboss.invocation.local.LocalInvo
Jboss: 3.2.5
OS: Windows XP
I have a clustered StatelessSessionBean installed in Server1/Server2 (actually same
machine but different port settings).
Another client (MBean) in Server1 calls this Stateless bean repeatedly. But it seems
to use the LocalInvoker to call the StatelessBean in the sa
Just add the missing libaray in .server file from the preferences section of lomboz in
eclipse, and librarires are in /server /all/lib area. for server side and client side
is in clients ditrectory under jboss
Vishal.
View the original post :
http://www.jboss.org/index.html?module=bb&op=vi
Can you post your jboss-web.xml
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844306#3844306
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844306
---
This SF.Net e
Hi all,
I am trying to evaluate the performance for JBoss using JMS However of late I have run
into some really weird problem.
I start up a publisher object, publishing to a particular topic and I realize that it
publishes close to 800 msg\sec however the moment i start up a subscriber to the
I have this conde inside the servlet
| InitialContext ctx = new InitialContext();
| QueueConnectionFactory qconFactory = (QueueConnectionFactory)ctx.lookup(
"java:/ConnectionFactory" );
|
And surely it provides me with connection factory but when I use
this code:
| Properties env = new
Is there a way to retrieve the active SessionContext from within a custom Interceptor?
I have a static method I would like to make avaliable at any point in some session
beans that evaluates additional credentials stored with the currently authenticated
subject.
I would like to initialize the T
Hi fbeatty,
I just installed MaxDB and plan to use it with nukes. Can you send me the ddl
please... would be a great help!
sqirl at web.de
greetings
sqirl
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844295#3844295
Reply to the post :
http://www.jboss.or
Hi,
I would like to login to a server using the SRP protocol. I am using JBoss'
SRPLoginModule in my client side jaas config to do this. Now since I am working in a
clustered environment I have to determin if a thrown LoginException was caused by a
true authentication problem or simply becaus
There is a NoLogging Persistence Manager configuration. Do a search for this.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844293#3844293
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844293
-
Will the 9/3/04 release be certified by SUN? Or will that process still be on going
after 9/3/04 if so what is the estimated date for SUN Certification?
Thanks,
Chad
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844292#3844292
Reply to the post :
http://w
still seek for solution
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844291#3844291
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844291
---
This SF.Net email is
I've got a MDB with the trans-attribute set to 'Supports.' Some database reads and
writes are performed within the onMessage method.
I'm running with p6spy, which shows me all SQL statements executed by the application.
This shows that jbossmq issues 3 additional database writes every time o
In the JBoss 4.0 Development (J2EE-1.4 certified) section:
http://jboss.org/wiki/attach?page=JBossRoadmap%2FJBoss4ProjectDevSchedule.html
anonymous wrote :
| Primary goal for the release is J2EE certification. Per Scott, we have officially
announced that we will ship our J2EE 1.4 compatible pro
I cannot open the EJB Creator Wizard, Everything opens but the Wizard. Anybody knows
what could be wrong.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844288#3844288
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844
"atoi" wrote : Chapter 1: trying to deploy the test project and getting the following
errors:
|
| Project Test is missing required library:
'C:jboss/jboss-3.2.3/server/all/lib/javagroups-2.0.jar'
| Project Test is missing required library:
'C:jboss/jboss-3.2.3/server/all/lib/jbossmqha.jar
Guys
It worked, the mistake is
false
THanks
Sunny
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844286#3844286
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844286
---
Hi,
I read in JBoss manuals that its default transaction manager "does not do
transactional logging, and is thus incapable of automated recovery after a server
crash".
I need a transaction manager that will work with JBoss and database clusters to
provide high availability, redundancy and fail
Forgot... running 4.0.0 RC1
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844284#3844284
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844284
---
This SF.Net emai
I have found that if you run shutdown.bat from any directory other than the bin
directory you get the following error message:
Exception in thread "main" javax.naming.NamingException: Could not dereference object.
Root exception is javax.naming.CommunicationException. Root exception is
java.l
I am having difficulty connecting an Oracle package running on a different server to a
class file running on another server. Has someone done this before and can you provide
some help/examples?
System Environment:
1. Oracle database on a different box.
2. Unix box listening on 1099 (rmi port).
3
Hi all
I am using XATransaction in JBOSS. Since in our application, Transaction involves
JDBC, Entiry beans, and JMS. Local Tranacation may works for us, but we do see another
issue with the consistency of the data. In order to avoid the inconsistency data
problems
in a cluster env (where we a
Yes, even if i try
File f =
new File("C:\\jboss-3.2.4\\server\\default\\deploy\\cm.ear\\cm.war\\htm\\Rep\\Gland
5.xml");
boolean b = f.exists();
System.out.println("EXISTS" + b);
Document oDocument = dBuilder.parse(f);
I still get a problem. In the
I am looking for the estimated release date for JBoss 4.0. I need and App Server that
is J2EE 1.4 compliant. The JBoss roadmap I found was for JBoss 4.x which has a release
date of 9/13/05. I am hoping that 9/13/05 is not the release date for JBoss 4.0 just
later point releases.
Thanks,
Chad
I tried to run the J2eeTurorial (Duke's Bank) after installing JBoss. But I got an
error when I am trying to log in:
java.lang.IllegalStateException: Cannot create a session after the response has been
committed
at org.apache.coyote.tomcat5.CoyoteRequest.doGetSession(CoyoteRequest.java:227
Mat,
That did the trick.
I got the jsp-api.jar and the servlet-api.jar from
JBOSS_HOME/server/xxx/deploy/tomcat.sar,
and the jboss-j2ee.jar from
JBOSS_HOME/server\default\lib
Those jars satisfied idea, and I'm moving forward again.
Bill.
View the original post :
http://www.jboss.org/index.ht
Hi, I'm trying to migrate a web app from Tomcat 5.0.25 onto JBoss 3.2
On my original deployment, I had a custom JNDI resource, with a custom ResourceFactory
class thaht initialized the instance.
I configured that using server.xml with the following code snippet:
|
|
|
Guys,
Problem resolved.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844266#3844266
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844266
---
This SF.Net email is
Hi,
I'm really newbie in jboss and also in ldap.
I found into documentation that ldap authentication with jboss is possible using
org.jboss.security.auth.spi.LdapLoginModule.
I find some exemples to configure JBoss, but what is the ldap shema used by jboss ?
I can't find some exemples to put user
We are experiences the exact same problems. I did notice that our server's times are
slightly different, would this make any difference? At this point to me it appears to
be a jboss bug.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844263#3844263
Reply to
I have an entity bean that calls another entity bean. I noticed that the following
lookup doesn't work:
XXXHome xxxHome = (XXXLocalHome) ctx.lookup("java:comp/env/ejb/XXXLocalHome");
but if I remove "java:comp/env", it works. Any idea why? What should I do if I want to
use the full path?
View
also:
- when I modify the permissions of one of my HtmlBlocks with the permission module,
it's implicite that the component-pattern will be "mycomponent::", isn't it?
and
- what are the three regions "reg1:reg2:reg3" of a pattern for htmlBlock component
compared to? when I read in the call of
Hi Guys,
I am migrating an application (struts, EJBs) from WebLogic 8.1 to JBoss 3.2.5.
Uploading images and later presenting them per users' request is a crucial part of the
application.
In WebLogic design I used virtual directory mapping in weblogic.xml and stored images
in there. In databa
Here is my jsp code
<%@ page
import="java.net.URLDecoder,org.w3c.dom.Document,java.io.*,javax.xml.parsers.DocumentBuilder,
javax.xml.parsers.DocumentBuilderFactory" %>
<%
try {
//create a factory instance
DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newI
issue disappeared with jdk 142_05.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844257#3844257
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844257
---
This SF.Ne
When deploying a class with following XDoclet tags:
@jmx.mbean name="xx:service=yy"
extends="org.jboss.system.ServiceMBean"
@jboss.service servicefile="jboss"
@jboss.xmbean
on JBoss 3.2.3, the service is never started.
I saw that in the generated yy.xml file the start and stop method are not inclu
I have done some performance tests and have compared two scenarios.
1. Getting 100,000 times 8 properties from an mbean.
2. Getting 100,000 times 8 propeties by a simple getter method.
My results are like this :
10:55:08,535 INFO [STDOUT] property Time :31 msec
10:55:44,913 INFO [STDOUT] JMX T
Hi
I'm trying to figure out how the caching for cmp entity beans works in JBoss. I had
this (maybee naive) idea that if an entity bean was loaded the cmp engine would load
this bean only once from the database (One time for each transaction for commit option
B).
This is the scenario:
I repeat
Hello,
I need a design hint for the following application scenario:
I have to process data in near real time which arrives in short intevalls from various
identical sources. Before the data can be processed by an object (Session or POJO) the
object has to set-up its internal configuration data.
Following up on this:
Using JBoss-IDE you can generate a simple client jar containing the required/EJB
interfaces but this jar does not contain any stub/skeleton classes.
It seems that even with this jar available you still need to setup security in order
to obtain an initialcontext. You can
Hi,
are there any hints on setting up a fault tolerant system of JBoss servers.
We have an application with a Swing Client which uses RMIoverHTTPs to connect to the
JBoss servers (we have three).
The distribution is done using WebStart. Caused by a lack of knowledge and money, we
decided to ad
thanks gary, I guess I have to struggle more with those patterns, I've tried many tho
so if someone would tell me the basic ones I should give to my HtmlBlocks
permissions...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844236#3844236
Reply to the post :
Hallo Everybody,
I have run into some trouble after switching from JBoss 3.2.3 to 3.2.5. My deployed
application (some Entity Beans and some Session Beans) does not start up anymore, I am
getting the following error in the log file:
2004-08-05 12:32:17,533 DEBUG [org.jboss.system.ServiceContro
The call stack is:
StandardWrapperValve[ErinorsPortal Servlet]: Servlet.service() for servlet
ErinorsPortal Servlet threw exception
javax.servlet.ServletException
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:834)
at
org.apache.tapestry.ApplicationServl
Hello,
When I run Javassist 2.6 (in Tapestry 3.0) without security manager, everthing works
OK.
But when I switch to a security manager it throws a NotFoundException: java.lang.Object
I debugged the code and I figured out that
getClass().getResourceAsStream("/java/lang/Object.class")
return
I solved the problem. I put an open war file in farm folder...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844227#3844227
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844227
--
Good morning Lads!
Is there any way to implemet the following scenario:
1. There are two instances of JBoss running one 3.2.x(JBoss1) another is 2.4.x (JBoss2)
2. JBoss2 hosts EJB application with the number of session beans.
3. JBoss1 hosts another session EJB that needs to invoke JBoss2 EJB met
Hai
I got a problem when i am migrating my exisitng project from weblogic to jboss.
Actually my project is doing very well in weblogic but the problem is all of my jsp
forms, hidden values and the database returning values which actually should be blank
is displaying null. Actually they are
Hello,
we have a very strange behaviour with jboss3.2.5 running on SuSE-Linux 8.1 with
sun-jdk 1.4.2_03:
Without any obvious reasons, jboss undeploys the application. The logs do not show up
any irregularities:
2004-08-04 19:52:23,397 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] ru
Hi all,
I am using JBoss3.2.2RC3 and Oracle 9.2. I am using Windows XP with 512 mb of RAM. I
have set Xms64m -Xmx128m for JBoss. I have a table with 8000+ records. While
retrieving the records, it takes atleast 5 mins to fetch the records. More often than
fetching I am getting
org.jboss.tm.JB
Hi Everyone,
I have a small problem. In my jbosscmp-jdbc.xml i have defined the data-source in the
following manner
java:/PSESPDS
Oracle9i
true
false
Could you please tell me how can i add a second data-source in this file because i am
using some CMPs which are related
Thank you invisiblemage,
I'll try to adapt your example to my problem.
Moreno
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844219#3844219
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844219
-
what does it mean?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844216#3844216
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844216
---
This SF.Net email is spons
Check JBossCMP wiki for caching and locking.
You could use IPT for read-write container and standard container configuration with
commit option A and cache invalidation for read-only container.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844215#3844215
Rep
you can put a tag on your timer mbean that waits on the name of the EJB container
MBean. As you cannot guess the name of the ejb container mbean, you need to go on the
jmx-console first, find the name, and use it in your depends tag.
View the original post :
http://www.jboss.org/index.html?mod
Hello all
I have a timerEJB, and it is deployed correctly, but every time I started JBoss, I
have to call a TimerManager.start to start the timer.
Any method can make it autostart when JBoss started?
I have tried a MBean, and using a timer-service.xml.
But it is impossible to call a
EJB?i
>>But in this case I must lock the "user/pk" table instead of
>>"my data" table: where is the difference ?
You do the following:
(Server Code)
try {
locktable.findByUserLock(user,row_to_lock);
return false;
} catch (FinderException e) {
insert(user,row_to_lock); // can only be inserted of
I i undrestood yr problem correctly, then its an issue with 'additvity' flag inr yr
logger configutartion for that looger.
If you set this flag=false then it shouldn't multiply logging in.
like
---
-
View the original post :
http://
87 matches
Mail list logo