NoDomainToStart with Sun One Server 7
I am getting the error NoDomainToStart, when I start
Sun One Server 7. What is the solution. Pls. respond soon.
The new one is supposed to be backward comptible. In any case, I've run the migration tool and redeployed, but same issues exist.
Similar Messages
-
Jdeveloper 9i with Sun ONE (iPlanet) Web Server 6.0
Hi,
Has any one working Jdeveloper 9i with Sun ONE (iPlanet) Web Server 6.0 ?
When i add new application server it gives only Oracle App Server and Web Logic.
Thanks
RameshCurrently JDeveloper provides Application server connections to Oracle9iAS and WebLogic, which can be used to deploy J2EE Modules.
JDeveloper allows to create assemble generic J2EE archives from projects which can used to deploy to other application servers.
Check out How-To documents on this topic
http://otn.oracle.com/products/jdev/howtos/content.html
raghu
JDev Team -
Sun one server 6.0 doesn't work well with explorer
We've sun one server 6.0 sp4 running in a sparc server as SSL server and too as common server on port 80. The most our clients , 95%, are explorer browser users.
The server has known bugs with SSL3 , interoperatibility with MSIE problem 532427. The solutions suggested in the server documentation don't work. We tryed the solutions suggested many times and in few time we got complaints from clients, people get "this page can't be displayed". I had to set the server to work with SSL2 only , althought security's reports tell that this protocol is not safe.
The second bug is concern the latencies loading pages with explorer. I apply the solution suggested, KeepAliveQueryMeanTime 1, it doesn't work well too. We don't feel the latencies on new machines or light browsers as avant , but we still feel these latencies with old machines or if the users uses modem. A lot of people still see very strong latencies.
I feel the server wasn't tested enough with explorer browser , it has so many compatibility problems with this browser.I think for the most webmasters the perfect compatibility with explorer is very important.
We payed for this server and it is worst than apache ,apache group fixed the SSL problem long time ago. Only one thing we need doesn't work well in apache then we contenue to use sun one server. But this diference is not enough to justify the use of this server if sun don't fix these problems. I'm talking about problems they exist more than 1 year, they were when i installed the server then i contenue to work with iplanet 4.1 and SSL2. I read the new version server characteristics, version 6.1 , i didn't find anything telling that these problems were fixed.
Yair Lapin
Hebrew University WebmasterYair -
Unfortunately this is a little vague. Can you tell us specifically what problem(s) you're having (unfortunately your current message does not go into adequate detail for us to understand the problems you see, or to make recommendations about how to remedy them).
Thanks
Joe -
Integration of Sun One Web Server 6.0 with Sun One App Server 7.0
Is it possible to integrate Sun One Web Server 6.0 with the Sun One App Server 7.0??
Sun One App Server 7.0 comes with the in-built HTTP listener. But we want to know if there is a way by which we can use the Sun One Web Server 6.0 with the App Server 7.0 and not the in-bulit HTTP listener?As suggested by you, I have used Sun ONE Application Server 7's plugin to connect the Sun ONE Web Server 6.0 with Sun ONE Application Server 7 as per the information given in Sun ONE Application Server 7 Administrator's Guide.
I have added the plugin package to the webserver and added the following into the magnus.conf:
Init fn="load-modules" shlib="C:/iPlanet/Servers/plugins/passthrough/passthrough.dll" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
Init fn="init-passthrough"
and to the obj.conf
NameTrans fn="assign-name" from="(/A2P2Test|/A2P2Test/*)" name="passthrough"
<Object name="passthrough">
ObjectType fn="force-type" type="magnus-internal/passthrough"
Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://<application server http listener>"
Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
</Object>
The webserver starts up without any errors but never forwards any requests what might I be doing wrong? -
Netmeeting Integration with Sun One Portal Server 6.2
Hi,
we are trying to integrate MS Netmeeting with Sun one portal server 6.2,using netlet ,has anybody done similar things earlier .then plz help me,
or any other solution to call netmeeting from portal.Suggest trying other forums, as we're specialized into Messaging Server, not portal nor Netmeeting
-
Netmeting with Sun one Portal server 6.2
Hi,
we are trying to integrate MS Netmeeting with Sun one portal server 6.2,using netlet ,has anybody done similar things earlier .then plz help me,
or any other solution to call netmeeting from portal.Suggest trying other forums, as we're specialized into Messaging Server, not portal nor Netmeeting
-
Getting HTTP Status 500 error with sun one application server...
Hi,
I am trying to develop a sample application and try to run with sun one application server. I followed the tutorial. My application client is working fine. But my web client is producing the following error. I think we don't need to install Tomcat seperately when we have the application server or do I have to... any suggestions...
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
If using an alternate Java compiler, please check its installation and access path.
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:132)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:356)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:557)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
Sun-Java-System/Application-Server-PE-8.0You do not need to install Tomcat. SJSAS contains a web container. The error you are seeing could be caused by a few reasons. There are many previous threads on this issue, perhaps you could search the forum. I used the following search term, "Unable to compile class for JSP" ,and got many hits.
http://onesearch.sun.com/search/developers/index.jsp?col=devforums&qp_name=J2EE+Software+Development+Kit+%28J2EE+SDK%29&qp=forum%3A136&qt=Unable+to+compile+class+for+JSP -
Error flushing the output stream in Sun One server
Hi All,
I was running my servlet code in iPlanet 6.0 version and it was working fine. I upgraded my web server to new Sun One server (Oracle-iPlanet-Web-Server-7.0.9). With the new web server almost 90% of my application works fine, but there is a features in my application to download an Excel sheet by clicking a button. This feature is failing in new Sun One web server.
Below are my piece of code and the error log I m getting. Can anyone tell me how I can fix this error, I mean is there any web server specific change or configuration parameter need to be set.
Please ask for any information regarding my server configuration settings if needed for finding a solution for this
Code:
byte abyte0[] = new byte[1024];
BufferedInputStream bufferedinputstream=null;
BufferedOutputStream bufferedoutputstream=null;
java.io.InputStream inputstream = httpurlconnection.getInputStream();
bufferedinputstream = new BufferedInputStream(inputstream);
bufferedoutputstream = new BufferedOutputStream(httpservletresponse.getOutputStream());
int j;
long byteCount=0;
while((j = bufferedinputstream.read(abyte0, 0, 1024)) != -1)
byteCount=byteCount+j;
if(logger != null && logger.traceOn())
logger.log("total"+byteCount);
logger.log("Read bytes:"+j);
bufferedoutputstream.write(abyte0, 0, j);
if(logger != null && logger.traceOn())
logger.log("Wrote bytes:"+j);
bufferedoutputstream.flush(); // <<<<<< ERROR POINT >>>>>>
Error Log :
ClientAbortException: java.io.IOException: WEB8004: Error flushing the output stream
at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:343)
at org.apache.coyote.tomcat5.OutputBuffer.flush(OutputBuffer.java:313)
at org.apache.coyote.tomcat5.CoyoteOutputStream.flush(CoyoteOutputStream.java:147)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
at com.reuters.bdec.as.ASRequestHandler.processResponse(ASRequestHandler.java:285)
at com.reuters.bdec.as.ASRequestHandler.initiateGetRequest(ASRequestHandler.java:89)
at com.reuters.bdec.as.ASRequestHandler.proceedToDestination(ASRequestHandler.java:220)
at com.reuters.bdec.as.ASExtension.authorisationCheck(ASExtension.java:84)
at com.reuters.bdec.as.ASExtension.doGet(ASExtension.java:114)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:794)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:915)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
Caused by: java.io.IOException: WEB8004: Error flushing the output stream
at com.sun.webserver.connector.nsapi.NSAPIProcessor.action(NSAPIProcessor.java:243)
at org.apache.coyote.Response.action(Response.java:197)
at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:339)
... 20 moreDon't flush it yourself. The servlet container will automatically flush for you once its send buffer is full. You can change the size of the send buffer though.
-
Which clients are using my Sun One server for authentication?
We use Sun One ver. 5.2 .
Our LDAP clients use it for authentication.
How can I list which clients recently used the Sun One server to authenticate?
The reason I need that is because I want to upgrade the Sun One server and I want to notify the clients that I'm about to do it.
Thanks.https://www.redhat.com/archives/fedora-directory-users/2005-September/msg00010.html
Useful script to extract LDAP based user posixGroup memberships information
===
Assuming you are using posixGroup objectclass and memberUid attribute to
store your membership information, you may find my shell script useful
and handy.
It works on Solaris LDAP Client with "ldapaddent" and "ldaplist"
commands, and works against FDS, SUN DS or OpenLDAP.
===
Gary -
Debug RMI - Service with Sun One Studio
Hi, I'm trying to debug an rmi - service with sun one studio 4u1 (win nt 4.0). To do so I start the rmid daemon via
rmid -J-Xdebug -J-Xnoagent -J-Djava.compiler=NONE -J-Xrunjdwp:transport=dt_shmem,server=y,address=dime,suspend=n -J-Djava.security.policy=%POLICY% -log %RUNDIR% >%RUNDIR%\server.log
Then I register the service to the daemon and attach the debugger in the studio to the address "dime". This seems to work, but the service does not stop at breakpoints set in the debugger.
Can someone help?I set the breakpoints at false line numbers (method heads). Now It works fine (breakpoints, watches, ...). The only thing is, that the current line is not visible in the source (although the line number is displayed correctly).
-
FedEx Sun One server does not allow POST
Hello,
I am attempting to communicate with FedEx's Direct XML Track. They use a Sun One Server v. 6.1 w/ SSL. When I do a POST with my XML document, I get back a 504, Method Not Allowed. Have communicated with FedEx technical support to no avail. Have downloaded server 6.1 and installed, trying to reverse-problem solve. Cannot see anywhere in the server where POSTs might be set to prohibited. The FedEx documentation specifically says to use a POST, which of course makes sense. Has anyone successfully used FedEx XML Direct, and/or could supply me with a hint as to why this might be happening? Also, am URL-encoding the reuest. Here's the code:
public class FedexHTTPS {
static final int HTTPS_PORT = 443;
public static String enc = "encoding='UTF-8'";
public static String subRequest = "<?xml version = '1.0' encoding = 'UTF-8'?><RequestHeader><AccountNumber>xxxxxxxxx</AccountNumber></RequestHeader> <Contact><PersonName>name </PersonName><CompanyName>Ubercom</CompanyName><Department>ActiveIdentity</Department><PhoneNumber>xxxx</PhoneNumber><E-MailAddress>[email protected]</E-MailAddress></Contact><Address><Line1>12 main st</Line1><Line2/><City>Leesburg</City><StateOrProvinceCode>VA</StateOrProvinceCode><PostalCode>20111</PostalCode><CountryCode>US</CountryCode></Address></FDXSubscriptionRequest>>";
public static String address = "gatewaybeta.fedex.com";
public static void main(String argv[]) throws Exception {
String encData=null;
try {
encData = URLEncoder.encode(subRequest,"UTF-8");
} catch (Exception ex){
System.out.println("Exception: " + ex.getMessage());
//System.out.println(encData);
int length = encData.length();
// Get a Socket factory
SocketFactory factory = SSLSocketFactory.getDefault();
// Get Socket from factory
Socket socket = factory.createSocket(address, HTTPS_PORT);
/*BufferedWriter out = new BufferedWriter(new
OutputStreamWriter(socket.getOutputStream())); */
BufferedReader in = new BufferedReader(
new InputStreamReader(socket.getInputStream()));
OutputStream out = socket.getOutputStream();
String xmlEnc = "application/x-www-form-urlencoded";
String msg = "GET / HTTP/1.0\r\nContent-Length: " + length
+ "\r\nContent-Type: image/gif"
+ "\r\nReferer: www.EDS.com"
+ "\r\nHost: SSLserver.fedex.com"
+ "\r\nAccept-Encoding: image/jpeg"
+ "\r\nAccept: application/x-www-form-urlencoded, image/gif,image/jpeg,image pjpeg, text/plain,text/html/,*/*"
+ "\r\n\r\n" ;
out.write(msg.getBytes());
out.flush();
String line;
StringBuffer sb = new StringBuffer();
while((line = in.readLine()) != null) {
sb.append(line);
out.close();
in.close();
System.out.println(sb.toString());
}I cleaned up the XML (thanks) and re-did using jakarta - still get the 504 Not Allowed....
public class FedexPost {
public static String subRequest = "<?xml version="1.0" encoding="UTF-8"?><FDXSubscriptionRequest> <RequestHeader> <AccountNumber>1111111111</AccountNumber> </RequestHeader> <Contact> <PersonName>name</PersonName> <CompanyName>EDS</CompanyName> <Department>ActiveIdentity</Department> <PhoneNumber>7037773333</PhoneNumber> <E-MailAddress>[email protected]</E-MailAddress> </Contact> <Address> <Line1>10 Main St</Line1> <Line2/> <City>Anytown</City> <StateOrProvinceCode>VA</StateOrProvinceCode> <PostalCode>20175</PostalCode> <CountryCode>US</CountryCode></Address></FDXSubscriptionRequest>";
public FedexPost() {
* @param args the command line arguments
public static void main(String[] args) {
String encData=null;
try {
encData = URLEncoder.encode(subRequest,"UTF-8");
} catch (Exception ex){
System.out.println("Exception: " + ex.getMessage());
// TODO code application logic here
HttpClient httpclient = new HttpClient();
PostMethod httpsPost = new PostMethod("https://gatewaybeta.fedex.com/");
httpsPost.setRequestHeader("Connection", "close");
try {
httpsPost.setRequestEntity(new StringRequestEntity(encData, "application/x-www-form-urlencoded", "UTF-8"));
httpclient.executeMethod(httpsPost);
System.out.print(httpsPost.getStatusLine());
System.out.println(httpsPost.getResponseBodyAsString());
catch (IOException ex) {
System.out.println(ex.getMessage());
finally {
httpsPost.releaseConnection();
-
JMS problem with Sun Application Server 8.2
Hi!
I've just started trying JMS and found a problem.
I set a connection factory called "QueueConnectionFactory" in the Sun Application Server Admin Consol.
After this I test this code:
import javax.jms.*;
import javax.naming.*;
public class Sun_JNDI
public static void main(String args[]) throws Exception
Context jndiContext = null;
System.setProperty("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitContextFactory" );
System.setProperty("java.naming.factory.url.pkgs","=com.sun.enterprise.naming");
System.setProperty("java.naming.provider.url","localhost:1024");
jndiContext = new InitialContext();
Object O = jndiContext.lookup("QueueConnectionFactory");
System.out.println(jndiContext);
in result I got this long Exception message:
2006.02.12. 10:52:59 com.sun.corba.ee.spi.logging.LogWrapperBase doLog
INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/1356"
2006.02.12. 10:53:00 com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
SEVERE: RAR6001 : Class Not found : com.sun.messaging.jms.ra.ResourceAdapter
2006.02.12. 10:53:00 com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
SEVERE:
com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at Sun_JNDI.main(Sun_JNDI.java:40)
Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
... 7 more
2006.02.12. 10:53:00 com.sun.enterprise.naming.SerialContext lookup
SEVERE: NAM0004: Exception during name lookup : {0}
com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at Sun_JNDI.main(Sun_JNDI.java:40)
Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
... 7 more
Exception in thread "main" javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR]
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:317)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at Sun_JNDI.main(Sun_JNDI.java:40)
Caused by: com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
... 2 more
Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
... 7 more
So I tested this code under Netbeans5 and I don't where to find jar file contains the class: com.sun.messaging.jms.ra.ResourceAdapter
Other time I tryied to lookup this URL: "java:comp/env/jms/QueueConnectionFactory"
The result was: javax.naming.NameNotFoundException
I know it is a small code example but if I'm not able to solve this problem I can't go on with JMS.
I would be glad by any help.
Regards:
SandorHello
In my code it looks like that:
1: System.setProperty("com.sun.jndi.ldap.LdapCtxFactory", "iiop://localhost:3700");
2: Context ctx = new InitialContext();
3: TopicConnectionFactory factory = (TopicConnectionFactory)ctx.lookup("jms/DailyDestinationFactory");
4: TopicConnection connection = factory.createTopicConnection();
5: TopicSession session = connection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
6: Topic topic = (Topic)ctx.lookup("jms/DailyBean");
7: TopicPublisher pub = session.createPublisher(topic);
8: TextMessage msg = session.createTextMessage();
9: msg.setText("NewMessage");
10: pub.send(msg);
and it work with Sun App Server 8.2. -
Using JMF API with Sun One Studio v4 update 1 (community ed.)
Having great difficulty trying to utilise the JMF API I've just downloaded with Sun One Studio v4, update 1 (community edition).
After installing the API, I tried copying the the .jar files under the lib folder of JMF to the lib folder of sun one studio.
Although admittedly a novice in the field of adding API's I have attempted to add the .jar files into the libary of recognised modules but made no progress.
The problem is that although JMF API is installed, Sun One Studio does not seem to be aware of this and so does not recognise any associated libraries e.g. java.media or JMFApplet.
I would appreciate advice from anyone who knows how to configure Sun One Studio to utilise the JMF API.
MarkAll right, I think I may have solved it. After mounting jmf.jar I needed to update the parser database. All the libraries seem to be there.
Can someone clarify though, the trial program i'm using makes reference to: java.media
I don't have this module. I do instead have javax.media which I believe includes all the methods of the java version. Am I right or am I missing this crucial module?? -
Sun one server 7 and sun app server 8 incompatibility
I had all my ejb code running nicely on sun one server 7. Now I have to port to 8 and while the same ear file deploys successfully, I'm unable to make any create calls on my CMP beans. I get server side error "argument type mismatch", but I've checked and rechecked all arguments, number and type, but can't find anything wrong. Any pointers?
The new one is supposed to be backward comptible. In any case, I've run the migration tool and redeployed, but same issues exist.
-
Problem : App works with Sun App server 8.0 but fails with 8.1
Hi All
I am experiencing some strange problem with executing my JSF application with Sun App Server.
I have an EAR deployed on Sun Application Server 8.0 and 8.1.
Strangely it works quite fine with 8.0 but fails with 8.1.
In my JSP page ..I have a dummy component whose getter method is used as a "FormLoad" event of the page.
<h:form id="imageForm" enctype="multipart/form-data">
<h:messages showDetail="true" />
<table width="980" border="1" cellpadding="0" cellspacing="0" bordercolor="#A9B8C2">
<tr>
<td>
<h:inputHidden value="#{Screen1.initializeService}"/>
<h:selectOneListbox styleClass="style2" id="cmbMiddleArea" immediate="true" value="#{Screen1.selectedMiddleArea}">
<f:selectItems value="#{Screen1.middleAreaList}" />
</h:selectOneListbox>
In my backing bean i have ..
public String getInitializeService() {
..... Retrieve all the data from DB to initialize all the components on the JSP page
.......setMiddleAreaList......
.......setSelectedMiddleArea.....
........set the values of the individal component...
I am retrieving all the data from DB in this getter method and intializing the components on the JSP page.
I have also checked the code generated for JSP by both the servers.I am posting the code here for reference although
i did not find any significant difference between the two...
For Server 8.0
private boolean jspxmeth_h_inputHidden_0(javax.servlet.jsp.tagext.JspTag jspxth_h_form_0, PageContext jspxpage_context)
throws Throwable {
JspWriter out = jspxpage_context.getOut();
// h:inputHidden
com.sun.faces.taglib.html_basic.InputHiddenTag jspxth_h_inputHidden_0 = (com.sun.faces.taglib.html_basic.InputHiddenTag) jspxtagPool_h_inputHidden_value.get(com.sun.faces.taglib.html_basic.InputHiddenTag.class);
jspxth_h_inputHidden_0.setPageContext(_jspx_page_context);
jspxth_h_inputHidden_0.setParent((javax.servlet.jsp.tagext.Tag) jspxth_h_form_0);
jspxth_h_inputHidden_0.setValue("#{searchBean.initializeService}");
int jspxeval_h_inputHidden_0 = jspxth_h_inputHidden_0.doStartTag();
if (_jspx_th_h_inputHidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
jspxtagPool_h_inputHidden_value.reuse(_jspx_th_h_inputHidden_0);
return false;
For Server 8.1
private boolean jspxmeth_h_inputHidden_0(javax.servlet.jsp.tagext.JspTag jspxth_h_form_0, PageContext jspxpage_context)
throws Throwable {
PageContext pageContext = jspxpage_context;
JspWriter out = jspxpage_context.getOut();
// h:inputHidden
com.sun.faces.taglib.html_basic.InputHiddenTag jspxth_h_inputHidden_0 = (com.sun.faces.taglib.html_basic.InputHiddenTag) jspxtagPool_h_inputHidden_value_nobody.get(com.sun.faces.taglib.html_basic.InputHiddenTag.class);
jspxth_h_inputHidden_0.setPageContext(_jspx_page_context);
jspxth_h_inputHidden_0.setParent((javax.servlet.jsp.tagext.Tag) jspxth_h_form_0);
jspxth_h_inputHidden_0.setValue("#{searchBean.initializeService}");
int jspxeval_h_inputHidden_0 = jspxth_h_inputHidden_0.doStartTag();
if (_jspx_th_h_inputHidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
jspxtagPool_h_inputHidden_value_nobody.reuse(_jspx_th_h_inputHidden_0);
return false;
Now the actual problem is "getInitializeService" method never gets called when i deploy and run the application on Sun App Server8.1
However with Sun App Server 8.0 it woeks perfectly fine.
Can anybody help me in resolving these issues ?
Actually generated JSP code can be referred as ...
For Server 8.0
private boolean jspxmeth_h_inputHidden_0(javax.servlet.jsp.tagext.JspTag jspxth_h_form_0, PageContext jspxpage_context)
throws Throwable {
JspWriter out = jspxpage_context.getOut();
// h:inputHidden
com.sun.faces.taglib.html_basic.InputHiddenTag jspxth_h_inputHidden_0 = (com.sun.faces.taglib.html_basic.InputHiddenTag) jspxtagPool_h_inputHidden_value.get(com.sun.faces.taglib.html_basic.InputHiddenTag.class);
jspxth_h_inputHidden_0.setPageContext(_jspx_page_context);
jspxth_h_inputHidden_0.setParent((javax.servlet.jsp.tagext.Tag) jspxth_h_form_0);
jspxth_h_inputHidden_0.setValue("#{Screen1.initializeService}");
int jspxeval_h_inputHidden_0 = jspxth_h_inputHidden_0.doStartTag();
if (_jspx_th_h_inputHidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
jspxtagPool_h_inputHidden_value.reuse(_jspx_th_h_inputHidden_0);
return false;
For Server 8.1
private boolean jspxmeth_h_inputHidden_0(javax.servlet.jsp.tagext.JspTag jspxth_h_form_0, PageContext jspxpage_context)
throws Throwable {
PageContext pageContext = jspxpage_context;
JspWriter out = jspxpage_context.getOut();
// h:inputHidden
com.sun.faces.taglib.html_basic.InputHiddenTag jspxth_h_inputHidden_0 = (com.sun.faces.taglib.html_basic.InputHiddenTag) jspxtagPool_h_inputHidden_value_nobody.get(com.sun.faces.taglib.html_basic.InputHiddenTag.class);
jspxth_h_inputHidden_0.setPageContext(_jspx_page_context);
jspxth_h_inputHidden_0.setParent((javax.servlet.jsp.tagext.Tag) jspxth_h_form_0);
jspxth_h_inputHidden_0.setValue("#{Screen1.initializeService}");
int jspxeval_h_inputHidden_0 = jspxth_h_inputHidden_0.doStartTag();
if (_jspx_th_h_inputHidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
jspxtagPool_h_inputHidden_value_nobody.reuse(_jspx_th_h_inputHidden_0);
return false;
}
Maybe you are looking for
-
Can't sync mail with Yahoo mail
I want to transfer my Yahoo contacts to Apple's mail program. I checked "synchronize with Yahoo" in my Address Book Preferences. I also went to Isync preferences and checked all there, including "enable syncing on my computer." The next thing I'm sup
-
Cannot select images from iPhoto
I made a desktop AIR application that allows users to upload images to our server. Everything works except for Mac people trying to select images from iPhoto. This is how I have the file selection setup: private var fileRefList:FileReferenceList; pri
-
How to change full fudate as a repair full request.
Hi experts, As per my requirment i want to run repair full but i ran full update so i need to change this full update to repair full, can any one help me. Manythanks in advance David
-
Can anyone help with an invalid sibling link problem?
Following the computer not getting through to admin sign up today, I ran Disk Utility from the start up disk. It revealed an invalid sibling link that couldn't be repaired. I've trawled the web for a solution, which had me sign in with single user mo
-
When I click button to install now, it only restarts the EZ download installer again. I've gone through the process at least 15 times now. I installed FireFox twice before on Windows XP with no issue. I've tried by turning off Norton, computer shut d