Servlet configration on "Sun Java System Application Server Platform Editio
Hi Friends,
I'm using Sun Java System Application Server Platform Edition 9.0
my server is instatted on "C:\Sun\AppServer\" and rest is default istallation path
my web page is calling from "C:\Sun\AppServer\domains\domain1\docroot\" folder
I wrote a test servert and placed the complied class file in "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk\TestServlet.class" having following code
using the command
C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk>javac -cp C
:\Sun\AppServer\lib\j2ee.jar TestServlet.java
C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk>
{noformat}<code>package in.muk;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Date;
import javax.servlet.*;
import javax.servlet.http.*;
public class TestServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws IOException, ServletException {
res.setContentType("text/html");
PrintWriter out = res.getWriter();
out.println("<html><head><title>TestServlet</title>");
out.println("\t<style>body { font-family: 'Lucida Grande', " +
"'Lucida Sans Unicode';font-size: 13px; }</style>");
out.println("</head><body><p>Current Date/Time: " + new Date().toString() + "</p>");
out.println("</body></html>");
out.close();
</code>{noformat}
The content of my "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\web.xml" file is
{noformat}<code><?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<servlet>
<servlet-name>TestServlet</servlet-name>
<servlet-class>in.muk.TestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>TestServlet</servlet-name>
<url-pattern>/TestServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
</code>{noformat}
The content of "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\sun-web.xml"
is -----
{noformat}<code><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
<sun-web-app error-url="">
<class-loader delegate="true"/>
<jsp-config>
<property name="keepgenerated" value="true">
<description>Keep a copy of the generated servlet class' java code.</description>
</property>
</jsp-config>
</sun-web-app>
</code>{noformat}
The proble is I'm not able to call this servlet on web
with URL
http://localhost:8080/TestServlet
it is giving "HTTP Status 404 - "
Could you please help me in finding out where is the error
Thanks for the reply.
I am using Sun Java System Application Server Platform Edition 8.2 (build b06-fcs). Could be some problem in the application itself. Can you suggest what may be missing? As suggested in the bug description i used the wscompile -infix option as well.
Similar Messages
-
Servlet on "Sun Java System Application Server Platform Edition 9.0"
Hi Friends,
I'm using Sun Java System Application Server Platform Edition 9.0
my server is instatted on "C:\Sun\AppServer\" and rest is default istallation path
my web page is calling from "C:\Sun\AppServer\domains\domain1\docroot\" folder
I wrote a test servert and placed the complied
using the command
C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk>javac -cp C
:\Sun\AppServer\lib\j2ee.jar TestServlet.java
C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk>
and placed the class file in "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk\TestServlet.class" having following code
package in.muk;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Date;
import javax.servlet.*;
import javax.servlet.http.*;
public class TestServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws IOException, ServletException {
res.setContentType("text/html");
PrintWriter out = res.getWriter();
out.println("<html><head><title>TestServlet</title>");
out.println("\t<style>body { font-family: 'Lucida Grande', " +
"'Lucida Sans Unicode';font-size: 13px; }</style>");
out.println("</head><body><p>Current Date/Time: " + new Date().toString() + "</p>");
out.println("</body></html>");
out.close();
The content of my "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\web.xml" file is
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<servlet>
<servlet-name>TestServlet</servlet-name>
<servlet-class>in.muk.TestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>TestServlet</servlet-name>
<url-pattern>/TestServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>--------------------
The content of "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\sun-web.xml"
is
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
<sun-web-app error-url="">
<class-loader delegate="true"/>
<jsp-config>
<property name="keepgenerated" value="true">
<description>Keep a copy of the generated servlet class' java code.</description>
</property>
</jsp-config>
</sun-web-app>--------------
The proble is I'm not able to call this servlet on web
with URL
*http://localhost:8080/TestServlet
*it is giving "HTTP Status 404 - "
Could anybody please help me in finding out why I'm not able to access the Servlet.
Thank you with regards.
Edited by: mu_kumar on Mar 5, 2008 9:00 PMHello,
Did you download the window version?
Download it from
https://sdlc4e.sun.com/ECom/EComActionServlet;jsessionid=127ACE07200555497A21DDC654885146
And don't worry, it's the correct version. Also could you check on your PC,
Start\Programs\ Sun Microsystems\ Application Server PE 9.
Also which operative system are you using?
eve -
Get blank page in Sun Java System Application Server Platform Edition 8
I installed Sun Java� System Application Server Platform Edition 8 and got blank page in http://localhost:1100/ and http://localhost:1100/hello/.
The port 1100 is my default port of HTTP port.
My enviroment:
Win2000 professional
j2sdk1.4.2_05
Tomcat 4.1 (use port : 8080, and it works fine after installing Sun Java� System Application Server Platform Edition 8 )
Anybody can help me to solve this problem? I really want to learn J2EE by using this way.
This is my server.log when invoking the URL http://localhost:1100/ or http://localhost:1100/hello/ .
===============================================================================
|sun-appserver-pe8.0.0_01|org.apache.coyote.tomcat5.CoyoteAdapter|_ThreadID=12;|An exception or error occurred in the container during the request processing
java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getLocalPort()I
at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:138)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
at java.lang.Thread.run(Thread.java:534)The way i solved it was the following :
I removed all java related packages/applications/servers etc existing in my pc .
my meaning of remove is complete uninstallation of any java application .
then i installed back again j2sdk1.42_05 then i installed the sun application server .
everything was succesful since then .
If you have any java version installed in your pc , for example j2sdk1.4.2_05 and this
package supports previous servers or other java applications and then you install
sun application server , it doesn't work .
It seems the previous java apps . don't "release" some java resources which are
used or can be used by sun application server .
I hope this can be useful to you .
good luck .
FGOM . -
Can't deploy my app on Sun Java System Application Server Platform Edition
Hi,
I am trying to deploy me app on the Sun's app server but I get the following error:
I am using Sun Java System Application Server Platform Edition 8.2
Invalid Deployment Descriptors in archive jag-ejb.jar in deployment descriptor file META-INF/ejb-jar.xml
Line 29 Column 15 -- The content of element type "session" must match
"(description?,display-name?,small-icon?,large-icon?,ejb-name,home?,remote?,local-home?,local?,ejb-class,session-type,transaction-type,env-entry*,ejb-ref*,ejb-local-ref*,security-role-ref*,security-identity?,resource-ref*,resource-env-ref*)". "It deploys on Orion 2.02
The ejb.xml file is as follows:
<enterprise-beans>
<session>
<display-name>Facade stateless session bean</display-name>
<ejb-name>ejb/PetardsFacade</ejb-name>
<home>com.jag.petardscmsbeans.interfaces.PetardsFacadeHome</home>
<remote>com.jag.petardscmsbeans.interfaces.PetardsFacade</remote>
<local-home>com.jag.businesslogic.interfaces.FacadeLocalHome</local-home
><local>com.jag.businesslogic.interfaces.FacadeLocal</local>
<ejb-class>com.jag.petardscmsbeans.ejb.PetardsFacadeEJB</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<resource-ref>
<res-ref-name>jdbc/OracleDSRES</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<env-entry>
<env-entry-name>DSName</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>jdbc/OracleDSRES</env-entry-value>
</env-entry>
</session>
</enterprise-beans>also, in the error message what does ? and * signify?
ThanksThis is an element ordering issue. env-entry is before resource-ref in the schema so it must be declared in the same order.
--ken -
Sun Java System Application Server Platform Edition 9.0 (webfolder)
How do I update files(drag and drop) in the webfolder with out restarting the server.
Hello,
Did you download the window version?
Download it from
https://sdlc4e.sun.com/ECom/EComActionServlet;jsessionid=127ACE07200555497A21DDC654885146
And don't worry, it's the correct version. Also could you check on your PC,
Start\Programs\ Sun Microsystems\ Application Server PE 9.
Also which operative system are you using?
eve -
New to JEE5 not running Sun Java System Application Server Platform 9
Hi! I've downloaded the JEE5 in Windows XP, the installation was fine, I start the server following this
From the Start menu, Programs => Sun Microsystems => Application Server PE=> Start Default Server.
and this message appears: Domain domain1 is ready to receive client requests. Additional services are being started in the background.
but when I confirm that the server is running clicking here:
http://localhost:8080.
it's not running.
I didn't change the default settings in the installation, and I have the PATH variable set to C:\Sun\AppServer\bin.
But this one does work fine:
http://localhost:4848/asadmin/admingui/TopFrameset.
What could be happening?What could be happening is that port 8080 has been in use at the time you were installing Java EE SDK and installer selected an alternative HTTP port number for you - if you were not paying close attention to the content of the appropriate installer text box it is rather easy to miss it...
To check which port is being used, access admin console at
http://localhost:4848
and log in. Click "Application Server" on the left side menu and you'll see the list of port numbers used. First port listed under HTTP Port(s) is the one you should use to access your server. -
Sun Java System Application Server Platform Edition 9
I've done several searches and can't find any threads discussing connecting to the Application Server included with Sun's J2EE SDK.
JDeveloper (10.1.3.1.0.3984) has nice choices for creating a connection to various application servers:
OC4J
Oracle Application Server 10g
Weblogic
Tomcat
JBoss
But there seems to be no info on how to connect to Sun's SDK server nor Jasper (which I have running on one of my Linux servers).
Any ideas? Can I just "pretend" it is one of those other types of servers?JDeveloper doesn't have a built-in connection to the Sun server, but you can still deploy applications created in JDeveloper to that server.
The two options that you have are:
1. Use the sun server Ant tasks and the integrated Ant support in JDeveloper to create an ant build file that does the deployment for you - and run it from within JDeveloper.
2. Create the EAR/WAR file from JDeveloper and then pick it up from the Sun deployment tools and just deploy it to the server. -
Help for MDB, with Sun Java System Application Server Platform Edition 8.2
Hi all,
Iam having problem in working MDB. Have written & deployed the Bean sucessfully and when am trying to run the Client, to post a new message am getting exceptions
The Exception i got is
D:\krb\ejb\Message\MDB>appclient -client MDBClient.jar
MQRA:MC:Constr:Exception on cnxn creation-[C4060]: Login failed: user=admin, br
oker=itech-4:7676(1339)
com.sun.messaging.jms.JMSSecurityException: [C4060]: Login failed: user=admin,
broker=itech-4:7676(1339)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.authenticate(Protocol
Handler.java:824)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler
.java:749)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler
.java:679)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.hello(ConnectionImpl.j
ava:416)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(Connect
ionImpl.java:1979)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.ja
va:745)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.
java:315)
at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedC
onnectionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionI
mpl.java:32)
at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnection
Factory.java:65)
at com.sun.messaging.jms.ra.ManagedConnection.<init>(ManagedConnection.j
ava:131)
at com.sun.messaging.jms.ra.ManagedConnectionFactory.createManagedConnec
tion(ManagedConnectionFactory.java:148)
at com.sun.enterprise.resource.ConnectorAllocator.createResource(Connect
orAllocator.java:90)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedRes
ource(IASNonSharedResourcePool.java:437)
at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResou
rce(IASNonSharedResourcePool.java:355)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASN
onSharedResourcePool.java:250)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolM
anagerImpl.java:213)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerIm
pl.java:174)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnec
tion(ConnectionManagerImpl.java:286)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
n(ConnectionManagerImpl.java:190)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
n(ConnectionManagerImpl.java:121)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:118)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:89)
at MessageClient.main(MessageClient.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:23
7)
at com.sun.enterprise.appclient.Main.<init>(Main.java:430)
at com.sun.enterprise.appclient.Main.main(Main.java:99)
Jun 8, 2006 12:40:26 PM com.sun.enterprise.connectors.ConnectionManagerImpl inte
rnalGetConnection
WARNING: RAR5117 : Failed to obtain/create connection. Reason : MQRA:MC:Constr:E
xception on cnxn creation-[C4060]: Login failed: user=admin, broker=itech-4:767
6(1339)
com.sun.messaging.jms.JMSException: MQRA:CFA:allocation failure:createConnection
:Error in allocating a connection. Cause: MQRA:MC:Constr:Exception on cnxn creat
ion-[C4060]: Login failed: user=admin, broker=itech-4:7676(1339)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:122)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:89)
at MessageClient.main(MessageClient.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:23
7)
at com.sun.enterprise.appclient.Main.<init>(Main.java:430)
at com.sun.enterprise.appclient.Main.main(Main.java:99)
Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a
connection. Cause: MQRA:MC:Constr:Exception on cnxn creation-[C4060]: Login fai
led: user=admin, broker=itech-4:7676(1339)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnec
tion(ConnectionManagerImpl.java:301)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
n(ConnectionManagerImpl.java:190)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
n(ConnectionManagerImpl.java:121)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:118)
... 9 more
Caused by: com.sun.enterprise.resource.PoolingException: MQRA:MC:Constr:Exceptio
n on cnxn creation-[C4060]: Login failed: user=admin, broker=itech-4:7676(1339)
at com.sun.enterprise.resource.ConnectorAllocator.createResource(Connect
orAllocator.java:100)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedRes
ource(IASNonSharedResourcePool.java:437)
at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResou
rce(IASNonSharedResourcePool.java:355)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASN
onSharedResourcePool.java:250)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolM
anagerImpl.java:213)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerIm
pl.java:174)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnec
tion(ConnectionManagerImpl.java:286)
... 12 more
My MessageDrivenBean is:
import java.io.Serializable;
import java.rmi.RemoteException;
import javax.ejb.EJBException;
import javax.ejb.MessageDrivenBean;
import javax.ejb.MessageDrivenContext;
import javax.ejb.CreateException;
import javax.naming.*;
import javax.jms.*;
public class MyMessageDrivenBean implements MessageDrivenBean, MessageListener {
private MessageDrivenContext mdc = null;
private Context context;
public MyMessageDrivenBean() { }
public void setMessageDrivenContext(MessageDrivenContext mdc){
this.mdc = mdc;
public void ejbCreate() { }
public void onMessage(Message msg){
try{
if(msg instanceof TextMessage) {
TextMessage txtMsg = (TextMessage) msg;
System.out.println("The Received Message is: "+txtMsg.getText());
} else {
System.out.println("Incorrect Message Type");
} catch(JMSException e){
e.printStackTrace();
public void ejbRemove() { }
My Client is:
import javax.jms.*;
import javax.naming.*;
import java.util.*;
public class MessageClient {
public static void main(String arg []) {
InitialContext ctx = null;
ConnectionFactory conFact = null;
Connection con = null;
Session ses = null;
Destination dest = null;
MessageProducer msgPrd = null;
TextMessage msg = null;
try {
ctx = new InitialContext();
} catch(NamingException e) {
e.printStackTrace();
try {
conFact = (ConnectionFactory) ctx.lookup("java:comp/env/jms/BankConnectionFactory");
dest = (javax.jms.Queue) ctx.lookup("java:comp/env/jms/BankPhysicalDest");
} catch(NamingException e) {
e.printStackTrace();
try {
con = conFact.createConnection();
ses = con.createSession(false, Session.AUTO_ACKNOWLEDGE);
msgPrd = ses.createProducer(dest);
msg = ses.createTextMessage();
msg.setText("This is first Message");
msgPrd.send(msg);
msg.setText("This is second Message");
msgPrd.send(msg);
} catch(JMSException e){
e.printStackTrace();
} catch(Exception e){
e.printStackTrace();
} finally{
if(con != null){
try{
con.close();
} catch(JMSException e){
e.printStackTrace();
} catch(Exception e){
e.printStackTrace();
My JMS CONNECTION FACTORY RESOURCES are:
1. CONNECTION FACTORIES
a. JNDI NAME: jms/QueueConnFactory
b. TYPE: javax.jms.QueueConnectionFactory
2. PHYSICAL DESTINATION
a. NAME: PhysicalQueue
3. DESTINATION RESOURCES
a. JNDI: jms/MessageQueue
b. TYPE: javax.jms.Queue
c. ADDITIONAL PROPERTIES � NAME: PhysicalQueue
My Message-Driven Bean Settings:
i. Destination Type: javax.jms.Queue
ii. Target Destination: PhysicalQueue
iii. Connection Factory JNDI Name: jms/QueueConnFactory
My MDBClient Settings are
a. Resource Refs
i. Coded Name: jms/BankConnectionFactory
ii. Type: javax.jms.ConnectionFactory
iii. Authentication: Container
iv. JNDI Name: jms/QueueConnFactory
v. User Name: admin
vi. Password: password
b. Msg Dest Refs
i. Coded Name: jms/BankPhysicalDest
ii. Destination Type: javax.jms.Queue
iii. Usage: ConsumesProduces
iv. Target Destination: PhysicalQueue
c. Message Destinations
i. Destination Name: PhysicalQueue
ii. JNDI Name: jms/MessageQueue
My MDBAppl settings
a. JNDI Name: jms/MessageQueue
b. References: jms/QueueConnFactory
My MDBJAR Settings
a. Message Destinations
i. Destination Name: PhysicalQueue
ii. JNDI Name: jms/MessageQueue
My MyMessageDrivenBean File Settings
a. Transactions: Container-Managed
b. Transaction Attribute: Required
and am RUNNING THE APPLICATION using
appclient -client MDBClient.jar
Pls help me to solve this problem
rgds
Ravi BharathiDefault username/password is admin/admin.
Since the auth-type is container do not provide any username/password in the client descriptor and try. -
Wild bug on Sun Java System Application Server 9.1 (build b41d-beta2)
i'am facing a strange problem when i try to deploy any application that utilizes ajax4jsf 1.1.1 also it works fine when i deployed the webapplication on tomcat 6 and on Sun Java System Application Server Platform Edition 9.0_01 (build b02-p01)
please help
the exception was
[#|2007-07-05T13:21:48.333+0400|WARNING|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=65;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=47a66b91-2327-48fb-ad66-52a2ded2a7d5;|executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@1258595) threw exception
javax.faces.FacesException: javax.el.ELException: java.lang.NullPointerException
at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1550)
at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:440)
at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:393)
at com.sun.faces.renderkit.html_basic.TextRenderer.getEndTextToRender(TextRenderer.java:119)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:204)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:260)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:345)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
Caused by: javax.el.ELException: java.lang.NullPointerException
at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
at javax.faces.component.html.HtmlInputText.getOnchange(HtmlInputText.java:337)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1542)
... 51 more
Caused by: java.lang.NullPointerException
at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:368)
at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:347)
at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:156)
at org.ajax4jsf.ajax.UIAjaxSupport.getEventString(UIAjaxSupport.java:115)
at org.ajax4jsf.framework.ajax.EventValueBinding.getValue(EventValueBinding.java:92)
at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:73)
... 57 more
|#]
[#|2007-07-05T13:21:48.333+0400|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=65;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=47a66b91-2327-48fb-ad66-52a2ded2a7d5;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
javax.el.ELException: java.lang.NullPointerException
at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
at javax.faces.component.html.HtmlInputText.getOnchange(HtmlInputText.java:337)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1542)
at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:440)
at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:393)
at com.sun.faces.renderkit.html_basic.TextRenderer.getEndTextToRender(TextRenderer.java:119)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:204)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:260)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:345)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
Caused by: java.lang.NullPointerException
at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:368)
at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:347)
at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:156)
at org.ajax4jsf.ajax.UIAjaxSupport.getEventString(UIAjaxSupport.java:115)
at org.ajax4jsf.framework.ajax.EventValueBinding.getValue(EventValueBinding.java:92)
at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:73)
... 57 more
|#]Hi,
Did you ever figure out what the problem was? I am having the same issue.
Kind Regards,
Andre -
How deploy the EJB in security on the Sun Java System Application Server 9?
I hava deploied a simple Hello EJB Object on PE 9(Sun Java System Application Server Platform Edition 9). I can use this EJB object without user name an password On any client. See the following code section:
public static void main(String[] args) {
try{
Properties props = System.getProperties();
props.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.enterprise.naming.SerialInitContextFactory");
props.put(Context.PROVIDER_URL,"iiop://localhost:3700");
Context ctx = new InitialContext(props);
Hello h = (Hello) ctx.lookup("ejb/test/Hello");
System.out.println(h.sayHello());
}catch(Exception e){
e.printStackTrace();
Please tell me how deploy the EJB in security on the Sun Java System Application Server 9? So that, The client must set the user name and password when lookup the ejb object. Like the following:
props.put(Context.SECURITY_PRINCIPAL,"admin")
props.put(Context.SECURITY_CREDENTIALS,"1234");Guys,
I too have the same issue. If anyone has an answer, please let me know.
Is this GlassFish problem? or Prgram issue?
Find below the source code
package TransactionSecurity.bean;
import javax.annotation.Resource;
import javax.annotation.security.DeclareRoles;
import javax.annotation.security.PermitAll;
import javax.annotation.security.RolesAllowed;
import javax.ejb.Remote;
import javax.ejb.SessionContext;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
@Stateless
@Remote(TSCalculator.class)
@DeclareRoles({"student", "teacher"})
public class TSCalculatorBean implements TSCalculator {
private @Resource SessionContext ctx;
@PermitAll
// @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
public int add(int x, int y) {
System.out.println("CalculatorBean.add Caller Principal:" + ctx.getCallerPrincipal().getName());
return x + y;
@RolesAllowed( { "student" })
public int subtract(int x, int y) {
System.out.println("CalculatorBean.subtract Caller Principal:" + ctx.getCallerPrincipal().getName());
System.out.println("CalculatorBean.subtract isCallerInRole:" + ctx.isCallerInRole("student"));
return x - y;
@RolesAllowed( { "teacher" })
public int divide(int x, int y) {
System.out.println("CalculatorBean.divide Caller Principal:" + ctx.getCallerPrincipal().getName());
System.out.println("CalculatorBean.divide isCallerInRole:" + ctx.isCallerInRole("teacher"));
return x / y;
package TransactionSecurity.bean;
import javax.ejb.Remote;
@Remote
public interface TSCalculator {
public int add(int x, int y);
public int subtract(int x, int y);
public int divide(int x, int y);
package TransactionSecurity.client;
import java.util.Properties;
import javax.ejb.EJBAccessException;
import javax.naming.Context;
import javax.naming.InitialContext;
import TransactionSecurity.bean.TSCalculator;
public class TSCalculatorClient {
public static void main(String[] args) throws Exception {
// Establish the proxy with an incorrect security identity
Properties env = new Properties();
env.setProperty(Context.SECURITY_PRINCIPAL, "kabir");
env.setProperty(Context.SECURITY_CREDENTIALS, "validpassword");
env.setProperty(Context.INITIAL_CONTEXT_FACTORY,"com.sun.appserv.naming.S1ASCtxFactory");
env.setProperty(Context.PROVIDER_URL,"iiop://127.0.0.1:3700");
env.setProperty("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitContextFactory");
env.setProperty("java.naming.factory.url.pkgs","com.sun.enterprise.naming");
env.setProperty("java.naming.factory.state","com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
env.setProperty("org.omg.CORBA.ORBInitialHost", "127.0.0.1");
env.setProperty("org.omg.CORBA.ORBInitialPort", "3700");
InitialContext ctx = new InitialContext(env);
TSCalculator calculator = null;
try {
calculator = (TSCalculator) ctx.lookup(TSCalculator.class.getName());
} catch (Exception e) {
System.out.println ("Error in Lookup");
e.printStackTrace();
System.exit(1);
System.out.println("Kabir is a student.");
System.out.println("Kabir types in the wrong password");
try {
System.out.println("1 + 1 = " + calculator.add(1, 1));
} catch (EJBAccessException ex) {
System.out.println("Saw expected SecurityException: "
+ ex.getMessage());
System.out.println("Kabir types in correct password.");
System.out.println("Kabir does unchecked addition.");
// Re-establish the proxy with the correct security identity
env.setProperty(Context.SECURITY_CREDENTIALS, "validpassword");
ctx = new InitialContext(env);
calculator = (TSCalculator) ctx.lookup(TSCalculator.class.getName());
System.out.println("1 + 1 = " + calculator.add(1, 1));
System.out.println("Kabir is not a teacher so he cannot do division");
try {
calculator.divide(16, 4);
} catch (javax.ejb.EJBAccessException ex) {
System.out.println(ex.getMessage());
System.out.println("Students are allowed to do subtraction");
System.out.println("1 - 1 = " + calculator.subtract(1, 1));
}The user kabir is created in the server and this user belongs to the group student.
Also, I have enabled the "Default Principal To Role Mapping"
BTW, I'm able to run other EJB3 examples [that does'nt involve any
security features] without any problems.
Below is the ERROR
Error in Lookupjavax.naming.NamingException: ejb ref resolution error for remote business interfaceTransactionSecurity.bean.TSCalculator [Root exception is java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.handle_null_service_context(SecServerRequestInterceptor.java:407)
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:429)
at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627)
at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No]
at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:425)
at com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:74)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:403)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at TransactionSecurity.client.TSCalculatorClient.main(TSCalculatorClient.java:35)
Caused by: java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.handle_null_service_context(SecServerRequestInterceptor.java:407)
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:429)
at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627)
at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:277)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
at com.sun.ejb.codegen._GenericEJBHome_Generated_DynamicStub.create(com/sun/ejb/codegen/_GenericEJBHome_Generated_DynamicStub.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:372)
... 5 more
Caused by: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.handle_null_service_context(SecServerRequestInterceptor.java:407)
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:429)
at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:627)
at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:530)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:406)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:224)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:913)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:131)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:685)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:472)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:363)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:219)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:192)
... 13 moreAny help is appreciated.
Regards!
Nithi.
Edited by: EJB3 on Aug 17, 2008 8:17 PM -
Cannot install Sun Java System Application Server
When trying to install the J2EE platform - specifically the "Sun Java System Application Server Platform Edition 8 2005Q1" - on my Windows XP SP2 Pro computer, the installation process terminates while checking disk space. The same thing happens when I try to install earlier versions. I have more than 20 GByte free on disk and JDK1.5.0_1 previously installed.
What did I do wrong?Try to run the setup with -javahome option, followed by the JDK 5 home directory. If the installer has the option to enable the verbose mode, enable it.
Claudio -
Regarding Sun Java System Application Server Issue with JVM
Regarding Sun Java System Application Server Issue with JVM
Hi
I have installed SJSAS9.1 on solaris system. I m trying to deploy war file which i compiled in windows enviorment by jdk1.5.0_05. Every time i got the following error :
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
PWC6199: Generated servlet error:
[javac] javac: invalid target release: 1.5
[javac] Usage: javac
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath Specify where to find user class files
[javac] -sourcepath Specify where to find input source files
[javac] -bootclasspath Override location of bootstrap class files
[javac] -extdirs Override location of installed extensions
[javac] -d Specify where to place generated class files
[javac] -encoding Specify character encoding used by source files
[javac] -source Provide source compatibility with specified release
[javac] -target Generate class files for specific VM version
[javac] -help Print a synopsis of standard options
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
I have cheked jvm version on both system the only difference is :
Solaris points to jdk 1.5.0_09
Windows point to jdk1.5.0_05
Even i tried to run blank jsp also but again i got the same error.
Can any help me to sort out the problem or give me any idea so i can do something by my own.
Thanks in Advance
GaganDo you have ANT installed and available?
Thanks,
Kedar -
Slow start-up for JSF projects on Sun Java System Application Server 8.2?
App. Server: Sun Java System Application Server 8.2
I really don't understand why a JSF project starts-up so slow on Sun Java System Application Server 8.2.
I've gone through the "Overview of Sun Java System Application Server Performance" guide and tuned my server.
It's not memory or processor, I am developing on a SunOS 5.8 Generic_117350-27 sun4u sparc SUNW,UltraAX-MP.
The JSF project contains one index.jsp and one login.faces - that's it. But it takes up towards 15 seconds to load the page, if I type:
http://<domain>:8080/login/
I would believe that the application should be a lot faster.
What can I do to solve this?
Thanks,
--ToddYes I am.
Right now I have:
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup> -1 </load-on-startup>
</servlet>
<servlet>
<servlet-name>Persistent Faces Servlet</servlet-name>
<servlet-class>com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet</servlet-class>
<load-on-startup> 1 </load-on-startup>
</servlet>
<servlet>
<servlet-name>Blocking Servlet</servlet-name>
<servlet-class>com.icesoft.faces.webapp.xmlhttp.BlockingServlet</servlet-class>
<load-on-startup> 1 </load-on-startup>
</servlet>
<!-- Preload -->
<servlet>
<servlet-name>Transaction Browser</servlet-name>
<jsp-file>/transactionbrowser.jspx</jsp-file>
<load-on-startup> 1 </load-on-startup>
</servlet>It still doesn't work, so you may be right.
Thanks,
--Todd -
Problem in starting Sun Java System Application Server
Hi,
Recently I installed SJSAS 8.1 on my machine (Windoes 2000), before that I was working on SJSAS8.0 and it was working file. But with 8.1 when I try to "Start Default Server". I get the following error on the console:
Starting Domain domain1, please wait.
Log redirected to D:\netbeans-4.1beta\SunAppServer8.1\domains\domain1\logs\server.log.
Timeout waiting for domain domain1 to go to starting state.
CLI156 Could not start the domain domain1.
Press any key to continue . . .
The contents of server.log are:
[#|2005-03-29T15:07:14.242+0530|INFO|sun-appserver-pe8.1|javax.enterprise.tools.launcher|_ThreadID=10;|
D:/Java/jdk1.5\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/logs/server.log
-Djava.endorsed.dirs=D:/netbeans-4.1beta/SunAppServer8.1/lib/endorsed
-Djava.security.policy=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/server.policy
-Djava.security.auth.login.config=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=D:/Java/jdk1.5/jre/lib/ext;D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/lib/ext
-Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
-Dcom.sun.aas.configName=server-config
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
-Dcom.sun.aas.domainName=domain1
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dproduct.name=Sun-Java-System/Application-Server
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
-Dcom.sun.aas.configRoot=D:/netbeans-4.1beta/SunAppServer8.1/config
-Djava.library.path=D:\Java\jdk1.5\jre\bin\client;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\Java\jdk1.5\bin;.;D:\WINNT\system32;D:\WINNT;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\WINNT\system32;D:\WINNT;D:\WINNT\System32\Wbem;D:\Java\jdk1.5\bin;D:\netbeans-4.1beta\SunAppServer8.1\bin;
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
D:/Java/jdk1.5/lib/tools.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib/appserv-rt.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\activation.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\admin-cli.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-admin.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-cmp.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-ext.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-jstl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-rt1.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-upgrade.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\commons-launcher.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\commons-logging.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\dom.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\j2ee-svc.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\j2ee.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jax-qname.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxr-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxr-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxrpc-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxrpc-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jmxremote.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jmxremote_optional.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jsf-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jsf-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\mail.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\relaxngDatatype.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\rmissl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\saaj-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\saaj-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\xalan.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\xercesImpl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\xsdlib.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib/install/applications/jmsra/imqjmsra.jar;D:/netbeans-4.1beta/SunAppServer8.1/imq/lib/jaxm-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/imq/lib/fscontext.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib/ant/lib/ant.jar;D:/netbeans-4.1beta/SunAppServer8.1/pointbase/lib/pbclient.jar;D:/netbeans-4.1beta/SunAppServer8.1/pointbase/lib/pbembedded.jar
com.sun.enterprise.server.PEMain
start
display
native|#]
*** EXITING ERROR:
Can't create Java VM
I guess I have searched every possible discussion/bug database/forums on this topic but unable to find a solution, please help.
Regards
NitinReply please.
Thanks in advance.
amyt -
Sun Java System Application Server 8.0
after succesfull installing of application server when i give URL in browser http://localhost:8080 its shows me blank screen in browser
but when i check in log i get this error message..
while runnig this server rest all server are stopped and i have assign port 8080 for this server only..
sun-appserver-pe8.0.0_01|org.apache.coyote.tomcat5.CoyoteAdapter|_ThreadID=11;|An exception or error occurred in the container during the request processing
java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getLocalPort()I
at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:138)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
at java.lang.Thread.run(Thread.java:534)Hi,
On a similar note, I am able to install Sun Java System Application Server 8 but I am getting following error while applying asadmin start-domain --verbose domain1 to start the default domain. I am pasting the relevant section of log file below. Can someone please help me correct the issue? Thanks-in-advance!
[#|2009-09-16T23:44:36.203-0700|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|Service [email protected] cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://Ashesh.gateway.2wire.net:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: Ashesh.gateway.2wire.net; nested exception is:
java.net.ConnectException: Connection refused: no further information]|#]
[#|2009-09-16T23:44:36.203-0700|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://Ashesh.gateway.2wire.net:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: Ashesh.gateway.2wire.net; nested exception is:
java.net.ConnectException: Connection refused: no further information]
at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:104)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: java.io.IOException: Cannot bind to URL [rmi://Ashesh.gateway.2wire.net:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: Ashesh.gateway.2wire.net; nested exception is:
java.net.ConnectException: Connection refused: no further information]
at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
at com.sun.enterprise.admin.jmx.remote.server.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:177)
at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:95)
... 3 more
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: Ashesh.gateway.2wire.net; nested exception is:
java.net.ConnectException: Connection refused: no further information]
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:122)
at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
at javax.naming.InitialContext.bind(InitialContext.java:359)
at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:635)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)
... 5 more
Maybe you are looking for
-
in the new Pages 5.0, what is the page break shortcut key (it used to be the Fn + enter). I cannot find the (new) key as indicated on the drop down menu. Please help.
-
Open a url and view the files with it's timestamp
Hi guys, I need to create a flow service in SAP BC to connect to a server by it's url and display it's files with it's timestamps. I have never done this b4, and usinf SAP BC makes it harder for me.. Mostly I need to know how to access the server and
-
Bluestacks displays an error with Graphics card while installing
My laptop is a DV6 6121tx with product number QB367PA#ACJ. While installing bluestacks, it displayed an error stating not able to recognise the graphics card in the system. Please suggest a safe update for the ame if available. HP support assistant d
-
Remome "Manual value entry" possibility in query filter
Hi everybody, i'm currently using Bex ver 7.0 and i have a problem. I need to find a way to dissable the possibility to enter any value manually in a query's filter. For example, when i run a query and i see the filter, let's say "Coste Center" the f
-
Service entry made in TC-ML81N
Hi There is a document entered to a G/L-85040(LIABILITY FOR PRIMARY FREIGHT) as a credit entry.While verifying the document it is found that it is a service entry made for AMC in TC-ML81N.More over it is a system entry.Then i verified the TC-OBYC &