I have compiled and deployed the same four application to two different servers (Wind
Xp Pro SP1, JBoss 3.2.5/Tomcat, JDK 1.4.2, J2EE 1.3). However one (and only one) of
the applications bombs on only one of the servers complaining about my jsp (see
below). Any ideas or suggestions as to what
i need configuration of https in jboss 3.0.8
someone can help me?
Tank you.
Ottoniel
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845784#3845784
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845784
I'm using JBOSS 3.2.5 (latest production version). When I use the
jmx-console page and then select catalina server mbean to update any
attributes, I get the following exception. The method "setModelerType"
is indeed not there in the StandardServer. So the
question is, why is the catalina server mbe
Hi,
I'm trying to run two clusters (development / production) on the same network. I've
read several suggestions in the forums indicating that I need to change the
multi-cast address in cluster-service.xml, ie:
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845781#3845781
Reply
Is there a way to force an CMT entity bean to commit to a database without caching?
Is there some setting that I need to edit?
Thanks in advance.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845780#3845780
Reply to the post :
http://www.jboss.org/index.h
Hallo Eveerybody
I would like to over rule some default properties of the JDBC driver I am using.
I have tried the following config statements in my -ds.xml file, but it does not seem
so effect the connection at all!?
propertyValue
and
propertyValue http://www.jboss.org/index.html?module=bb
"jaap" wrote : Well
|
| I have got a small site running JBoss. About 1000 visitors a day. The site is
reasonably complex - light pages are about 10 database requests, the heavier pages
need up till 1000 database requests.
|
| Before JBoss I had the same war's where running flawlessl
You found the bug, not me.
I missed that one.
James
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845777#3845777
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845777
--
I'm not sure if the following EJB-QL with the "IS EMPTY" expression is translated
correctly by JBoss 3.2.5. Wouldn't the generated SQL return an empty result no matter
what?
|
|
|
|
| translated to...
|
| SELECT DISTINCT t0_s.service_id FROM service t0_s, subscription t1
Another followup: I don't see this behavior in JBoss 3.2.3; getServerPort() correctly
returns 8080 with the stock configuration. Is it possible this is a bug introduced
between .3 and .5?
--
David Norris
[EMAIL PROTECTED]
View the original post :
http://www.jboss.org/index.html?module=bb&op=vi
Hello,
I just got back to using Javassist after some unsuccessful earlier attempts. I was
hitting a strange NullPointerException during execution of some methods in classes I
had instrumented with Javassist reflection.
The problem turned out to be some faulty logic in ClassMetaobject for determ
driver jar should not be inside EAR file
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845772#3845772
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845772
---
SF.N
oh , sorry ejbCreate() was invoked.(i just see it in my last reply - -")
i miss a very simple statement in ejbCreate().
i miss
pstmt.executeUpdate();
|
in ejbCreate() so database was not created too.
thank you again jamesstrachan.^^
View the original post :
http://www.jboss.org/index.html?m
no error occur while i deploy ejb module.
this is an output when i deploy ejb module(i test in jboss 3.2.3 and 3.2.5)
anonymous wrote :
| 00:00:07,066 INFO [EjbModule] Deploying Account
| 00:00:07,657 INFO [EJBDeployer] Deployed:
file:/C:/jboss-3.2.5/server/default/deploy/Account.jar
|
Arf sorry i forgot about the stripped tags...
"theute" wrote : First you should modify your .classpath with Eclipse closed as i
think Eclipse will replace your .classpath by the one it has in memory. So check that
your .classpath has not been modified
|
| I only use 1 project and 1 classpat
JBoss's MDB already registers a Connection.setExceptionListener()
on the WSMQ connection (as defined by the JMS api).
If WSMQ doesn't report any error, there is nothing JBoss can do about it.
If WSMQ does report an error, JBoss will try to reconnect
(once every 10 seconds by default - see reconne
Yes there are two problems with the file persistence managers.
1) They do not guarantee the data is flushed to the physical disk,
it could still be held in OS buffers.
2) They have no checksum so it is impossible to detect data corruption.
View the original post :
http://www.jboss.org/index.htm
I'm using JBoss 3.2.5. It has Hypersonic embedded, I created some tables using
Database Manager but the problem is how to connect to it in Java application?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845763#3845763
Reply to the post :
http://www.jboss.or
The reason is that the session stores messages sent in a transaction
locally. It doesn't send them to the server until the commit
(which never happens because the timeout forces a rollback).
1) connection.createSession(...); // enlists session in transaction
2) add messages to the session (it is t
There is no such deployment "QueueConnectionFactory".
There is a "ConnectionFactory" or "UIL2ConnectionFactory", etc.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845759#3845759
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=r
Hello, I am having a similar problem and I am wondering if you found the answer to
your problem.
Thanks...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845758#3845758
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=384
Moderated: It is an FAQ on the WIKI
Moderated: Stop posting "me too"s they do not help the original poster.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845756#3845756
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38
Ok, but it will be very hard for the client side to assemble this Jar because the user
who consumes the EJB probably is not the one who develops this EJB, so the only way is
resorting to the runtime, and I just think JBoss might do that for the client.
About the spec, I was wrong, "Because this
On the WIKI: http://www.jboss.org/wiki/Wiki.jsp?page=ConfigMessageListener
or docs/dtd/jboss_4_0.dtd in the distribution
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845755#3845755
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mo
Version JBoss 3.2.5
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845754#3845754
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845754
---
SF.Net email is sponsored
Is ORDERING so may cause problem?
and error - generated query has starnge "table-name" after from
SELECT t0_aa.id, t0_aa.ordering
FROM TABLE-NAME = "ACCOUNTANAL" t0_aa,
ACCOUNT t1_aa_account
WHERE (t1_aa_account.id = ? AND
t0_aa.account_id=t1_aa_account.
It works (JBoss 4). A simple mistake with two Tomcats running.
Thanks formenti.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845753#3845753
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845753
First you should modify your .classpath with Eclipse closed as i think Eclipse will
replace your .classpath by the one it has in memory. So check that your .classpath has
not been modified
I only use 1 project and 1 classpath (in the root directory of the project) Be careful
with the different
try under "jboss4\default\tmp\deploy\\xxx.war\" where is your most recent ear
directory...
It works in JBoss 3.2.3, i don't know in JBoss4
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845750#3845750
Reply to the post :
http://www.jboss.org/index.h
How to update individual JSP files? I tried under "jboss4\default\deploy\xxx.war\",
but with no success. I'm wondering if only archive files can be hot deployed (I'm
using a directory structure).
formenti, it seems you were able to do that. Could you give more details?
View the original post :
You will need to create the jars for the clients yourself so that they just contain
the required classes.
If you are going to mention the specs, which spec (title and version), and which
section are you referring to?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtop
hi theute,
thanks for your classpath. if you don't mind i'd like to try 1st.
i'm using eclipse3.0 200406251208 with jboss-ide plugin
what's wrong with these steps?
- created a new project : file->new->'java project'
source folder : Jnukes/src
output folder: Jnukes/bin
- selected file->new->
Hi,
Here is the Datasource definition we are using to connect to a MS-SQLServer 2000 from
a Linux Jboss server:
(replace jndi name and properties values with your own...)
jdbc/DSNAME
jdbc:microsoft:sqlserver://DBSERVER:;ServerName=DBSERVER;PortNumber=;DatabaseName=DBNAME;Us
Hi there,
Is there an API for this in JBoss? I know the JNDIView MBean can be used to browse all
the name entried in JNDI, but I want to get a JNDI name for an EJB, is there a
function like getJNDIName(ObjectName objname) in some MBean or service, where for
example
objname="EJBModule=KTJAR.jar,
I would like to add several additional matches to the DeploymentFilter in
jboss-service.xml.For example in the root of our war we have several symbolic
links that link to several hundred gigabytes of content, I'd like skip that directory.
Option 1 (Prefered):
I would like to be able to sp
Just like you said, the client just needs jbossall-client.jar and the home and remote
interfaces, what I'm trying to do is get this home and remote interfaces from JBoss
for client usage. Usually a stub jar can contain those things, I think in JBoss case I
used the wrong word since JBoss is usin
Hi,
We finally found the trick ;-)
It was due to a misconfiguration in the DataSource definition (pointing to a wrong
server :-( ).
Sorry for that thread!!!
By the way, during our tests we discovered that the JTDS driver were 15 to 20 % faster
that M$ one.
We do recomend the p5spy profiler. E
Hi,
Solved the problem. Following an excerpt from my custom advertisement block which
should be displayed only for a particular url pattern:
public boolean getDisplayed(Page page) {
| String advertisementUrl = page.getRequest().getServletPath();
| Level level = secGetLevel
We are currently using JBOSS version 3.0.4. Before moving to 3.2.5, we wanted to
analyze the improvements that JBOSS 3.2x provides. We tried searching for change logs
and in the forums, but in vain.
Please help!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3
I am not using PreparedStatement. I am using the setter, i.e. myobj.setGraphic(g) and
myobj.setAudio(a) where g and a are byte[]. Please keep in mind, this works just fine
outside of an explicit transaction. If there were a typo, this would not be true.
View the original post :
http://www.jboss
I'm deploying several web applications on JBoss 3.0.7 running on Solaris.
These web applications share some EJBs which are deployed in a separate
EAR. The EJBs in the EAR share some common core classes (value objects,
PKs, exceptions) which are packaged in a "support" jar which is then
referenced
"deguoren" wrote : Hi,
|
| | try
| | {
| | Context initCtx = new InitialContext();
| | javax.resource.cci.ConnectionFactory cf =
(javax.resource.cci.ConnectionFactory)initCtx.lookup(
"java:comp/env/eis/CciBlackBoxLocalTx
Hello,
isn't there anyone who can tell me what this error means?:
14:32:44,959 ERROR [JBossMessageEndpointFactory] Starting failed
jboss.j2ee:binding=message-inflow-driven-bean,jndiName=local/SmsInfoBean,plugin=invoker,service=EJB
org.jboss.deployment.DeploymentException: Cannot locate resource a
Hi,
I am trying to make some data persistent in to the database and using hibernate
for that.i am doing this through a session ejb..I have a client where i am
calling addItem(item) method.
Problem is in client program.i am stuck there itself.
i get the following error
Hi,
my applicatio (jboss 3.2.3/tomcat 4.1) always creates HttpSession automatically, is
this some kind of configuration.
If in the first jsp of my application
request.getSession(false);
NEVER returs null.
Why this behaviour??? How can i avoid it???
View the original post :
http://www.jboss.or
ahhh imagic!! simple, cosy, its blue lines! its little shadow below the banner! =)
vote imagic !
that's a cool poll, thanks again for the SecuredHtmlBlock cooper.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845720#3845720
Reply to the post :
http://www.jbo
My initial problem was solved by creating a MBean that took care of the instanciating
of the object that loaded the DLL.
My next problem is to discover when the object has lost connection with the
DCOM-server, and then restart the MBean.
The detection is easey, because any call to any method of
Hi all,
I would like to use "Transparant Application Failover" (TAF) with my JBoss.
What programmatic changes are necessary in my source code, what configurative changes
in the JBoss configuratation files?
Im am using the following connection URL anonymous wrote :
jdbc:oracle:oci:@CMD-DBR1
"schmidts" wrote : Assuming you mean Oracle RAC (previously known as Parallel Server),
you'll need to use the OCI JCDBC driver (aka "thick" JDBC driver) and have an
appropriate tnsnames-configuration. When setup correctly, this makes the jdbc driver
choose an available database server at connect
Are you getting any errors when you deploy the jar file ?
If you get any messages similar to :-
Instance of primary key not located
that would indicate a problem.
And are you getting any error messages or stack traces when you call the ejbCreate()
method ?
James
View the original post :
ht
I have a session bean that use local home interfaces of a few entity beans. I'm using
Eclipse 3.0 with Lomboz and XDoclet to generate the EJB classes and the deployment
descriptors. The session bean contains a sequence like
* @ejb.ejb-external-ref
*ref-name="ejb/TaskLocal"
*type="En
Stop cross posting.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845706#3845706
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845706
---
SF.Net email is sponsored
Stop cross posting
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845707#3845707
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845707
---
SF.Net email is sponsored
Bidirectional relation between Pricing and PricingService (one-to-many);
part of ejb-jar.xml:
|
| Pricing-has-PricingServices
|
| pricing
|
PricingRelationshipRole
| One
|
| pricing
| Pricing
|
You only need 1 .classpath per project, the easiest thing to do is to put all nukes as
1 project (including all modules). When you create a project Eclipse creates a
.classpath for you. In the wiki page it's explained
If you have only the .ear then you have only the binaries you need to take th
Hi,
I have the following server resource-related question:
We have 2 webapps deployed on the same instance of jboss. Both webapps are unscoped
and they use their own connection pool instances.
-As far as I know, both apps are running in the same JVM. Is that true?
-As far as I know, unscoped a
Hej!
We use jboss 3.2.4 in production with commit option A. It works great but occationaly
we need to hand edit some data in the database (maybe once a week maximum). This of
course doesn't work very well since the data is cached in JBoss.
I wonder if there is any way to flush this cache with
Stub jars are not required, the client just needs jbossall-client.jar and the home and
remote interfaces of the component.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845700#3845700
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&
Truely, that was my second option, I wanted to use CMP's + My database capabilities to
automatically detect such state, however it seems like it cant be done. I'm
interested to know why wasnt the exception thrown at the right point ? (at the end of
the method that had a required transaction).
If you want to check before inserting new user whether the user with this alias
already exist, you should create home test (finder or even better select) method
findByAlias(String Alias) which will use EJBQL fo find user with this alias. Insert
your new user only upon FinderException of findByAl
Hi, guys, have anybody tried the suggestions?
referring to nick's steps, do I need to specify $JBOSS_NUKES to be my project
directory? then I go to $JBOSS_NUKES/path-to-{common,nukes,other-modules} to place the
.classpath?
which .jar that I need? can you refer me to a web-site that show step-b
Hello,
i have searched and i have found nothing about how to precompile jsp on JBoss.
I use JBoss 3.2.5. In fact the only thing i have found is that apparently tomcat use
Jasper to compile the jsp.
I have to work on a big application si i need to do that because that would be too
much work f
It seems that we're talkink about typo! Look at your column indicies of prepared
statement (AFAIK the PreparedStatement is the only way for inserting BLOB/CLOB fields).
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845695#3845695
Reply to the post :
http://
Hello,
i have searched and i have found nothing about how to precompile jsp on JBoss.
I use JBoss 3.2.5. In fact the only thing i have found is that apparently tomcat use
Jasper to compile the jsp.
I have to work on a big application si i need to do that because that would be too
much work for
First of all you have to know that MyISAM table type in MySQL is obsolete because it
does NOT support referential integrities! It is strongly recommended to use InnoDB
database type where you can implement referentional integrities. Database without
referential integrities and without transactio
"albert_steed" wrote :
| 1. First I tried dropping the jar into the %jboss_home%\lib directory and
| I get a package does not exist error. Why?
|
this directory is only for the jboss specific jar, you don't have to put any of your
lib in this directory.
"albert_steed" wrote :
| 2. Se
Found answer, if you call prepareStatement with any arguments other than just the sql
then caching doesn't work.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845691#3845691
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply
cheers,
i'm familiar with that client but was wondering if jboss has a standard api/connector
for handling this.
cheers,
colum.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845689#3845689
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=pos
Hi,
I have a basic 2 node cluster with apache2/mod_jk load balancer in front of it. the LB
is supposed to be doing round robin with sticky sessions. However, all requests seem
to be going to one and same node. the second gets requests only if i bring down the
first one (failover). please note t
Hi !
I am getting problems in import javax.ejb.* even after setting variables as mentioned
below in build.properties and build.xml files.
Any help is highly appreciated.
TIA,
Dee.
"noel.rocher" wrote : Hi,
|
| the main pb comes from the new packaging of the web container.
| You should
I think I need to set my expectations of apache/mod_jk/tomcat realistically, so I'm
hoping someone will be kind enough to clarify the following:
Setup: 2 clustered nodes running jboss4/tomcat5, one node running apache/mod_jk with
sticky round-robin. a distributable web app is farmed out to the cl
71 matches
Mail list logo