glassfish application server 9 with mysql

804 byte By joeljoel at 2007-11-26 9:03:19
Hello!I'm using Glassfish and i'm attemting to configurate with mysql bd.I did an application with java studio creator 2 update 1, and it connect with mysql perfectly, but when I put the application in to the server, I see the page but not connect to mysql and I don't see any error.Can ...

Error while building javaeetutorial5

653 byte By David04 at 2007-11-26 9:03:36
When I try to build "bookstore" from javaeetutorial5 I get this error:Buildfile: build.xml-pre-init:init:default-ear:-pre-compile:bpp-actual-compilation:[echo] Compiling bookstore[javac] Compiling 11 source files to /opt/javaeetutorial5/examples/web/bookstore/build/classesBUILD ...

Getting Axis fault when using SJSAS 8.1

1880 byte By krishna0511 at 2007-11-26 9:04:39
I am working on an application that uses axis 1.1, when I try to invoke a web service I am getting this Exception NESTED-EXCEPTION: org.apache.axis.AxisFaultMSG: ; nested exception is: java.lang.NullPointerExceptionat org.apache.axis.AxisFault.makeFault(AxisFault.java:129)at ...

SJSAS 8.1 creating a zillion connections

1085 byte By Skrelton at 2007-11-26 9:04:41
My platform is Windows XP which I installed Java Studio Enterprise 8 on and that installed Java System Application Server 8.1I tried to start the server server via: Programs->SunMicrosystems->JavaStudioEnterprise8->StartServersAndRunti mes->Default ApplicationServerI get a DOS ...

SJSAS 9

1299 byte By cod3fr3ak at 2007-11-26 9:05:03
Well I have decided to go with the Java EE SDK 5, which includes SJSAS 9. It is installed and working. after having my developers deploy a couple of small j2ee modules, we ran into a problem. When there are two modules running at once we receive the following ...

Load Balancer Plugin For Apache2

342 byte By LizGlasser at 2007-11-26 9:05:45
I'm am trying to install the load balancer plugin using apache2 as my Web Server. According to the documentation, the mod_loadbalancer.so should be put in the modules directory. However, it is put in the libexec directory and does not work. It seem as if the plugin for apache1.3 is installed. ...

SSL setup

8214 byte By rnm@uno at 2007-11-26 9:06:04
I am trying to get AS9 up but I am having difficulty getting the Server to recognize the new Server Cert. I have gone through most of the Sun documentation and have been unable to find a problem. This is the dump from the log ...

Error: Creating a Connection Pool: issue with valid transaction levels

1378 byte By jtp512 at 2007-11-26 9:07:52
Server: SunOS 5.8 Generic_117350-27 sun4u sparc SUNW,UltraAX-MPApp Server: Sun Java System Application Server 8.2Jar: ojdbc14.jarDatasource Classname: oracle.jdbc.pool.OracleConnectionPoolDataSourceResource Type: javax.sql.ConnectionPoolDataSourceUsing /SUNWappserver/lib/ojdbc14.jar, when I ...

Specified IDENTITY, got SEQUENCE

1594 byte By MarkusKargQUIPSY at 2007-11-26 9:08:01
I am using SAS9 as part of JEE 5 SDK, ontop of MaxDB.In one of my EJB 3.0 Entities, I have the following code:@Id@GeneratedValue(strategy = IDENTITY)private int id;The code gets compiled, packaged and validated without problem.But at deployment, SAS9 puts the following line into the ...

Change Application Deployment Location

984 byte By Mrinal-Malhotra at 2007-11-26 9:10:03
Hi,Is it possible to change the default deployment location of a WAR file?When we deploy a WAR file, the server creates the deployment structure in the order of:installation_path/server_name/application/j2ee-modules/ApplicationName_deployme ntNumberFor example while deploying a war file with ...

Database configuration

312 byte By Xavi at 2007-11-26 9:10:19
Please someone help me, how to configure Oracle or SQL Server with J2EE Application Server Resource.I tried but got the error: class resource error.Also for Derby database, the error is with the user name and password.Thanks in advance for the unknown's immediate help..- ...

Problems with JNDI lookups to SJSAS 8.1 from Jboss

2422 byte By jmota_csw at 2007-11-26 9:10:36
Hello, i am having problems doing jndi lookups to a topic connection factory from an application deployed in Jboss 4.03-sp1.I am able to retrieve all the contexts on the jndi path and list the references. I am also able to retrieve a QueueConnectionFactory, but when i try to retrieve the topic ...

Standard Edition still Available?

