Hi all,
I am migrating from WebLogic to JBoss.
But I am struck up at one point which I am finding hard to resolve.
Actually we were using sever-side validation in weblogic for not printing the null
string by adding the code as
jsp-descriptor
jsp-param
Hi all,
I am migrating from WebLogic to JBoss.
But I am struck up at one point which I ma finding hard to resolve.
Actually we were using sever-side validation for not printing the nul string string by
adding the code as
jsp-descriptor
jsp-param
param-nameprintNulls/param-name
Hello everyone,
I write one custom service, which calls an EJB creation.
[JBoss 3.2.3]
I put the custom.jar and test-service.xml in $JBoss/server/all/deploy, and all runs
OK.
But when I restart the JBoss Server, it has a problem.
It seems the test-service.xml is being deployed before
invisiblemage wrote:
So, are we talking of real clients, that read some data, display it to the user,
and after 20 minutes the user commits new data?
Yes.
Then it is really no good practice to keep the entity-reference on the client (with a
transaction open ?!!) - the client should never
http://sourceforge.net/project/showfiles.php?group_id=22866package_id=16942
Src code for jboss lives at source forge.
Vishal.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844208#3844208
Reply to the post :
yr bean doesnt seem to be bound to right name as compred to the name u re looking for
from yr clinert.
Have look at the Jndi name its bound to from Jboss...JMX console.
Also check tha yr bean is deployed without errors.
Vishal
View the original post :
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
---
-
appnder-ref ref=xxx/
View the
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 not
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
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 :
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=bbop=viewtopicp=3844215#3844215
what does it mean?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844216#3844216
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844216
---
This SF.Net email is sponsored
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=bbop=viewtopicp=3844219#3844219
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844219
Hi Everyone,
I have a small problem. In my jbosscmp-jdbc.xml i have defined the data-source in the
following manner
jbosscmp-jdbc
java:/PSESPDS
datasource-mappingOracle9i/datasource-mapping
create-tabletrue/create-table
remove-tablefalse/remove-table
Could you please
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
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]
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
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
I solved the problem. I put an open war file in farm folder...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844227#3844227
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844227
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)
returns
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
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
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=bbop=viewtopicp=3844236#3844236
Reply to the post :
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
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
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
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
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
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 included.
issue disappeared with jdk 142_05.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844257#3844257
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844257
---
This SF.Net
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 =
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
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
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 the
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=bbop=viewtopicp=3844263#3844263
Reply to
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
Guys,
Problem resolved.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844266#3844266
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844266
---
This SF.Net email is
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:
Resource
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 :
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
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
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
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
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).
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
Forgot... running 4.0.0 RC1
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844284#3844284
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844284
---
This SF.Net email is
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
Guys
It worked, the mistake is
isSameRM-override-valuefalse/isSameRM-override-value
THanks
Sunny
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844286#3844286
Reply to the post :
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'
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=bbop=viewtopicp=3844288#3844288
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844288
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
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
still seek for solution
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844291#3844291
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844291
---
This SF.Net email is
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=bbop=viewtopicp=3844292#3844292
Reply to the post :
There is a NoLogging Persistence Manager configuration. Do a search for this.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844293#3844293
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844293
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
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=bbop=viewtopicp=3844295#3844295
Reply to the post :
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
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
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
Can you post your jboss-web.xml
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844306#3844306
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844306
---
This SF.Net email
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 :
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
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
please ignore my post.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844311#3844311
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844311
---
This SF.Net email is
hi,
Thanks for the reply!.
we have specified default datasource in the jbosscmp-jdbc.xml as
given below:
jbosscmp-jdbc
java:/PSESPDS
datasource-mappingOracle9i/datasource-mapping
create-tabletrue/create-table
remove-tablefalse/remove-table
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
Changing the ports to standard ones solved the problem
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844315#3844315
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844315
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
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
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
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
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=bbop=viewtopicp=3844320#3844320
Reply to the post :
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=bbop=viewtopicp=3844321#3844321
Reply to the post :
You should only have to replace the InvokerInterceptor.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844322#3844322
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844322
75 matches
Mail list logo