I've created JBREM-1046 "HTTPClientInvoker throws NullPointerException when
HttpURLConnection.getInputStream() returns null" and committed a fix.
Andrew?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184617#4184617
Reply to the post :
http://www.jboss.com/
See Thread at: http://www.techienuggets.com/Detail?tx=19476 Posted on behalf of
a User
Hi,
Did u solve the above issue. I am getting the same issue now
- Mouli
In Response To:
Hi,
I am using Seam with RichFaces. I am currently running into an issue where Seam
tries to serialise the ric
Thanks Peter
Neelesh
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184616#4184616
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184616
___
jboss-user mailing list
jboss-user
Ok, I've created JBREM-1045 "ServerInvokerCallbackHandler can suffer deadlock
when used with BlockingCallbackStore"
(http://jira.jboss.org/jira/browse/JBREM-1045), applied a fix to branches 2.2
and 2.x, and attached a preview version of jboss-remoting.jar from the 2.2
branch.
The fix is to cha
Hi Peter,
Here are the changes done by me in
default/conf/props/jmx-console-users.properties
| # A sample users.properties file for use with the UsersRolesLoginModule
| master=Sachin
default/conf/props/jmx-console-roles.properties
| # A sample roles.properties file for use with the Use
I package up a file, gg.war, as follows: (note, the same directory structure I
have running in Tomcat 5x with no problems)
MANIFEST.MF (in META-INF\ )
IsItWorking.class ( in WEB-INF\classes\ )
web.xml (in WEB-INF\ )
My web.xml appears as follows:
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="ht
Hello,
My question is: Do the use of the HotSwapping allows the application to take
into account changes in the code of the interceptor without having to click
once on the "Run" under eclipse.
For example, If we have this code:
| for(int i=0;i<10;i++)
| {
|try
|{
| Ad
... or failing that, is there a way to get the scheduler mbean (if deployed
from the .sar) to watch for a configuration file (similar to how .rar files are
configured via external xml files).
TIA
== sfisque
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=418
running jboss as 4.2.3-GA
i have a .sar which contains an mbean, its interface, and the appropriate
jboss-service.xml file.
if i configure a scheduler in the jboss-service.xml file, it fires up correctly
and everything is happy.
if i remove the scheduling mbean block, and try to configure a sc
Hi,
When I posted this JBossWS did not yet support multiple JAX-WS implementations.
When this feature came I solved the problem by switching to the Metro flavor
of JBossWS instead and then implement it as described in the initial post of
this thread.
This of course resulted in a set of other
Hi,
My name is Andres. I'm currently writing a comparaison about open source BPEL
engines. I was reviewing the info in your website and published documentation,
and there are several things that I couldn't find info about.
I'd like to know if I can ask for these stuff here or is there anyone els
"JeremyStong" wrote :
| Sorry, Ron, I tried but I don't seem to have bug sumit permissions.
|
Hmmm. Are you registered? I thought anyone that's registered could create a
JIRA bug issue.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184578#4184578
Thanks. I'll look into it. -Ron
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184577#4184577
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184577
___
jboss-user mailing li
Not sure what is meant by an if sentence. Do we mean that in the jsf, we have
an if clause, get the name of the process, and then how do we locate the
correct stylesheets that are packaged and deployed with the process? what i
did works, but you have to separately manage the stylesheets and im
I'm having this same problem after I created a branch in my svn repository for
my project. I have both 'versions' in the workspace (new project names start
with DEV) but I closed the 'head' version so I don't accidentally modify the
wrong files.
Similar to graben the only error I can find whic
I am talking about commons-httpclient.jar in lib directory of thr server
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184565#4184565
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184565
_
There is no "lockout after x failed log in attempts" within jbossas, at least
not for the default login module for jmx console. I just now tried it and after
after 10 failed attempts I can still log in.
What are all of the configuration changes you made?
View the original post :
http://www.jbo
our application uses older version of commons.jar from apache which contains
httpclient code.we have ear file which uses one of the classes of httpclient.It
will take lot of testing and resouces to replace the comons.jar. we are not
using it for our aplication and it is creating problem while cl
Oh, and as for the rest of the book, it is very beginner-friendly. The book is
more geared towards JBossAS configuration than app development. But most
chapters walk you through a simple app before we get into the details of
configuring the app. So, for example, someone who wants to get into mes
hey Peter
Yes, it was a mistype... it should be /html
thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184552#4184552
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184552
___
Yes, I assume that the reader knows nothing about Java performance and describe
everything in detail.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184551#4184551
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184551
Try starting it with nohup and see if that helps. I think that the '&' just
runs the process in the background, but that process is still a child of the
shell process.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184550#4184550
Reply to the post :
http:/
Hi there,
let's say we have 2 applications app1 and app2. These 2 applications were
previously running on the same server. We have a message driven bean
EventTopicSubscriberBean in app1, listening to a JMS queue "eventQueue". This
eventQueue is filled by app2. On a single-server architecture,
The CacheLoader is designed to persist the state of the cache, but when using
Hibernate, it's the database itself that holds state.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184547#4184547
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
Ronald
I'm saying that use 2 applications sounds odd to me.. my proposal is
1) Use the console and customize it (i never recommend this option)
2) Write a new application that use the APIs to fulfill the requirements..
I think we both are saying the same...
View the original post :
http://www.j
Maurico,
I think that is what he does (we've done the same). A separate webapp with a
generic tasklist and if forms are opened (self designed in jsf, not console
forms) a specific layout appears. This can even be done in the console froms.
But then you still have the 'wrapper'
View the origin
Hi. I have the same problem. Do you found the solution? Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184542#4184542
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184542
Thanks a lot Peter. I do appreciate your efforts.
Is it good for new commers?
Regards
NeeleshG
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184541#4184541
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184541
__
"PeterJ" wrote : In the server.log file, was there a shutdown message like the
following...
Nope, there was not. These lines never showed up there. So i guess our JVM
crashes from time to time maybe. I can't imagine what processes should be there
trying to kill/quit it, none i think.
anonymous
Check out the book JBoss in Action http://manning.com/jamae. Chapter 14 is all
about performance tuning and includes almost everything I know on the topic.
The book is geared towards JBossAS 5.0, but most of the performance chapter can
be applied to any Java application.
View the original post
I'm seeing a spurious CannotConnect error from the AS5.0.0.CR2 remoting code,
specifically from method HTTPClientInvoker.useHttpURLConnection. The exception
is actually caused by a NPE thrown after dispatching the message. The problem
occurs in a JaxWS-based test program which sends a one way m
Sure please provide me the URL.
Also please let me know how much charges?
Regards
NeeleshG
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184535#4184535
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184535
___
I am confused. Your original post says that you can already access your content
from http://localhost:8080/web and want to access it from
http://localhost:8080/html instead, yet the contents of the jboss-web.xml file
indicate that the context should be /web, which means you are still accessing
Hey PeterJ
Thanks.. actually i figured it out after i posted last night. I just created a
jboss-web.xml and put it in the WEB-INF folder of my project. The content of
it is..
/web
now i can get the pages from the web directory without a problem.
do you think this is the right app
you need to create a truststore. the exception is telling you that the server
you are connecting to probably self gernerated it's certificate. So you can
setup a truststore, containing the public keys for anyone you trust.
View the original post :
http://www.jboss.com/index.html?module=bb&op=
I am going to assume that you installed JBoss Tools, and not JBoss IDE. You are
looking at the old JBoss IDE tutorial. You should be looking at the JBoss Tools
tutorial:
http://docs.jboss.org/tools/2.1.0.GA/en/GettingStartedGuide/html/index.html
View the original post :
http://www.jboss.com/in
No, that's another issue I think. Please open another thread on this so that we
can analyze it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184519#4184519
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184519
__
Well, now you are outside of JBossAS territory and into Log4j territory. So I
would get the source code for log4j and start going through it. My first task
would be to write a simple Java app and get it to log to syslog, using an xml
config file. If that did not help, or I could not get that to
In the server.log file, was there a shutdown message like the following:
2008-10-22 11:27:18,253 INFO [org.jboss.system.server.Server] Shutting down
the server, blockingShutdown: false
2008-10-22 11:27:18,269 INFO [org.jboss.system.server.Server] Server exit(0)
called
2008-10-22 11:27:18,269 I
Jaikiran, you give a good example of why the spec dictates the fields must be
injected into static members. But it's OK to criticize something for being
stupid.
"bcn" wrote : In real-world application that would make it almost useless.
Yep.
Imagine if MC or Spring or any injection container l
Trying to do the same thing. I can't understand what other people are doing to
get around this problem. We have multiple keystores, so i have to override the
default behavior for the SSLContext...
This is what i need to do, but i can't figure out how/when to call this to set
the socket factory
Sorry! I didn't saw "DEBUG" until you told me.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184511#4184511
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184511
___
jboss-us
Ok, the lack of response forced me to investigate the issue myself - something
I was hoping to avoid.
Turns out I had a few teething config errors. All is now working as expected.
Thanks to everyone that didn't respond, forcing me to stop being lazy!
View the original post :
http://www.jboss
Yes you can do this, what you need is an extenral directory. Here's how:
http://www.jboss.org/community/docs/DOC-9727
And here is a recent discussion on the same topic:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=139630
View the original post :
http://www.jboss.com/index.html?modu
I understand completely. If this is your first encounter with attempting to
tune a Java application, it can be overwhelming. As I mentioned in one of those
posts, I do have other material on performance analysis and tuning that you
might find more helpful - it is text rather than slides and thus
I think (and I supose) that this is a very extreme solution. Why don't you use
some kind of If sentence that ask the name of the process, or the department in
the company and then find the correct style sheets? In this approach the if is
the only logic that you need, why use another webapps, and
I use MySQL with JBossAS all the time, so yes it supports that. For PHP
support, see http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146675
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184505#4184505
Reply to the post :
http://www.jboss.com/index
You can use process monitoring tools such as monit or ps-watcher to restart
jboss when the process dies, at least until you find out the cause of the
process to terminate.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184504#4184504
Reply to the post :
ht
Hi,
bi-directional mappings are a bit tricky: you always have to update BOTH sides
of the mapping.
So, if you want to map a Skill to an User, this will NOT work:
user.getSkills().add ( mySkill);
| entityManager.merge(user);
You will have to do something like this:
myUser.getSkills().add ( my
Hi,
I've been looking at the JBOSS tutorial found here:
http://docs.jboss.com/jbosside/tutorial/build/en/pdf/JBossIDE-Tutorial.pdf
My problem starts at page 4, when i try to Create a new J2EE Project.
According to the tutorial, i should have the following option:
Select File > New >Project >JBoss
I implemented the idea of a separate webapp that just holds the resources for
various processes as I described previously. I structured it as
deploy/default/resources.war/BCL/stylesheets/stylesheet1.css,
deploy/default/resources.war/BCL/images/image1.jpg, etc. where BCL is the name
of a proces
This involves using JBOSS 4.2.3 GA, Spring 2.5 and SQLServer 2000 XA jdbc
driver.
I created a file pxdatasource-xa-ds.xml file in the deploy folder with the
following definition-
pxDS
True
jdbc:microsoft:sqlserver://SQLTEST1;SelectMethod=cursor;databasename=App_Dev
com.microsoft.sqlserver.jdbc
Porting from Weblogic to JBoss and need to set SELECT for UPDATE on an entity.
The JBoss documentation suggests this can be done for an entity in
jbosscmp-jdbc using but this doesn't validate against the DTD
even though it seems visually it should.
Any ideas?
Robert
soaprobe.blogspot.com
Vie
Peter,
Thanks for your help, I am unable to get the jboss log redirected to SYSLOG.
Could you please give me hints on how to debug and get it working.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184494#4184494
Reply to the post :
http://www.jboss.com/i
Could somebody help me in understanding what configurations need to be done for
Parent Last Class loading?
I have an EAR which has a version of xerces.jar. While I try to start the
server with my EAR, it errors out giving
ClassCastException.
Instead of loading the DocumentBuilderFactory from the
Sorry for flame! Frustrated and shouldn't take it out on others. You're a
better person than I am ;-) Thanks for the calm reply and attempt to help.
Here is the problem:
1) Customer wants to see a demo of having one "console" where we run several
business processes from different department
Hello EveryOne,
i've mapped many2many between user and skill tables
,when it is uni-directional works fine but the problem occurs when i made it to
bi-directional. i've written many2many mapping in user class
The following exception is thrown when i try to insert record
Ok i just talked to them - nope they are not doing that on that server.
Any other suggestions what it could be? Or where should i start to search for
the problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184480#4184480
Reply to the post :
http://ww
I am attempting to connect to an EJB that is under a JAAS Domain which has
unauthenticated access support via the unauthenticatedIdentity attribute in my
login-config.xml. If I provide the appropriate information when building my
initalcontext (a valid username and password) everything works fi
I need to update the wiki entry as there is a known issue with the version of
JBoss WS bundled with AS 4.2.3.GA. Please upgrade to JBoss WS 3.0.4.GA to solve
the issue.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184475#4184475
Reply to the post :
http:/
Yes im using a rootserver from http://www.synserver.de/
But i didn't notice that with other permanently running processes there yet.
And also they don't say anything like that in their contract.
Possibly i should mail them and ask them to make it sure... hmm
View the original post :
http://w
Ok, it made a liar out of me and just worked. I guess I had something screwy
when doing the hot deploy...simple jboss restart fixed it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184470#4184470
Reply to the post :
http://www.jboss.com/index.html?module=
The Java Docs for PermitAll say the following
anonymous wrote : Specifies that all security roles are allowed to invoke the
specified method(s) i.e that the specified method(s) are "unchecked". It can be
specified on a class or on methods. Specifying it on the class means that it
applies to all
Never mind, I just added all libs to the aop classpath and now I dont need to
exclude anything. I guess thats ok, since its precompiled and not loadtime
weaving.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184468#4184468
Reply to the post :
http://www.jb
Are you running on a hosted machined? I know some hosting services don't allow
long-running processes. The process simple dies after a period of time.
Lin
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184464#4184464
Reply to the post :
http://www.jboss.com
Hello,
Im running Jboss 4.2.2 GA on a Debian Etch machine.
The process from time to time (quite rarely though) terminates without any
reasonable log entry. The java/jboss process suddenly is just not there anymore
if i do "ps aux".
I looked into /var/log/messages and into
/opt/jboss4/server/d
Ah I missed the point about not enabling the facet ;)
So you can actually already do this when creating the proect, don't have to
wait after it has been created.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184452#4184452
Reply to the post :
http://www.jb
Hi,
if I have a class with an enclosed class like this
Class POJO {
private String aField;
...
class AnotherClass {
public void someMethod() {
aField = "something";
}
}
}
and I add an aspect at runtime through these instructions:
AdviceBinding binding = new AdviceBinding("execution(publi
anonymous wrote :
|
| I am attaching an Object
|
| Set stateSet = new HashSet();
|
| // STATE ONE
| stateOne = new State();
| stateOne.setStateName("KARNATAKA");
| stateOne.setStateId(new Long(1));
|
| // STATE
You have to add a seam facet.
1. Create an EJB Project.
2. File->Properties (or right click on project->properties) -> Project Facets
3. Select Seam Facet. Change version, if you need.
4. Then I recomend you to click on Further configuration available... and set
up Seam facet. Seam facet will be i
I am getting "java.net.UnknownHostException: www.w3.org" for following versions:
- jboss-portal-2.7.0.CR1-bundled
- jboss-portal-2.6.6.GA-bundled
- jboss-portal-2.4.2-bundled
jboss-portal-2.2.1-SP3-bundled worked well.
I am behind a Firewall, so i used this for the JVM:
| -Dhttp.proxyHost=prox
I found that this solution works:
| MyService client1 = (MyService) service.getPort(...);
| BindingProvider prov1 = (BindingProvider) client1;
| Map request = prov1.getRequestContext();
| request.put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true);
| client1.login("agori", "sfsfaf");
for normal situation, our ejb client (tomcat) can connect to jboss server
successfully
e.g.
we have 3 jboss in clusters, we are using ejb 3 stateless session bean
(clustered),
when one jboss is down for deployment, and up again, the client can reconnect
to this jboss again
but if a network f
try using run.sh -c messaging -b 192.168.200.50 instead of --host
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184425#4184425
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184425
log info:
DEBUG [org.jboss.deployment.scanner.URLDirectoryScanner] (ScannerThread:)
Deploying Modified (or new) url:
file:/C:/firmament/jboss/server/default/deploy/deploy-hasingleton-service.xml
DEBUG [org.jboss.deployment.scanner.URLDirectoryScanner] (ScannerThread:)
Deploying Modified (or new)
Carefully read the spec: "supported for the application client main class" ;-).
If you declare your injected EJBs as "public static" variables in the main
class, you can access them from anywhere inside your client app.
Best regards
Wolfgang
View the original post :
http://www.jboss.com/inde
Hi,
I have a portal with three CMS portlets into the first page. When users
minimize a CMS portlet
the window title reverts to default (CMS) instead of the title provided by
the html page previous displayed. I added the display-name property to the
*-object.xml file
but it seams to be ignored :
We know about all these problems adinn.
It should be fixed with next JBossWS release.
You can register for events here: JBWS-2332 and see the progress on this issue.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184417#4184417
Reply to the post :
http://www
Thank you both for the answers.
So stateful beans should work, okay, great.
I understand that the field with the EJB annotation unfortunately has to be
static. That could make it harder to use the same code in an app client and in
an J2EE server. Okay, maybe you can use always static fields.
W
I managed to debug this a little further and have identified why the startup
code is hanging -- it is because of something my code is doing (I'll come to
that in a second). I still don't know why the WebService port is being looked
up before it is defined so there is still an issue there.
The h
"woo37830" wrote : It is a tool to deploy processes and learn how to use them
isn't it?
|
Yes
"woo37830" wrote :
| Yes, it is NOT an end user application, but that doesn't answer the
question.
|
Correct
"woo37830" wrote :
| The question was ( I repeat it since it obviously wasn't re
hi,
it's more a question than a real problem :-)
I'm wondering if it's possible to inject header - javascript - for a portal (or
page) instance in the same way as portlet, ei, add a tag into an xml descriptor
?
I tried to add a to my
portal-object.xml descriptor, deployment doesn't comp
Leo, I know the usecase is quite common, but that does not mean it makes sense
in all cases (to me)
My initial question was real and serious. But if I talk to people who use
spring this way, I always get the answer about the config files and a statement
like 'that is the way we do it' (often th
Hi,
I have a problem with identity portlet and user portlet, when users add a new
properties to their profile and confirm changes both portlets throw an
exception :
| javax.servlet.ServletException: java.sql.BatchUpdateException: ORA-1:
unique constraint (JBOSSPORTAL.SYS_C0093012) viola
Sorry, Ron, I tried but I don't seem to have bug sumit permissions.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184399#4184399
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184399
___
In addition: spec chapter 9.4 says this:
anonymous wrote : Injection is also supported for the application client main
class. Because the application client container does not create instances of
the application client main class, but merely loads the class and invokes the
static main method, i
"bcn" wrote :
| 1. Can you really use the EJB annotation only in the main class (and only
for static fields)?
|
That's what the spec says.
"bcn" wrote :
| In real-world application that would make it almost useless.
|
|
Why do you think so?
>From what i understand, they do have
Hello,
two more questions:
1. Can you really use the EJB annotation only in the main class (and only for
static fields)? In real-world application that would make it almost useless.
2. Can you use in the same way a stateful session bean? E. g. to handle the
client authentication and session.
T
woo37830, Reacting like that will get you only no answers.
I will give you my opinion nontheless:
What you want is conceptually wrong: a process should not have to know anything
about how it will be shown in the front-end. It is as if you would store
stylesheet urls in your Hibernate domain mod
Why not?
Can you explain? Thanks!
Holger
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184370#4184370
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184370
___
jboss-user m
How about the recently released Embedded Jopr
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184364#4184364
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184365#4184365
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mod
91 matches
Mail list logo