382 byte By tourtech at 2007-11-26 9:11:37
Just wondering if anybody knows whether SJSAS Standard Edition is available free-of-charge as part of Java Enterprise System.The Web Infrastructure suite lists it as being bundled, but when you actually go to download it, it turns out that the Enterprise Edition comes ...

How to Connect Sun Java System Application Server to MySQL?

237 byte By muki at 2007-11-26 9:11:41
Hi,I am new to the SJSAS and I want to use MySQL 5.0 as my database.I have searched the web for a step by step for configuring the two softwaresbut I did not find anything?Can someone help?Thanks

Hosting multiple sites on the same machine

829 byte By LDawg17 at 2007-11-26 9:12:30
I am using Sun's Application Server PE 9, and I'm having great trouble hosting multiple domains on the same box. I used the admin console to create 2 Virtual Servers (aaa.com and bbb.com, for example). I also created 2 HTTP Listeners - one for aaa.com and one for bbb.com. However, when I ...

SJSAS 7 & 8/9 on same system?

657 byte By wgkorb at 2007-11-26 9:13:21
Hello,We currently run AS7SE on a V240 running Solaris 9. We're looking at upgrading to a more modern version of AS (8SE or 9SE when it is available). However, I was once told that it is not possible to run both AS7 & AS8 on the same system concurrently. As we have multiple sites hosted on ...

getting properties file outside jar?

342 byte By Message-Driven-Bean at 2007-11-26 9:17:45
hi all,when i deploy my ear file in Sun AS 8.1, the current directory points to domains/domain1/config/In the coding, i couldnt be able to get the properties file. i dont want to put the properties file in the jar. because I need the properties file to be editiable by the end user.Any ...

Master/Detail deletion problem

877 byte By Jan_Peremsky at 2007-11-26 9:19:42
Hi, I've discovered strange behaviour of SunApp server 8.1.EE.In one ejb interface method, which is mapped onto one DB transaction I try to remove several detail DB records and at the end of the method to remove a master (parent) record.All but one details (children) and the master (parent) ...

MessageConsumer not consuming messages from Temporary queue

1936 byte By jmota_csw at 2007-11-26 9:19:46
I have a client application that is deployed on JBoss 4.03-sp1.The client application looks up the connection factory and queue from SJSAS8.1I create a temporary queue, create a message, set the temporary queue in the jmsreplyto of the message and send it to the queue. However the message ...

Sun JSES 8.1 Debugging problem

690 byte By shurdsfield at 2007-11-26 9:22:16
Since upgrading our enterpise application from 7 to 8, the tried and trusted process for debugging the application fails to hit any breakpoints.We are using Intellij. The appserver is running on windows and the domain is started in debug mode. Intellij succesfully connects to the debug port. ...

Cannot start domain1

481 byte By saira at 2007-11-26 9:22:18
I cannot get my Application Server to run. when i type in the command line:asadmin start-domain domain1i get the following message:Domain domain1 failed to startup. There is a conflict on port 7676.Please check the server log formore details.CLI156 Could not start the domain domain1.what should ...

Where can I get info on SJSAS 9.0 EE?

415 byte By mwoinoski at 2007-11-26 9:24:30
The SJSAS 9.0 datasheet ( http://www.sun.com/software/products/appsrvr_pe/datasheet.xml) mentions SJSAS 9.0 EE, which supports features not supported by SJSAS 9.0 PE, including clustering and load balancing. But I can't find any info about SJSAS 9.0 EE. Has 9.0 EE been released? If not, where I ...

Sun Application Server PE 9

252 byte By dejan_medic at 2007-11-26 9:25:25
I installed this server and when he asked me to type password for admin I did so but when I start server I can not log in (admin console) with admin account.Please does anybody know what is default login for this server?Dejan Medic

JNDI Name for Local interface EJB

468 byte By srikanthpragada at 2007-11-26 9:26:12
Hello,I have created a simple Stateless session bean in EJB 3.0 and deployed it. I use NetBeans 5.5. beta 2 to deploy that EJB application to SJSAS 9.0. My problem is, i am unable to access it from web application running in the same server - SJSAS. I don't know what is the jndi name that is ...

Primary Key in INSERTs

1640 byte By aj.sommer at 2007-11-26 9:26:59
Hi!! :-)Im currently trying to access some Postgres-database from an Enterprise-App running inside Sun App Server 9... Some of th tables have a primary-key-field with type SERIAL, so Postgres creates the value for those fields!!Now: How can i achieve, that the app-server does not try to write ...

