On Fri, Oct 11, 2002 at 08:46:58AM +0200, Jon Haugsand wrote:
> * Marius Kotsbak
> > > > >for (id=0;id++;id<1000) {
> > > > > // Start transaction
> > > > > Collection c=findByStatus(id,status);
> > > > > for(i=c.iterator();i.hasNext();) {
> > > > >((EntityLocal) (i.next())) . setStatus(ne
hello,
Sorry to show up so lately in your discussion but what is the real problem?
I guess it is not the transaction in itself? You seem to say that your
problem comes from the way JBossCMP loads your data, do you have more
information and what is actually happening and why you think it kills you
* Marius Kotsbak
> > > >for (id=0;id++;id<1000) {
> > > > // Start transaction
> > > > Collection c=findByStatus(id,status);
> > > > for(i=c.iterator();i.hasNext();) {
> > > >((EntityLocal) (i.next())) . setStatus(newStatus);
> > > > }
> > > > // End transaction
> > > >}
> > > >
> > > Why
ok, i worked!
why do i have create a new directory when i have an (old) branch?
shouln't cvs manage the update automaticly?
markus
* Markus Garscha <[EMAIL PROTECTED]> [2002-10-11 08:00]:
> H,
>
> my last update from cvs was Branch_3_0_0. i'll delete my old jboss-all
> directory and make a
Title: Re-deployment of custom XMLConfiguration
Hi,
I want to deploy my JAAS login configuration together with my application.
I took the code from org.jboss.test.security.service.SecurityService to create a new MBean, configured by a SAR, which also contains the login-config.xml.
Deployme
Alwyn Schoeman wrote:
> Hi,
>
> I'm running JBoss 3.0.3 on a Sun Fire 880 with 8 cpu's. Even though I
> have about 450 threads going it uses only 1 cpu and not very well at
> that. I have tried all the JVM options for 1.4.1, but no difference.
>
> Anyone have any ideas?
>
If you are doing we
Hello Markus,
I think currently no. But there was an attempt and saw a patch for
xdoclet. But at that time unknown-pk element didn't have a fixed
structure. Write about it to XDoclet guys.
Though, I think entity-command could be changed or,more
exactly, extended soon.
alex
Thursday, October 10,
Hi,
I have JBOSS 3.0.0 and TomCat 4.0.1
installed separately in my machine.
I would like to use Tomcat as a webserver
for JBOSS how do i use it.
Please tell me if you guys know how to
integrete?.
Thanks
Gangadhar
DISCLAIMER
--
Hi,
I'm running JBoss 3.0.3 on a Sun Fire 880 with 8 cpu's. Even though I
have about 450 threads going it uses only 1 cpu and not very well at
that. I have tried all the JVM options for 1.4.1, but no difference.
Anyone have any ideas?
--
Alwyn Schoeman
SMART Money Inc.
"The clock on the wal
Hi,Herve:
I'm using 1.1.2 and have made it successfully.
1:N
At the One side EJB:
@ejb:interface-method view-type="local"
* @ejb:relation
*name="One-Many"
*role-name="One"
*target-role-name="Many"
*target-ejb="TargetEJB"
*target-multiple="no"
*
Does anybody work with XA driver for MS SQL Server?It seems that with MS
JDBC driver you don't need to use more than one datasource to have problems.
I'm always getting deadlock in the database when I have more than one user.
I just tried with SapDB, just to make sure I didn't nothing wrong, and m
I have a session bean calling invoke on a method in my mbean service that
seems to be successful in calling the method, but is getting the following
error. It's adding a ',' to the scheduleJob sig in the error, not sure what
that means.
19:01:55,159 ERROR [TaskSchedulerBean] Exception in MBean op
H,
my last update from cvs was Branch_3_0_0. i'll delete my old jboss-all
directory and make a new co...
thanx
markus
* Scott M Stark <[EMAIL PROTECTED]> [2002-10-11 01:09]:
> Show the full cvs co command as I just tried:
> cvs co -r Branch_3_2 jboss-all
>
> and the code builds fine on
It works fine for me under a local Apache instance. Haven't tried it
remotely. It is really cool, but takes forever to boot since it copies the
jars thru http: rather than a nice local copy. My version is
jboss3.0.2-tomcat4.0.4 and there is no crimson.jar.
Jason
-Original Message-
Fro
Probably the file lists are out of date... we should look for a way to make
the lists generated dynamically from the build. I don't think crimson.jar
is used in any 3.0++ version any more.
I haven't tried this stuff, where are the files one needs?
thanks
david jencks
On 2002.10.10 16:16:08 -04
Show the full cvs co command as I just tried:
cvs co -r Branch_3_2 jboss-all
and the code builds fine on OSX with a 1.3.1 JDK.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: "Markus Garscha" <[EMAIL
Ok,
same error!
thanx
markus
* Andreas Wollschlaeger <[EMAIL PROTECTED]> [2002-10-10 23:09]:
> On Thursday 10 October 2002 22:07, you wrote:
> > Hi!
> >
> > i just did a cvs -z3 co -r Branch_3_2, changed to the build directory
> > and called ./build.sh.
> > ant aborts with the following trace:
On Thursday 10 October 2002 22:07, you wrote:
> Hi!
>
> i just did a cvs -z3 co -r Branch_3_2, changed to the build directory
> and called ./build.sh.
> ant aborts with the following trace:
>
quick educated guess:
try ./build/build.sh one dir above
HTH
Andreas
---
Scott,
This was it. Once again, you've saved the day.
Much thanks,
David
--
Scott M Stark wrote:
> This looks to be a bug in Jetty and FORM based logins. It requires a
> realm-name element in the web.xml descriptor even though this is not
> a required element in the login-config, and is only
I inserted this line:
"System.out.println( "Current run-as role: " +
SecurityAssociation.peekRunAsRole() );"
right before the line
PersonLocal pLocal = ph.findByPhoneNumber(usrName);
that fails. As you can see in the first line before the stacktrace
below, the run-as role
has
anyone out there used the netboot functionality of jboss 3.x?? i've been
working on it for a couple days with the example docs online now with no
luck.
my
setup is:
an
apache 2.0 server hosting the jboss files at http://localhost/jboss/server/default.
client is using this batc
Hi!
i just did a cvs -z3 co -r Branch_3_2, changed to the build directory
and called ./build.sh.
ant aborts with the following trace:
--8<---
compile-classes:
[javac] Compiling 57 source files to
/usr/src/jboss-
Im trying to get a remote client to connect thru a firewall. so far i have the firewall opening port 8080 and forwarding to an internal host.
heres what im doing.public static Context getHTTPClientInitialContext() throws javax.naming.NamingException {Properties p = new Properties();p.put(javax.
or even to 2.4.x where we had the same problem...
Michael
Michael Bartmann wrote:
> Adrian found something wrt 3.2 this very morning.
> His solution might be applicable to 3.0?
>
> I just want to avoid double work, thanks,
>
> Michael
>
> Bill Burke wrote:
>
>> Can you log a bug on this, cop
Anyone know where i can find this? thanks so much.MSN Photos is the easiest way to share and print your photos: Click Here
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_
Hello , it is me again
when I swith to the
> TopicConnectionFactory factory =
> (TopicConnectionFactory)jndiContext.lookup("ConnectionFactory");
I get:
org.jboss.mq.SpyJMSException: Cannot start a the client IL service; - nested
throwable: (java.security.AccessControlException: access denied
(
This looks to be a bug in Jetty and FORM based logins. It requires a
realm-name element in the web.xml descriptor even though this is not
a required element in the login-config, and is only meaningful for BASIC
auth.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
x
Title: RE: [JBoss-user] Does anybody work with XA driver for MS SQL Server?
Just tried 3.2. Still get
javax.transaction.xa.XAException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]xa_end (400) returns -6
at com.microsoft.jdbcx.sqlserver.SQLServerImplXAResource.executeXa
Hello guys,
I am a newbie with JBoss but I manage to create a Topic and a client app
that will receive it, when I create the message for the topic my client app
works with no problem, now I created an applet that will received the
message by means of a separate class - thread , I am subscribing
Adrian found something wrt 3.2 this very morning.
His solution might be applicable to 3.0?
I just want to avoid double work, thanks,
Michael
Bill Burke wrote:
>Can you log a bug on this, copy this email, and assign to me?
>
>patriot1burke
>
>Thanks,
>
>Bill
>
>
>
>>-Original Message-
Can you log a bug on this, copy this email, and assign to me?
patriot1burke
Thanks,
Bill
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Michael
> Rudorfer
> Sent: Thursday, October 10, 2002 11:38 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user
Yes, in 3.0 you can do this. Find the EntityContainer in the jmxconsole and
then you will find cacheFlush button.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Anthony
> Geoghegan
> Sent: Thursday, October 10, 2002 11:05 AM
> To: [EMAIL PROTECTED
Thanks Liam.
JBoss's ClassLoaders are always a source of much amusement here ;-).
Send the patch and I'd give it a try on my JBoss code.
Thanks again.
Theo
-Original Message-
From: Liam Magee [mailto:[EMAIL PROTECTED]]
Sent: 10 October 2002 16:42
To: [EMAIL PROTECTED]
Subject: RE: [JBo
Not complete but I isolated the bug , but I can't c the mistake!
It's on tag
and my script only contains:
function selectAllChk( fromName, chkBoxName )
{
var chkboxes = document.getElementsByTagName( 'input' );
for (i=0; i < chkboxes.length; i++) {
if (( chkboxes.item(i).getAttribu
There is a problem with loading either the META-INF/ejb-jar.xml or META-INF/jboss.xml
metadata descriptors. I don't see the nested NullPointerException stack trace so
I can't say where the issue may be.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxx
On 2002.10.08 16:51:47 -0400 "Schnitzer, Jeff" wrote:
> That's good to know. Unfortunately this application is deployed to
> several different environments (dev, qa, production) each of which must
> connect to a completely different database. I can't really put
> oracle-service.xml in the ear.
On 2002.10.08 19:32:40 -0400 [EMAIL PROTECTED] wrote:
> In my jboss-service.xml file, I've got this little snippet:
>
> "jboss:type=Service,name=ClasspathExtension">
> file:///d:/projects/webmt
>
>
> First off, is that pretty much what is required?
looks good to me.
>
> Second, given
> Here is an example (jbosscmp-jdbc.xml):
>
> UnknownPkBean
> true
> true
>
>
>
>
> java.lang.Integer
> genid
> INTEGER
> INTEGER
>
>
> SELECT CURRENT_TIMESTAMP
>
The testsuite is part of the source download and
yes, that is the config you need.
You'll have to generate a thread dump of the VM
when it hangs on the ejb call to
see where the problem lies.
Scott StarkChief
Technology OfficerJBoss Group,
LLCxxx
Hi Theo,
I've tracked down at least part of the problem:
1. Tomcat 4.1.12 and Struts require the use of the
org.apache.commons.digester package.
2. Struts (ActionServlet.java, line 1087) has:
>> configDigester.setUseContextClassLoader(true);
3. Tiles uses the org.
I didn't read your earlier messages carefully. Deadlock is unlikely to be
related to local or xa tx, but rather varying resource ordering.
The first message you show here seems to indicate that the driver is not
fully xa compliant, and doesn't support suspend/resume. You could try
using 3.2 and
Hi there!
I have the following problem:
I am using Jboss 2.4.6 with CMP (jaws) and Container
Managed Transaction.
I have a Stateful Session bean with a bussiness method,
that utilizes entity beans. The transaction type of that bussiness
method is set to "required". When there are many entity bea
module branch name
==
jboss Branch_2_4
jboss-3.0 Branch_3_0
jboss-3.2 Branch_3_2
jboss-head HEAD (or nothing)
> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Markus
> Garscha
> Envoye : jeudi,
im using the jboss 3.03 / tomcat bundle. i have no testsuite directory. Is this a separate download? thanks again. also, when you say that i need to configure my ejbs to use rmi/http do you mean :
HTTP Stateless SessionBean jboss:service=invoker,typ
hello all:
I met another problem.
<--Error Message->
javax.ejb.EJBException: Application Error: tried to enter Stateful bean with
different transaction context
at
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceIn
What's the standard lifetime of an EnityBean ?
For Stateful SessionBeans there is a configuration for passivation
() and removal () in the
container-configuration. But for EntityBeans I can find only the passivation
time to configure. Are they removed after a fix time ?
Is there a way to get them
Title: URGENT: how to set up 1->N and N->1 relationship with XDoclet v1.2b1
how can I set up 1->N and N->1 relationship with XDoclet v1.2b1 ?
thanx
Herve Tchepannou
Software Engineer
Objexis Coorporation
Phone: (514) 932 3295 Ext. 231
mailto:[EMAIL PROTECTED]
Objexis Coorporation
http://ww
* Alex Loubyansky <[EMAIL PROTECTED]> [2002-10-10 14:56]:
> Hello Markus,
>
> MG> that sounds great! btw. you mean JBoss-3.0.2 not JBoss-3.2?
>
> no. JBoss-3.2, exactly.
>
what is the name of the cvs-branch i have to checkout to use that
verson. JBoss_3_2 doesn't exist.
thanx
markus
p.s. btw
Yes, if my memory serves, there is a flush cash operation on each container
MBean
> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Anthony
> Geoghegan
> Envoyé : jeudi, 10 octobre 2002 17:05
> À : [EMAIL PROTECTED]
> Objet : [JBoss-user] clearing En
Is it possible to manually force a complete cache flush of all the entity
beans of a certain type using JMX or some other mechanism?
Best Regards,
Anthony Geoghegan.
J2EE Developer
CPS Ireland Ltd.
---
This sf.net email is sponsored by:ThinkG
Title: Does anybody work with XA driver for MS SQL Server?
After I am tired of deadlock exeptions I tried to use XA jdbc drivers fro MS SQL server. I asked admin to install a dll on the sqlserver side as it is specified in MS JDBC driver docs. But it never worked for me. There're different e
You don't say what version you're using, but I'm assuming it's 3.0 or
later.
In 3.0 the default commit option was changed to 'B', which does not
cache data. Either change this to 'A' in standardjboss.xml or override
the container configuration in your jboss.xml.
hth
-danch
Alexey Yudichev wr
hello,
It depends on the Commit Option that you are using:
- for more info about commit options, see the EJB spec or any EJB book
- for more info about default settings for containers see in
JBOSS_HOME/conf/standardjboss.xml
- For more information on the jboss specific commit option D
Title: Entities are not cached
According to debug-level log messages, each time I find entities with a finder and then invoke business methods they are loaded. Even if less than a second passed since previous load. Seems like caching is disabled at all. I have no custom container configurati
Hallo
Where can I find JBoss 4 alpha?
K. Sobkowiak
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
http
On Thu, 2002-10-10 at 12:19, Jon Haugsand wrote:
> * Marius Kotsbak
> > Jon Haugsand wrote:
> >
> > >We have a table with approx 1500 rows and a finder that picks one or
> > >two rows during each query like this:
> > >
> > >for (id=0;id++;id<1000) {
> > > // Start transaction
> > > Collection c
http://192.168.100.3:8080/webappointments/main.do
generates:
http://192.168.100.3:8080/webappointments/secure/userlist.jsp";>
Lista utenti
Cerca per cognome:
MS-Access, MS Access, MSACESS
Hi,
I'll try to access a MS Access database via the jdbc-odbc bridge.
Has anyone a running XDoclet BMP example for this problem ?
And how should i set the type-mapping ? In the standardjbosscmp-jdbc.xml file is no MS
Access mapping included ?!
Thanx
Björn
P.S.:
Hello,
i have a jar which I can deploy without problems on JBoss 4.0.0alpha.
If I deploy this jar on JBoss 3.0.2 I get the following exception:
17:01:39,218 ERROR [URLDeploymentScanner] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@78208aeb{
url=file:/C:/jboss/j
Title: RE: [JBoss-user] XAException SQLServer 2000 JBoss 3.0.1
Just got the same error with the same conditions. Is there any workaround? I need XA drivers because my logic requires involving several databases into single transaction.
Best wishes,
Alexei Yudichev mailto:[EMAIL PROTECTED]
Hello Markus,
MG> that sounds great! btw. you mean JBoss-3.0.2 not JBoss-3.2?
no. JBoss-3.2, exactly.
MG> The only problem is, that i don't use MySQL. i use the buildin hsql and
MG> postgres.
MG> but if i can user custom sql to fetch the next pk then there should be a
MG> solution. where can i
Hi,
that sounds great! btw. you mean JBoss-3.0.2 not JBoss-3.2?
The only problem is, that i don't use MySQL. i use the buildin hsql and
postgres.
but if i can user custom sql to fetch the next pk then there should be a
solution. where can i get further information,docu and examples of this
new m
Peter,
Here's the solution we use to get around the problem:
We have an entity, A, whose primary key is also a foreign key to another
entity, B.
We don't specify any relationships for A.pk. Instead, I added
A.ejbSelectB(KeyType key).
Then I added A.getB() { return ejbSelect( getPK()); }
A.setB
Nick,
Looking over the Axis-codebase, I have come to the conclusion that this is a
"feature" of the Java2WSDL package and the
Axis EJBProvider which we have subclassed. The EJBProvider gives the EJB
interface class to the emmitter which then
does the getDeclaredMethods() reflection call instead o
* Marius Kotsbak
> Jon Haugsand wrote:
>
> >We have a table with approx 1500 rows and a finder that picks one or
> >two rows during each query like this:
> >
> >for (id=0;id++;id<1000) {
> > // Start transaction
> > Collection c=findByStatus(id,status);
> > for(i=c.iterator();i.hasNext();) {
>
Hi,
I'm moving you to jboss-user.
Answers in line.
Regards,
Adrian
>From: "Rishikesh Tembe" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [JBoss-dev] container and dynamic proxies
>Date: Thu, 10 Oct 2002 04:43:36 UT
>
>hi,
>
>I had 3 questions about the cont
Hello,
i have a jar which I can deploy without problems on JBoss 4.0.0alpha.
If I deploy this jar on JBoss 3.0.2 I get the following exception:
17:01:39,218 ERROR [URLDeploymentScanner] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@78208aeb{
url=file:/C:/jboss/j
Title: Application deadlock detected: Two or more transactions contention.
Sometimes rarely I get the following error. $Proxy1727 is a CMP2.0 bean over a PosgreSQL database. Inside its getSize() method there's a call to a business method of another CMP bean deployed in another application an
Title: Application deadlock detected: Two or more transactions contention.
Sometimes rarely I get the following exception (see EXCEPTION below). $Proxy1727 is a CMP2.0 bean over a PosgreSQL database. Inside its getSize() method there's a call to a business method of another CMP bean deployed
Hello Peter,
AFAIK, spec nothing about how it should be implemented. It's the way
JBossCMP implemented.
AFAIK, Dain has plans to support not null FKs for CMR fields but I don't know
the priority.
alex
Thursday, October 10, 2002, 10:56:59 AM, you wrote:
PS> Hi Alex,
>> Currently, CMR fields mu
Hi Liam,
JDK 1.4.1 FCS
Windows 2000 SP3
Fresh download of JBoss-3.0.3_Tomcat-4.1.12
http://jakarta.apache.org/builds/jakarta-struts/release/v1.1-b2/jakarta-stru
ts-1.1-b2-blank.war
I have reproduced the same behaviour on three machine.
Running JBoss with default server config.
I spent some ti
71 matches
Mail list logo