Hi
I have 2 jboss4.0.2 running on my local machine in a cluster mode.
When I perform a deploy on one of them of my ear then i see that both ears on
both farm directories of both nodes is updated, however the log file on the
second node does not show anything like it noticed it got a new ear, i d
Hi
There is a problem running myfaces on jboss4.0.2 whil on jboss4.0.2RC1
everything is fine.
The faces context is null on 4.0.2
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880439#3880439
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=
lets say I have 20 nodes in my cluster, and i want to update one of my
properties in my managed beans, that means i have to go (i use the jmx-console)
through each node and configure it! its gonig to be a nightmare right? or are
there other ways?
View the original post :
http://www.jboss.org/i
I use jBoss-3.2.5. loaded it in cluster (All configuration).
Partition name is DefaultPartition.
I have 2 jBoss machines up. One has no errors, and on the other I keep getting
these error messages:
anonymous wrote : [exec] 2005-01-06 18:51:05,315 INFO
[org.jboss.ha.framework.interfaces.HA
In jbosscmp-jdbc.xml
post-table-create
sql-statement
ALTER TABLE %%t TYPE=YOUR_DB_TYPE
/sql-statement
/post-table-create
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856819#3856819
Reply to the post :
I overcame this problem by having a servlet that in its init method I have my default
database data with tag load on startup true. Is there a better way to do it ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853304#3853304
Reply to the post :
http://www.
http://www.jboss.org/wiki/Wiki.jsp?page=CMPCaching
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852902#3852902
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852902
--
is there anyway to have my CMP Entity bean have default values ? (Like I want a
default guest user to be in my user table...)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852882#3852882
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posti
Hi
I'm trying to save to an attribute a value like thats "sdj"sdf"
However when i press the apply changes button I get as a result :
sdj
(the first part before the ")
is there a way to overcome this ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850815#
Thanks for the answer,
Im looking at the jmx-console and the property value for
ManagedConnectionFactoryProperties is chopped its : "http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849264#3849264
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=384
public Object getJMXProperty(String objectNameAsString, String attributeName)
ObjectName objectName = null;
MBeanServer mBeanServer = null;
objectName = new ObjectName(objectNameAsString);
mBeanServer = MBeanServerLocator.locateJBoss();
Object object;
object = mBeanServer
Hi
I have a deployed jar with jbosscmp-jdbc.xml in its META-INF directory, is there an
option to update at run time using JMX the to a different value, to
point to a different URL?
Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849116#3849116
Reply
Should be the same as you look up from any other client... what was your problem
exactly ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846840#3846840
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846840
-
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).
Rolled back ofcourse :) ... why didnt i catch that exception in the testUnique()
method ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845632#3845632
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845632
--
Could it be a cache thing? That my transaction was commited but not to the database ?
if so, then How can I konw if my setAlias succeeded or failed?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845631#3845631
Reply to the post :
http://www.jboss.org/index.
Hi
I have a unique constraint on an alias field (I dont want two users with the same
alias) on a mysql database in this way :
| ALTER TABLE User ADD UNIQUE(alias);
|
I have a test client like this (pseudo code)
| public void setUp() {
| // Set up user1 entity with alias1
| //
Hi
I access web services like this :
http://machine-name:8080/jboss-net/services/MyEndPoint
what if "machine-name" machine crashed?! How can I get HA in that scenario? can I call
the http without the machine-name ? just as I call ejb without the machine name in
provider-url and achieve HA ?
V
Well im working on multiple jvm's and i want the updated properties (in case the user
has updated them using the GUI/jboss-service.xml so i guess I'll have a listener to
the mbean server and my regular method calls (property getters) will return some
cached local variables...
View the original
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
sorry if my question wasnt clear but anyway can I include .wsr and .sar in .ear's ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843719#3843719
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843719
-
Hi
In application.xml i know i have for .war and for .jar of ejb's what tags are there
for .sar and for .wsr ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843621#3843621
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=repl
but the machine name is part of the http request (url), what if this machine (node)
falls? how will requests be redirected ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843354#3843354
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=postin
Hi
Can a clustered jboss configuration load balance calls to web services ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843274#3843274
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843274
Well, in ejb2 create/postCreate im not calling ejb1 (but my guess would be that jboss
is calling it under the hoods...) the code looks like this
anonymous wrote :
| ejb2.create(ejb1)
|
and in ejb2 create method
anonymous wrote :
| setOwner(ejb1)
|
so is there generaly a way to pass
And in log4j file i have placed
anonymous wrote :
|
|
|
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842949#3842949
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842949
--
it cant be seen i will remove the bigger smaller signes
anonymous wrote :
|category name="someclass"
| priority value="DEBUG"/
|/category
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842950#3842950
Reply to the post :
http://ww
In log4j.xml I see
anonymous wrote :
|
|
|
|
is there a possibility to increase some categories level ?
something like
anonymous wrote :
|
|
|
| anonymous wrote :
| |
| | while the rest will still be in INFO level?
| |
| | (I tried i
Hi
I have two entity beans.
they have a CMR (bidirectional) one to one.
In entity1 ejbPostCreate im creating an entity2 and assigning entity1 to it like this
pseudo code
| class Entity1Bean {
|
| ejbPostCreate(...) {
| // Every time I create entity1 entity2 should be created and
Is there a way to convert a structure of entity beans to an xml file or to a DOM
structure?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842519#3842519
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842519
its ok im using JMX instead of any property files...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842203#3842203
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842203
Well, I got the answer :)
Its truely old and should not be used anymore as said in a design patterns book:
anonymous wrote : Don't use the composite entity bean pattern
:)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842113#3842113
Reply to the post :
ht
Hi
Is the aggregate entity pattern still important now that we have (2.0) the local home
interface in a perforamance prespective?
One of the motives for the aggregate entity as i read in SUN site is :
anonymous wrote : there are inter-entity bean relationships. Because entity beans are
distrib
well its ok :) i found a simple example (although without a full clinet but i managed
without that) in the administration guide...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842095#3842095
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=
its ok i found it :)
| InitialContext ctx = new InitialContext();
| ObjectName objectName = new ObjectName("objectName...");
| MBeanServer server = MBeanServerLocator.locateJBoss();
| out.println(server.getAttribute(objectName, "attrName"));
|
View the original post :
http://www.jbos
Hi,
Is there an easier way (I mean without the loop! I want to access the value
directly...) to get the value of an attribute?
(here is a code sample of what im using now...)
| InitialContext ctx = new InitialContext();
| ObjectName objectName = new ObjectName("chap2.ex1:service=JNDIMap");
Is there a step by step tutorial for creating MBeans under jboss AS ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841903#3841903
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841903
---
Hi...
Well... I got the answer... Clustering gives me much more possibilities... :)
So i'll go for clustering...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841800#3841800
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=repl
Hi
I'm going to have for my production two solaris machines.
I'm going to have ejb's stateless + entity .
Should I cluster jboss among two machines? or simply put two copies of jboss on two
machines and load balance them?
View the original post :
http://www.jboss.org/index.html?module=bb&op=vi
Hi
I a jar of ejb's
I want to perform some configuration to them
therefore i have a property file, now i'm able to load the properties inside my beans
from this property file if i added it to the classpath, however i would like to have a
way not to add them to the classpath and to read them
I
PS
I'm using jboss3.2.5, and had the same problem on jboss3.2.4
the relationship constraints wern't created while jboss created the tables on my
database
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841687#3841687
Reply to the post :
http://www.jboss
I'm using mysql , jboss.
following is the important part of my jbosscmp-jdbc.xml, notice the
preferred-relation-mapping tag...
|
|
| java:/MySqlDS
| mySQL
| true
| true
| foreign-key
|
|
|
I received this message from jboss :
Foreign key const
woke up this morning and everything is fine :) its showing the variables...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837702#3837702
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837702
-
hi
Sorry for this off topic
I tried this plugin, truely i could debug my jsp code, however! I didnt see any
variables (their values in the variables tab...) nor could I evaluate expressions!
can't it do it while debugging jsps?? :) (Well I hope it can ...)
anyone knows?
View the orig
anyone konws a JSP debugger for tomcat ?
any plugin to eclipse?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836401#3836401
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836401
this question was already answered... the answer is no hot deployment for folders.ear
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835814#3835814
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835814
--
this question was already answered - the answer is by setting the configuration inside
the tomcat bundle web.xml not to use jboss loading but the regular one
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835815#3835815
Reply to the post :
http://www.jboss.o
If you use an EAR you can define the context name using the contextpath tag in
application.xml.
otherwise you can set your context path to be root in jboss-web.xml under your war /
web-inf
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835711#3835711
Reply
Hi
I have
Ear
--> War1
--> War2
I have deployed War 3 into that Ear, I have noticed the whole ear was redeployed.
Is there a possibility to deploy/undeploy a single war without redeployment of the
whole ear? if so how?
View the original post :
http://www.jboss.org/index.html?module=
Hello? No way to have different classloaders for war's inside an ear ? :/
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835827#3835827
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835827
---
I just read the other thread next to me... and it says that truely only the root
deployment can set the loader repository, but does that means all my wars are stuck
with the same loader repository?! isnt it against the j2ee spec for seperation of
loaders for each WEB-INF of each war?
View the o
Hi
I have
ear
--> war 1
--> war 2
--> war 3
all the wars have the same classes in their webinf (common infrastructure) However I
need those classes to be loaded by differerent classloaders, In case the wars are not
contained in an ear, Its fine i managed to do it with the jboss-web.xml u
first i must correct myself I meant:
"deploy/,file:///d:/temp/deploy/"
with the ending slash... yesh its working fine this way, its scanning my deploy
directory and deploying all the ear's war's in that directory...
but when I use file:///d:/temp/deploy/app.ear this for an exploded ear it didnt
Hi
I cant deploy any exploded folders .war or .ear when specifying them like this: (with
no ending "/")
deploy/,file:///d:/temp/deploy/app.ear
However this does work fine (its scanning the directory and deploying its
subdirectories fine...)
deploy/,file:
Hi
Can I reference environment variables (in example dos environment variable) from
within jboss-service.xml ?
i.e.
deploy/,file:///${JAVA_HOME}
?
(I know I can access system properties...)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopi
The answer is yes, I found the solution in jboss-web.xml I specified
some.dot.com:loader=xxx.war>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834213#3834213
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting
Its OK I think im finding the solution
I will try it i think its going to solve my problem ...
http://sourceforge.net/docman/display_doc.php?docid=16524&group_id=22866
"
Support for specifying custom loader repositories has been extended to SARs, EJB jars
and WARs in addition to EARs. In add
Hi
I have multiple wars (no ear) that im deploying to the same jboss-tomcat server
They have web-inf directory and in their web-inf/classes , they have the same class
a.war / web-inf / classes / common.class
b.war / web-inf / classes / common.class
c.war / web-inf / classes / common.class
I have
--> my.scope:loader=abc.ear
I have tried that in my jboss-app.xml and truely I can scope and "de"scope classes,
however can I defined multiple loader-repository in the same jboss-app.xml so that I
could specify - this class is loaded by this class loader and this one is by this
class loader et
Sure :)
I dont have jboss now in front of my eyes but you should go to
$JBOSS_HOME/doc/examples/tomcat (something like that) you will have there an ant
script somethign with a name like bla-tomcat5-bla.xml run it with ANT and you'll have
another configuration tomcat5 for you ready ! as easy as
I kind of found a solution, simply by using the class-path in my manifest.mf to
reference my jars
however Is there any possibility to use absolute file paths? in class-path
manifest.mf? perhaps using file:/ (i tried the following with no success)
View the original post :
http://www.jboss.org/i
Have a look at :
$JBOSS_HOME\server\$CONFIGURATION\conf\jboss.web\localhost\*
I had some similar problems like you have and after deleting those files I coudl
successfuly redeploy my .war's
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831542#3831542
Reply
Hi
I have a jboss3.2.3 working with a configuration of tomcat5
in tomcat5/conf/web.xml I have set the property listings to be false:
listings
false
However I still see directory listings :/ (I didnt override this property or anything
in my local web.x
Let me clarify my question
1. I want to tell deploy/war1.war, deploy/war2.war, hey you two guys, you are
referecing the jars in c:/temp/lib and all these referenced jars are loaded by the
same classloader and none of the other deployed wars reference these jars.
2. I want a hierarchical (with di
Hi
I have a couple of war's im deploying to the deploy/ directory .
All these wars share some jar's that they are using. I want them to reference these
shared jars with the same classloader. Therefore I'm putting these jars under
$JBOSS_HOME/server/default/lib .
It is working fine however,
1
Hi
Can I create a topic using jmx (void createTopic(...)) so that this topic will be
persistent cross restarts of jboss?
if so could I be directed to a complete working example?
Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830534#3830534
Reply to
I found the problem, if anyone is interested.
It seems like for any exception the stacktrace would tell the user to see his
tools.jar! (I had a real one there, but with all this gigantic stacktrace i couldnt
locate it previously)
but THe problem was that I got such a big stack trace that was te
Yes, My mean and reasons are certainly with compliance to the notion of separation of
roles. I would further want a deployer to automate his tasks, and preferably using
java code.
Anyway as a software developer, I want my daily build process to be fully automatic,
And to generate edit my web
And please do notice that when I'm running my site on a stand alone tomcat5 I receive
no errors at all!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829181#3829181
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=382918
Hi
I'm using Tomcat5 with JBOSS
It has an exception and tells me to out the tools.jar in the common/lib of tomcat,
howeve the tomcat5 under jboss doesnt have any common/lib :/
I have updated my JBOSS_CLASSPATH to contain the tools.jar however I still get this
error:
org.apache.jasper.JasperExc
Hi
How can I restrict access to urls
i.e. "localhost:8080/"
or any other url pattern "localhost:8080/xxx"
?
Thanks
Tomer
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829061#3829061
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posti
Hi
I'm deploying a web application
I wonder whether there is a way to update web.xml without directly accessing it. That
means something like an java interface to update it? JMX? or any other way?
Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=382859
you can have one .ear that contains all your web applications .war's
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828596#3828596
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828596
Hi
I have the same problem?
does anyone has any solution?
Thanks
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825058#3825058";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825058>Reply
to the post
---
HI
I tried to compile the news module and got these errors
Executing d:\development\nukes\news\..\tools\bin\ant.bat -logger org.apache.too
ls.ant.NoBannerLogger
Buildfile: build.xml
_buildmagic:init:
Trying to override old definition of task property
generate-classes:
[ejbdoclet] Mar 3, 2004 6
ceive this
error)
.
.
.
_default:compile-classes:
[depend] Deleted 0 out of date files in 0 seconds
[javac] Compiling 161 source files to
/home/tomerbd/dev/nukes/nukes/nukes/output/classes
[execmodules] error: IO exception sun.io.MalformedInputException
[execmodules]
/home/tomerbd/dev/nukes/n
76 matches
Mail list logo