Thanks Dimitris for your quick response. I've just got one other question about
the Timer Service... Is there any major reason not to migrate from version 2 to
3 of the Timer Service? It would be useful in order to choose one or another
implementation for our application. Thanks.
View the origi
Hi everybody. Trying to migrate an application to JBoss 5.0.0 GA we've found
that EJB3 uses EJB2.x Timer Service (according to end of post at
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=141835). What are the
differences between EJB 2.x and EJB3 Timer Services? How can I configure EJ
Posting the servlet's code would help...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119427#4119427
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119427
___
jboss-user mai
Reading another recent post, at the end of the answer says that if you don't
flush the input, output and error streams, it may hang.
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119242#4119242
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119370
Can you provide all the code related to your problem. Remember to surround it
using the code tags.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119368#4119368
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119368
___
Well, a few years ago, when I needed something similar, I created an MBean...
You can create dependencies with any other MBean (for datasources, web-apps...)
if the things you need to do depend on other services.
If you can tell more about your needs, I'll try to help.
View the original post :
h
Can you copy your web.xml file? I think it's due to not use version 2.4 or
greater in it, so EL is not enabled.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107221#4107221
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&
We can't if you don't provide the JSP code. Remember to use to [ code] and [
/code] between your code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105079#4105079
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105079
You should isolate the deployments. Take a look at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=UseJBossWebLoader and
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100860#4100860
Reply to the po
You have to set the version to 2.5, not 2.4
| http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>
| Time
|
| index.jsp
|
Are you setting the version attribute of web-app in web.xml to 2.5? Can you
copy it here your web.xml file?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100184#4100184
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41
Is pageInput an object declared elsewhere in the page? It seems it's related to
the EL you put there. Didn't you wanted to put pageScope?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099532#4099532
Reply to the post :
http://www.jboss.com/index.html?module
Can't it be related to HTML errors? You don't provide an action (required by
HTML spec), neither you close the form tag. Try it and if it doesn't help
provide us the full JSP.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099531#4099531
Reply to the post :
That's the way to do it, using the -b parameter.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099530#4099530
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099530
___
jboss-
Please use [ code ] tags to post your code. Otherwise it's illegible.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099529#4099529
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099529
_
Your problem is using the short form of . I've found that SCRIPT is one of the few elements that you
must explicitly close using a close tag like this
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099528#4099528
Reply to the post :
http://www.jboss.com/ind
Do you get any Exception?
You can also check if you have the same configuration in
jbossweb-tomcat55.sar/META-INF/jboss-service.xml in Windows and Linux
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099527#4099527
Reply to the post :
http://www.jboss.com/in
It's what I wrote on last post. You write ${param.approveType} wherever you
need the param value. For example:
| This is the value of approveType: ${param.approveType}
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092454#4092454
Reply to the post :
Just get as a param. With EL is ${param.approveType}.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092321#4092321
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092321
___
j
You can find a minimal config example here, and info for JBoss4.2 and JSF here.
To use MyFaces components, here says there's no problem, and also there's some
help if you want to use MyFaces Core JSF implementation.
Also there's a note here saying: anonymous wrote : If you don't remove the JSF
By the way, are you encoding the URL with encodeURL or some framework (JSF,
Struts...)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092242#4092242
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092242
__
Please copy your jboss-web.xml file (and remember to use the code tags [ code]
and [ /code] * around it).
* Without the space between the [ and code] or /code]
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092241#4092241
Reply to the post :
http://www.jbos
You should use a page directive specifying a greater buffer size. Take a look
at the spec:
anonymous wrote :
| buffer
| Specifies the buffering model for the initial out JspWriter to
| handle content output from the page.
| If none, then there is no buffering and all output is written
|
You have to change hibernate.hbm2ddl.auto from create-drop to some other value,
maybe update or validate if you already have the tabled (haven't used
Hibernate...). This is the help I've found:
anonymous wrote :
| hibernate.hbm2ddl.auto
| Automatically validate or export schema DDL to the d
I don't know nearly nothing about JSF, but I do for HTML and JavaScript, and
I've found some errors in your code:
|
|
|
|
|
|
|
|
|
|
|
- Removed "javascript:" from onmousedown
- Changed \ for / in URL of search page
- Plus sign outside String before appro
I haven't used Seam, but if you use the method described in
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories ,
then, as said by Tomcat here
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html ,
this directory is like any other context you can deploy within the
"predefined" i
What's the problem using an EAR? You can have an exploded EAR application, and
put the WARs inside when theyre ready. You will only have to add them to the
application.xml and jboss-app.xml file.
To tell JBoss where the shared libs are, use the library-directory tag of
jboss-app.xml. In the DTD
There's a fabulous wiki on JBoss... Have you tried looking there? To give you a
quick link, here it is
http://wiki.jboss.org/wiki/Wiki.jsp?page=ShareSessionDataAcrossWars
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087434#4087434
Reply to the post :
http
If I recall correctly, on first access to a server app, the server sends both
the jsessionid in url and the creation of the cookie. Then, if in subsequent
requests the user sends the cookie, it doesn't put the jsessionid anymore for
that session (unless you configure it for not using cookies). T
As sais here, using FileAppender or any "common" subclass leads to errors on
clusters http://www.oreillynet.com/cs/user/view/cs_msg/17235.
The problem is due to Log4J not rolling the files consulting the underlying
system. Log4J mantains a counter of how many bytes has written to the file. So
e
return code 200 means OK in HTTP protocol. Is a server result code, nothing to
do with client.
Better copy the "conflicting" code here (using code tags) and tell us if you're
using the default deployment, basic, full or a modified one...
View the original post :
http://www.jboss.com/index.html
How do you show to the user the available files? What are the URLs like to get
these files? Maybe your problem is with this second thing. If you give URLs
directly to the files, they may be cached by the browser.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
This is working for me:
| //HTTP 1.0:
| response.setHeader("Expires","0");
| response.setHeader("Pragma","no-cache");
| //HTTP 1.1:
| response.setHeader("Cache-Control","must-revalidate");
|
But what I think is a problem with your webapp... How does your applicati
Look for anonymous wrote : - A boolean indicating if the
jndi-name should be prefixed with java: which causes the DataSource to only be
accessible from within the jboss server vm. The default is true. in
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources
View the original post :
http:
Would you mind copying the EAR manifest and the contents of the EAR? Maybe it
could help more than the foo-bar example...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060573#4060573
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
I can find an explanation to your problem of having a NullPointer, but not the
reason of only getting it after some days working... Having the NullPointer is
because when you use:
!request.getParameter("text").equals("capturados") the parameter is null. You
can change all of this statements for
Your problem is due to using a JSP. Between the JSP "directives" you have CRLF
that is send to the client, that is, between <%@ page import="java.io.File,
| java.io.InputStream,
| java.io.FileInputStream,
| java.io.OutputStream"%>
| and <%@ page session="false" %> you have a CRLF, as
Can you post the code of Verifica.jsp? Maybe you get something (like a database
connection) that becomes timeouted after some period... The kind of code that
could be your problem may be between <%! and %>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059409
Try using Class-Path within the EAR manifest like in this example:
| app3.ear:
| META-INF/application.xml
| ejb1_client.jar
| ejb3.jar Class-Path: ejb1_client.jar
| webapp.war Class-Path: ejb1_client.jar
| WEB-INF/web.xml
| WEB-INF/lib/servlet1.jar
|
View the origi
How is this executable supposed to be used? You have to run it with some params
for every request? Or run it on some port (defined by this application) and the
request to be sent there? Or another way?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048570#404
Try putting the WAR and the two JARs in an EAR (you can do it exploded, so you
don't have to a an EAR everytime you change ony one of them).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048568#4048568
Reply to the post :
http://www.jboss.com/index.html?mod
You can try using a Filter for getting the response output stream, doing the
things with the API and putting the result in the request, then wrap the
response with HttpServletResponseWrapper(response) before passing to
chain.doFilter(request, wrapper). Maybe it's not the solution you expect... I
I think your problem is due to the servlet spec. I think you are using 2.3 or
2.4 (or maybe 2.5; I think it's the one in 4.2.0), so take a look in
http://struts.apache.org/1.2.9/userGuide/configuration.html, and look for this
"5.4.3.1 Configure the Struts Tag Libraries (Servlet 2.3/2.4)" whith y
I've seen something else that could be your problem... In your jboss-web.xml it
appears no doctype element before the jboss-web tag, so maybe is using
jboss-web.dtd, which is an old one and doesn't have the use-session-cookies...
Try putting the right version for your JBoss version before doing
Just another thing if you try using context.xml is that Tomcat requires it a
META-INF subfolder of the web app, but I think JBoss needs it in WEB-INF. If
one doesn't work try the other :-P
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040377#4040377
Reply t
You should post the Jboss version you're using, 'cause they differ in behaviour
between versions...
But maybe you can took a look at this other post
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=57341 (which I get
surprised I am one of the repliers and I didn't remembered about it...
Are you using the response method "encodeURL" to put the id in the url written
in the page
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletResponse.html#encodeURL(java.lang.String)
or using any tag library to do so? Or you just write down the URL?
View the original post :
h
Take a look in the dtd file jboss-web-4_0.dtd in the docs/dtd dir, and look for
"use-session-cookies".
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040020#4040020
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040020
Why haven't you looked at the wiki before asking instead of making others
search it for you..?
http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAOracleDatasource
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031281#4031281
Reply to the post :
http://www.jboss
If you can't find better solution, you can have different permutations of
SessionIdAlphabet in each node. They are set in
jbossweb-tomcat55.sar/META-INF/jboss-service.xml Looking at the SessionID
generation code, having these characters (they must be 65, rememeber) permuted
in each node will de
I think your problem is due to Windows not starting the TCP/IP stack when
there's no network interface. Try
http://blogs.msdn.com/astebner/archive/2004/07/06/174576.aspx and use 127.0.0.1
as the loopback adapter IP
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic
must be a valid DNS server name, so if "vhost2" is
not a registered name of the server, you cannot use it (or at least is what the
tomcat documentation says...). Try changing in it to www.xxxdomain.com and have
it on the DNS (or at least on the "hosts" file of the computer).
View the original
Try using AuthenticatorLocal.class.getName() for local interface and
AuthenticatorRemote.class.getName() for remote interface.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026876#4026876
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
As this line says anonymous wrote : Caused by: java.lang.IllegalStateException:
could not locate rule file: /META-INF/security-rules.drl, it cannot find the
security-rules.drl under your META-INF subdir in your app. Is it there?
View the original post :
http://www.jboss.com/index.html?module=bb
I think your problem is same I had once... As long as you try to write
parameters to System.out, when they get displayed on the console they don't
show correctly due to DOS command line only displays ASCII chars (or another
encoding that cannot display non-american chars). Try writing them to a
When using stateless session beans you must have only one create method without
arguments. That's because all instances of the class must be interchangeable,
so if you use parameters in create method, then they became not interchangeable.
View the original post :
http://www.jboss.com/index.html
Are you sure that when you start JBoss you're using the "default" config? Maybe
you're starting the "all" one or any other and you deployed in the default...
If that's not the case, have no more ideas...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014264#4
Are you connecting to the remote session bean through a WebService?
But apart from that thing, the problem you have is that you're calling
javax.xml.soap.MessageFactory.newInstance() passing a String value, and that
method doesn't let you put any params...
View the original post :
http://www.jb
You should write your XML file here (between code quotes) in order to get help
with managed-beans.xml problem...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014230#4014230
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply
The line you have put on jboss-service.xml is in order to "listen" to a
directory for deployed apps (or apps that are going to be deployed). To deploy
an exploded WAR, at least in JBoss you have to put the extension to the
directory, so JBoss knows then what kind of app (web-app, ejb-app, ...) y
But rajrsingh, the problem you have is that your classes must be under
WEB-INF/classes folder (move the org directory into WEB-INF/classes)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009652#4009652
Reply to the post :
http://www.jboss.com/index.html?modu
If I recall correctly, you have to "touch" the web.xml file. You can find a
program for that, or just edit it and save it without changing anything... That
worked for me a couple of years ago
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009644#4009644
Repl
62 matches
Mail list logo