When I deploy a JSF application on a Glassfish V2.1 Patch02 Cluster, the following exception is thrown while loading the first page.
java.security.ProviderException: update() failed
at sun.security.pkcs11.P11Cipher.implUpdate(P11Cipher.java:557)
at sun.security.pkcs11.P11Cipher.engineUpdate(P11Cipher.java:457)
at sun.se...
I'm using a class to get a property file under the source folder. But it doesn't work! After checking, I found that the default path by using the File f = new File("/src/ss.properties");
is not the web application path but the glassfish config path! What can I do if I want to fetch the property file stored in the "classes" path? Usually ...
The second JNDI lookup in the code below fails with an exception when running as a standalone application against Glassfish (which has been configured to expose a QueueConnectionFactory and a DataSource via JNDI). However, the code works fine when the line jndiContext.close() is removed.
In the real code, the call to close() is being ma...
Please help;
Am trying to deploy a web application.
The build is returning successful,and am not getting any errors on the sever.log
however am getting a http 503 error:the requested service() is not currently available
and also my
Java DB Database Process has this message
Warning: UnknkownHostException: intracare: intracare.
Could not...
I'm trying to compile a webservice through NetBeans 6.7 using Glassfish v3 as the host is there anyway to fix this issue:
'Unexpected JAXRPC endpoint, this version is not supported 1.1'
...
Is there a way to use BlazeDS on a Glassfish server? If so how?
...
I have a xsd with quite a few pattern restrictions in it and this xsd is used in our wsdl. When we deploy the ear to glassfish and bring up the wsdl and xsd in a browser all of our pattern restrictions are stripped out. Why? How can I eliminate the stripping of our restrictions.
Here is a snippet:
...
I will need to develop/deploy an EAR (webapp + ejbs, webservices) and its the time to know 'where on Internet?'.
this Ear is a simple webapp jsf + ejbs 3, webservices.
app: affiliations system
for who: health sector
users: aprox 2000 users are going to hit (get affiliated) to the app, aprox only 50 simultanely.
server: sun glassfish v2 ...
Is it possible to add a trailing slash to the default context of an application?
Example:
http://www.uri.com/foo -> http://www.uri.com/foo/
I added the following redirect to the server properties:
redirect_1: from=/foo url-prefix=/foo/
and this ends up in a loop...
Several other configurations also didn't work :-/
I'm using glass...
I'm getting a weird problem in GlassFish 2.1 - I'm a beginner with this container and I'm having trouble pinning this down.
I have a new install of GlassFish 2.1 with a JDBC connection pool defined called testDerbyPool. I then have a resource defined called jdbc/testDerbyPool pointing at that pool. The resource type is javax.sql.DataSou...
Glassfish had already been into Netbeans. But i forgot the password and username. (it wasn't admin, adminadmin) So i reinstall to desktop. I followed glassfish configuration After that i tried to associate Netbeans and glassfish. first i create Netbeans 6.7.1 Tools/ servers / add Server / glassfish v2.1
server location is choosen where ...
Hi,
I have the following line in my log4j.properties file:
log4j.appender.logfile.File=MyApplication.log
My log file appears in MyDomain/config directory, but I would like it to land in the MyDomain/logs directory. How can I achieve that? I am not allowed to modify the startserv script.
Thanks in advance for your help!
...
When trying to setup a lock (pessimistic), with the following code:
em.lock(controlnumbers, LockModeType.WRITE);
em.refresh(controlnumbers);
I am getting the following exception:
[#|2009-09-10T15:42:48.324-0400|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=31;_ThreadName=httpSSLWorkerThread-8080-19;|
javax.ejb...
I installed the newest version of Windows 7.
This is my development box, so I have glassfish installed, which I use for Java applications. Also, I use IIS to run PHP applications. I run both servers on port 80, but never at the same time.
However, since I set up IIS, I can't get glassfish to run. In eclipse, it always gives the follow...
Hey,
I am developing a simple web application which contains these 3 components:
client that uses Ajax,javascript, html to display data on the browser.
Java webserver that interfaces between the client and data processing entity.
data processing entity, implemented in C++.
I need to decide which java webserver to use. Some options ...
An HTTP POST request is made to my servlet. There is a posted form parameter in the http request that my code in the servlet retrieves for further processing named "payload". When the value of the payload includes the windows-1252 character "’" (ascii value 146), HttpServletRequest instance method getParameter("payload") returns null. ...
If you make changes to a resource setting (the max pool size on a connection pool for example) via the glassfish web interface do you have to restart the app server for the changes to take effect or does it all happen on the fly.
Thanks
...
Duplicate
http://stackoverflow.com/questions/1365026/blazeds-on-glassfish
I have a question about BlazeDS and Glassfish.
Is it true that there is no support for Blaze in GlassFish??
The following blog has a "hack" solution, but I can't find an 'official' solution.
...
Hi,
Security in BlazeDS in Glassfish doesn't work.
The Valve API in the Tomcat version of Glassfish is different from the official Tomcat.
The only option is to hack an "Glassfish" TomcatValve,
http://anachronymous.com/2009/01/flex-blazeds-and-glassfish-part-1.html
but is this a good solution for an productive system ?
Please don't...
I wrote a web service project using netbeans 6.7.1 with glassfish v2.1, put log4j.properties to the root dir of project and use
static Logger logger = Logger.getLogger(MyClass.class);
in Constructor:
PropertyConfigurator.configure("log4j.properties");
and in functions:
logger.info("...");
logger.error("...");
...
but, it is error in...