how to specify individual datasource for CMP entity bean in JES

1096 byte By CornerStone at 2007-11-26 9:27:05
Hi,I encounter a problem regarding specifying datasource in Sun Enterprise System.In the deplyment descriptor sun-ejb-jar.xml, I specify a common datasource for all the CMP ...

deployment error on Sun JES when I map an entity bean to a view

3289 byte By CornerStone at 2007-11-26 9:27:06
Hi,I got a deployment error when I try to map a CMP entity bean to a database view rather than a table. The system compain that the table is not found. I have set the property of the CMP bean as read-only in the descriptor.My Working environment is:Windows XP SP2Oracle 8i,Sun Java Enterprise ...

how to support auto primary key in JES 8.1

292 byte By CornerStone at 2007-11-26 9:27:25
Hi,I am migrating a EJB CMP project from jboss 4.0 to sun JES. I can use <unknown-pk> to support auto generated primary key in JBoss. But I don't how to do in Sun JES. Does anybody how to do in Sun Jes?I use oracle 9i data database.Thanks in advance.

Can not Accessing EJB Components in a RemoteApplication server

770 byte By robinshang@msn.com at 2007-11-26 9:27:56
I want to access a stateless ejb in a remote sun appserver 9 from a standalone client,But I got NameNotFoundException alway, followed is my code:(my client ip is 192.168.52.1)Properties prop = new Properties();prop.setProperty("java.naming.factory.initial", ...

Message Queue not supporting clustering!

203 byte By j_ray at 2007-11-26 9:29:25
Hi I'm using Message Queue 3 2005Q4. Can anyone tell if this version of message broker supports clustring or not. If not what is the solution for making it support clustering?Thanks

NullPointerException in message queue!!!

454 byte By j_ray at 2007-11-26 9:29:29
I'm using Sun Message Queue 3 3005Q4. I get the following error in one of the queues. The message size and no of messages is evrything in limit. Can anyone tell what this error is about?[14/Aug/2006:02:53:44 EDT] [B1065]: Accepting: guest@10.1.4.15:51890->jms:59200. ...

imq3_6 NO_ACKNOWLEDGE

770 byte By automatatrading at 2007-11-26 9:29:34
Has anyone had success in getting this server to operate in the NO_ACKNOWLEDGE mode?I have everything working fine under AUTO_ACKNOWLEDGE and DUPS_OK_ACKNOWLEDGE, but when I switch to NO_ACKNOWLEDGE I get a class cast exception:java.lang.ClassCastException: ...

Fast Connection Failover, Connection Pooling and ONS

8263 byte By myersshawn at 2007-11-26 9:30:39
Hello,I am trying to configure a connection pool (on the Sun Java System Application Server Enterprise Edition 8.1_02 (build b15-p06)) to connect to an Oracle cluster. I have configured ONS to what is described in the docs. However, upon trying to "ping" the connection pool from within the ...

AS81 EE - asadmin deploy issue

725 byte By vijayjayaram at 2007-11-26 9:30:43
We are getting the following error message when we execute "asadmin deploy" command to deploy ear on AS81 EE.--CLI171 Command deploy failed : Deploying application in domain failed; No local string defined -- Inconsistent Module State; requested operation cannot be completedE R R O R!!--This ...

UDS 5.1.3 application hang : how to force a process backtrace

742 byte By UDSUser at 2007-11-26 9:33:11
I need to take a thread dump on a Forte_Executor partition.I have SunONE UDS Version 5.1.3, on SunOS 5.9.I read on the Forte Technote ID 10398 (it's a old one : 05/14/1998) that :"On UNIX, you can send a process a signal to get it to print a backtrace. This is good to diagnose a hang or a ...

Sun Java Application Server, Apache and OS X

876 byte By joshuawsmith at 2007-11-26 9:35:29
I have a couple questions that I was hoping someone could help me out with.Background info. I'm running OS X 10.4, the default OS X install of apache HTTP server and I've installed NetBeans with Sun Application Server.I'd like to configure the application server to work with apache. My ...

asadmin starting a domain outputs "Unable to read system environment."

639 byte By jtp512 at 2007-11-26 9:35:30
Sun Java System Application Server 8.2Mac OS 10.4.7when I run the following commands:cd /opt/SUNWappserver/bin./asadmin start-domain domain1It returns the following output:Unable to read system environment. No system environment will be used.Starting Domain domain1, please wait.Log redirected ...

Syslog

701 byte By TiT at 2007-11-26 9:35:44
Hi,I'm trying to set up 3.6 SP3 to log through syslog.I've found the following broker properties, and have set them up in the instance's "config.properties" file, and restarted the ...

Sun Application Server 8 and Log4j

1167 byte By cbt at 2007-11-26 9:37:05
In ...\sun\ApplicationServer\domains\domain1\lib\ext, you will find log4j.jar . This, being the extension directory will place log4j.jar high up in the classloader hierarchy.Suppose I have a 2 EARs to be deployed, each containing a WAR and a EJB JAR. All use log4j and naturally, each will have ...

Acknowledgement for Transaction id <x> exists in the store already

3228 byte By raggle at 2007-11-26 9:40:42
Hi,I'm running a single imq broker (3.5 SP1) on my server and am seeing intermittent problems when my consumer tries to read messages from one of the queues:[24/Aug/2006:07:31:56 BST] ERROR [B3062]: Acknowledgement ...

Silent Install HELP

277 byte By LizGlasser at 2007-11-26 9:41:22
I am trying to do a silent install of Sun Application Server 8.1 on Solaris 8. I am using the Q4 jes installer.I can install manually, but if I give a state file, the installer wuites without generating any error or creating any logs.PLEASE HELP!Liz

Unable to Deploy EJB3 App in SunONE App Server 9

6336 byte By klsateesh at 2007-11-26 9:41:55
Hi All, I have Developed a Sample EJB3.0 App and trying to Deploy it in SunONE App Server 9 and the Persiatnce Implementation i have opted is Hibernate( I am using NetBeans5.5 to Develop and Deploy the App) And when i tried Deploying the App i got the Error listed below.. ...

Configuring JDBC in AppServer 9

1227 byte By ccheshire at 2007-11-26 9:42:13
I have downloaded the entire AppServer 9 + Netbeans 5.5 Bundle (from netbeans.org) for MacOSX and I am trying to configure a connection pool for Oracle 8i.I am following the steps in the Administration Guide about setting up a JDBC connection pool for 9i/10g (since there is no mention of 8i) ...

xdb username and password while accessing servlets

317 byte By rsri175 at 2007-11-26 9:42:29
Hi all,I just installed application server 8.2. I wrote a simple login.html and a servlet program. The deployment went fine but when I access from browser and click sunbit in login page, it asks for a xdb username and password. I don't remember giving it during installation. What is ...

Newbie Question: Various easy questions hopefully..

918 byte By glynns at 2007-11-26 9:43:12
I admit, Im a newbie with the Sun Appserver.We're looking at migrating from Websphere to Sun.1- When I deploy the application into the Appserver (8.2) I get a whole bunch of files and directories that are not part of the application, e.g.a netcharts directory, an Acme directory a i18nresources ...

Domain Administration Server HA

1032 byte By jeremycrussell at 2007-11-26 9:43:45
Greetings, I'm in the process of setting up a Appserver cluster, with four nodes.Originally I planned to install domain administration server on one machine, then install nodeagents on all four machines.I was going to create a cluster and add the node agents.However, what I have run into is, ...

JCA 1.5: EndpointFactory is currently not available when activating MDB

6798 byte By jonren at 2007-11-26 9:46:36
Hi all?br>I have already developed a JCA 1.5 connector, implementing Message Inflow contract which will allow a MDB endpoint to asynchronously receive JMS messages from Oracle AQ EIS. Actually when I deploy the MDB endpoint in my application server instance (SJSAS 9), the method ...

Cannot delete administered object (version number propery

1997 byte By TiT at 2007-11-26 9:47:24
I have two administered objects that can't be deleted, and I have no clue where reference to them are kept:Here is an excerpt of my admin'ed objects listing:(...)Listing all administered objects in the object store specified ...

Installing Sun Application Server 8.1 on Win2k3 Fails

547 byte By crouching_kitten at 2007-11-26 9:47:34
Hi,I have tried several times, 8 or more, to install Sun Application Server 8.1 on Win2k3 Server Standard Edition sp1. However, the install places the relevant files onto the disc only to remove them.The archive I am using is java_es_05Q1_appserver-windows-x86.zip.I have jdk1.4.2_06 installed ...

EJB and JNDI problem

3634 byte By babysnakes at 2007-11-26 9:48:55
HiI'm trying to learn EJB, so I downloaded the AppServer 9, bought a book (Oreilly's Enterprise JavaBeans 3.0) and started to read. now I've got to the point where I have to run some EJB's and I'm stuck.I deployed the Bean with the following descriptor:<sun-ejb-jar> ...