Applet in Websphere

Hi!
I'm writing applet in WebSphere-4, Win2000, IE-5.
It's only do System.out in it's init() function.
When I put mouse over I see "applet found" in IE, but it doesn't writes nothing.
Have somebody the same problem?

System.out prints to the console. If you want to see the output - open the console (for example in IE it is in Tools/Sun Java Console)

Similar Messages

  • Deploying applets in Websphere

    How do I deploy applets in Websphere? Reply required urgently. Thanks in advance.

    What do you mean follow the same steps as an HTML file? You don't "deploy" HTML files, they are in the web application directory and the server serves them up upon request! The question remains, how do we deploy an applet. I have spent 2 days trying to get this crap to work, and NOTHING!
    I realize this is an old thread, but if anyone can help, that'd be cool!

  • Writing to file on server from applet

    ok i know this issue has been dealt with on numerous occasions but i would like someone to explain me in details what would be the best way of doing it.
    I know that one way of doing it is having a servlet which would perform I/O and would communicate with the applet via a socket. What I don't understand is when and how does the servlet start running.
    It has to be running to be able to first accept a connection from the applet and then listen on the specified port.
    So how does the servlet start running so as to be able to communicate with the applet?
    Could you please make your answers as precise as possible.
    Thanks

    Servlets are run by servlet containesr. You must start container first (Tomcat, Jetty, Weblogic, Websphere, ...) and then it will handle running servlet. Usually it is a first http-request that instantiates servlet on-demand, but you may configure it to be instantiated at container startup. So, only you have to worry about is to put servlet on container server and it will take care of the rest.
    Simple writing to a server-side file is easier to do with PHP if you have linux/unix-based web server. Just installing a servlet container for it might be a bit overkill.

  • It looks Oracle Form/Applet  die hard versus J2EE Servlet/JSP/JSF  & AJAX

    I left the form forum for a while and am busy with transfering our Oracle web forms app to Struts based J2EE application (just because the Oracle EE AS is the moving cause, it's out of my control.). After a year or so on J2EE which I enjoyed the fresh OO coding while keep enhancing Oracle webform app in production, I have some thought on Applet vs J2EE JSP/JSF plus AJAX.
    1) JSP itself is hard to avoid the full screen refreshing even though user just does partial changes ,e.g., lists, on the screen, it has to use AJAX to do the tricks. While partial refreshing in applet is natural default behavior.
    2) Forms is really an RAD, while J2EE's IDEs does help a bit(IBM's Websphere v6 even called iRAD) which takes way longer programming time compared to Forms. One IBM's article says it trys to win the Oracle Forms developers by giving the familiar graphical way of drag/drop GUI, so IBM recognizes the RAD coding power of Oracle Forms. So, IBM promotes the RAD similar to Oracle Forms.
    3) GUI/business rules related validation: Applet offered a great advantage over JSP/ even JSF which to avoid the full screen refresh, AJAX/JavaScript is used heavily. User friendly interaction of applet is way better than J2EE.
    4) Browser's back/refresh buttons also are headache to J2EE, expecially we need to support IE and Firefox. Applet basically is not bothered by these buttons.
    Recently, I read techi news said that the new chips will make the network transfer speed 10 time faster than now-even the cell phone transfer the image will be way faster. Then I predict the applet, just like IBM's mainframe, will see its Spring again, not like now in its winter. Especially the Oracle Forms makes coding easier than pure applet coding.
    Oracle folks, kepp beefing up the Oracle Forms, don't just pay attention to JDev. J2EE IDE, most of all, remove the Oracle EE ASxx block, be open. Oracle EE ASxx is really not a pretty baby, even though so Oracle thinks it is.

    1) Why we are transfering your Oracle web forms app to Struts based J2EE application?
    Since our corporate is IBM world-DB2/UDB, WebSphere AS (WAS) etc. It only allows Oracle Forms/reports servers to be compatible with the infrastructure. It does not allow to purchase another EE app server(espeically LDAP). We could not upgrade our forms/reports6i to 9i or 10g.
    2.Therefore the Oracle EE AS is the moving cause, it's out of my control because I did my best to talk to Oracle sales, but no avail. I am glad that I got a good chance to beef up my J2EE Struts skills.
    If extract out the forms/report9i/10g engines from the Oracle EE AS 9i/10g, (don't attempt to bundle sell the EE AS to customers-regardless of the shrinked 9.0.4 forms/reports services version, it's still another EE AS) and make them compatible with other ASs(espcially the LDAP), then Oracle Forms will have more customers.

  • Oracle Forms Architecture using Websphere AS

    My company wish to migrate to the latest version of Oracle forms (currently 10.1.2 (10gr2) ) from v5 and v6. I understand that the first step is to migrate v5 to v6, then we can move from v6 to v10.
    My question is actually regarding the forms architecture we are looking to implement. We are to purchase new WinTel servers (IBM x3550 rack servers) and my senior manager is "directing" me towards using Websphere as the application server. What experience do people have of running Forms with Websphere (as opposed to Oracle Application Server or Apache/Tomcat/mod-jk)? How easy (or not) is the configuration of forms to work with Websphere? Are there any "gotchas" to be aware of?

    Hi,
    I don't know nothing about Websphere, but I did the same thing for BEA WebLogic Server a while ago, that is install and run Forms without using OAS.
    It took me about one month to get it running, with most of the time spent on figuring out how BEA WebLogic (or any J2EE compliant server) works, how forms server works and what to put where. And to figure out, which parts (i.e .jar-files) are needed by the applet and which ones by the servlets, since oracle installs them all into the same directory (forms\java).
    Things to look out for or be aware of:
    - you still must install Oracle Application Server Forms + Reports Services (you just don't run the server tools or daemons then, and even can delete them from your disk)
    - you still need a licence for OAS!
    - some addons like SingeSignOn or Load Balancing may not work , or at least be more difficult to integrate
    hope that helps
    Volker

  • Displaying java applet using webseal authentication

    Hi all,
    i'm facing a problem about displaying Java applet using Webseal junction for accessing  an application Server based on Websphere.
    I've defined a webseal ACL on accessing a http url that contains link to Java applet: after webseal authentication, the homepage is loaded; in the home page are presented links to java applet, but when I try to load these applets, it seems not working.
    If I load the same applets without Webseal authentication, it seems working.
    Is there any sort of configuration to make for applet regarding Webseal?
    Thanks in advance
    Danilo

    Hi all,
    i'm facing a problem about displaying Java applet using Webseal junction for accessing  an application Server based on Websphere.
    I've defined a webseal ACL on accessing a http url that contains link to Java applet: after webseal authentication, the homepage is loaded; in the home page are presented links to java applet, but when I try to load these applets, it seems not working.
    If I load the same applets without Webseal authentication, it seems working.
    Is there any sort of configuration to make for applet regarding Webseal?
    Thanks in advance
    Danilo

  • Connection TimeOut in Websphere App Server.

    Hi,
    I am using JSF with JNDI and WebSphere to get query details. We have set the Connection Pooling Timeout in JNDI DataSource settings in WebSphere to 60 minutes.
    I have attached the Exception Stack Trace for your verification. This is a very serious exception which is hindering us from running any query that is running more than 10 minutes. Please suggest.
    Exception = com.ibm.wsspi.webcontainer.ClosedConnectionException
    Source = com.ibm.ws.webcontainer.srt.BufferedWriter.writeOut
    probeid = 416
    Stack Dump = com.ibm.wsspi.webcontainer.ClosedConnectionException: OutputStream encountered error during write
         at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.write(WCCByteBufferOutputStream.java:108)
         at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(SRTOutputStream.java:96)
         at sun.nio.cs.StreamEncoder$ConverterSE.implFlushBuffer(StreamEncoder.java:293)
         at sun.nio.cs.StreamEncoder$ConverterSE.implFlush(StreamEncoder.java:299)
         at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:210)
         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:236)
         at com.ibm.wsspi.webcontainer.util.BufferedWriter.writeOut(BufferedWriter.java:486)
         at com.ibm.wsspi.webcontainer.util.BufferedWriter.flushChars(BufferedWriter.java:372)
         at com.ibm.wsspi.webcontainer.util.BufferedWriter.flush(BufferedWriter.java:347)
         at java.io.PrintWriter.flush(PrintWriter.java:291)
         at com.ibm.ws.cache.servlet.CacheProxyWriter.flush(CacheProxyWriter.java:159)
         at com.ibm.ws.cache.servlet.CacheProxyWriter.flush(CacheProxyWriter.java:159)
         at com.ibm.ws.cache.servlet.FragmentComposer.requestFinished(FragmentComposer.java:393)
         at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:480)
         at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:281)
         at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:256)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:225)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
         at com.ibm.faces.context.MultipartExternalContextImpl.dispatch(MultipartExternalContextImpl.java:320)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:257)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:276)
         at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:463)
         at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:281)
         at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:256)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
         at com.filter.ApplicationSessionExpiryFilter.doFilter(Unknown Source)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    Caused by: java.io.IOException: Async IO operation failed, reason: RC: 32 There is no process to read data written to a pipe.
         at com.ibm.io.async.AbstractAsyncChannel.multiIO(AbstractAsyncChannel.java:474)
         at com.ibm.io.async.AsyncSocketChannelHelper.write(AsyncSocketChannelHelper.java:478)
         at com.ibm.io.async.AsyncSocketChannelHelper.write(AsyncSocketChannelHelper.java:396)
         at com.ibm.ws.tcp.channel.impl.AioSocketIOChannel.writeAIO(AioSocketIOChannel.java:281)
         at com.ibm.ws.tcp.channel.impl.AioTCPWriteRequestContextImpl.processAsyncWriteRequest(AioTCPWriteRequestContextImpl.java:49)
         at com.ibm.ws.tcp.channel.impl.TCPWriteRequestContextImpl.writeInternal(TCPWriteRequestContextImpl.java:166)
         at com.ibm.ws.tcp.channel.impl.TCPWriteRequestContextImpl.write(TCPWriteRequestContextImpl.java:137)
         at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.asynchWrite(HttpServiceContextImpl.java:2376)
         at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.sendOutgoing(HttpServiceContextImpl.java:2165)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundServiceContextImpl.sendResponseBody(HttpInboundServiceContextImpl.java:778)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.writeBufferAsynch(WCChannelLink.java:307)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.writeBufferResponse(WCChannelLink.java:287)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.writeBuffer(WCChannelLink.java:241)
         at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.flushWriteBuffer(WCCByteBufferOutputStream.java:401)
         at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.write(WCCByteBufferOutputStream.java:147)
         at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(SRTOutputStream.java:96)
         at sun.nio.cs.StreamEncoder$ConverterSE.implFlushBuffer(StreamEncoder.java:293)
         at sun.nio.cs.StreamEncoder$ConverterSE.implFlush(StreamEncoder.java:299)
         at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:210)
         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:236)
         at com.ibm.wsspi.webcontainer.util.BufferedWriter.writeOut(BufferedWriter.java:486)
         at com.ibm.wsspi.webcontainer.util.BufferedWriter.flushChars(BufferedWriter.java:372)
         at com.ibm.wsspi.webcontainer.util.BufferedWriter.flush(BufferedWriter.java:347)
         at java.io.PrintWriter.flush(PrintWriter.java:291)
         at com.ibm.ws.cache.servlet.CacheProxyWriter.flush(CacheProxyWriter.java:159)
         at com.ibm.ws.cache.servlet.CacheProxyWriter.flush(CacheProxyWriter.java:159)
         at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:233)
         at java.io.PrintWriter.flush(PrintWriter.java:291)
         at com.ibm.ws.cache.servlet.CacheProxyWriter.flush(CacheProxyWriter.java:159)
         at com.ibm.ws.cache.servlet.FragmentComposer.requestFinished(FragmentComposer.java:393)
         at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:480)
         at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:281)
         at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:256)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:225)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:639)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1034)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:997)
         at com.ibm._jsp._extract_5F__jspService(_extract_5F_java:91)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:276)
         at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:463)
         ... 51 more

    http://redeyeinteractive.com/index.eye?cart=1027565021121425&membersku=[membersku]&action=specific&SKU=507921572586523
    if this link don't work go to http://redeyeinteractive.com
    go to there java\applets path u will see a file upload component
    u can down load trial version free it is very easy to use.
    Good luck.

  • Applet in jsp from servlet, but error: ClassNotFoundExcep

    The problem that I'm having is already mentioned a couple of times in this forum, but unfortunately I haven't found a solution, in thread http://forum.java.sun.com/thread.jspa?forumID=33&threadID=239405 is proposed solution but it's not working for me.
    I'm developing a project in IBM's Websphere Developer Studio 5.1.1. and JRE that I'm using for this project is 1.4.2. I have created servlet "CompanyDocument.java" and applet "SimpleApplet.java". Applet was created as single project and then imported into this one, that means that it's contained in current project as "SimpleAppletPackage.jar". I have placed jar in folder "Applets", Websphere automatically creates folder "simpleAppletPackage" and in it's root complied "SimpleApplet.class".
    When I put following code in the jsp page applet works correctly when application is runed.
    <APPLET code="simpleAppletPackage/SimpleApplet.class" codebase="Applets" archive="SimpleAppletPackage.jar" width="250" height="250"></APPLET>
    But I wanted to create jsp from servlet. So I used this code within servlet:
    out.print("<APPLET code=\"simpleAppletPackage/SimpleApplet.class\" codebase=\"Applets\"");
    out.print("archive=\"SimpleAppletPackage.jar\" width=\"250\" height=\"250\"></APPLET>");
    But I get an error (when running, no error when compiling). The error is copied from Java console:
    load: class simpleAppletPackage/SimpleApplet.class not found.
    java.lang.ClassNotFoundException: simpleAppletPackage.SimpleApplet.class
    at sun.applet.AppletClassLoader.findClass AppletClassLoader.java:162)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:619)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:548)
    at sun.applet.AppletPanel.run(AppletPanel.java:299)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.io.IOException: open HTTP connection failed.
    at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:265)
    at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
    at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
    ... 9 more
    In the same time I'm creating some more code from servlet and it works with no errors and is shown in browser properly (it consists of connection to Oracle, formatting table, and presenting data within that table).
    Any idea? I'm totally stuck.

    In your browser, look at the HTML code that gets sent to the browser and see if there is something wrong with it.
    Specifically, I would look at the code near the <APPLET ..></APPLET> tags, both before and after and look for stray quotes, brackets, or what not.
    Finally, I would look inside the <APPLET ...> tag. It appears to me that the output will probably be:
    <APPLET code="simpleAppletPackage/SimpleApplet.class" codebase="Applets"archive="SimpleAppletPackage.jar" width="250" height="250"></APPLET>See, you may be missing a space between the "Applets" and the archive=. Try making the second out.print look like this:
    out.print(" archive=\"SimpleAppletPackage.jar\" width=\"250\" height=\"250\"></APPLET>"); See the extra space at the start of the output?

  • File Upload in WebSphere App Server (3.5.4)

    Hi
    I am trying to upload a file from the client to the server. I am using oReilley's MultipartRequest to do this. This works fine in my Test Environment in Visual Age. But does not work in Websphere App Server.
    I get a "Error during native read operation". This happens mostly for big files more than 2 MB and sometimes for small files as well.
    Is this is a server issue? ('cos i tried using from jspsmart File Uplaod class and the result was the same).
    Any help is greatly appreciated.
    Thank You

    http://redeyeinteractive.com/index.eye?cart=1027565021121425&membersku=[membersku]&action=specific&SKU=507921572586523
    if this link don't work go to http://redeyeinteractive.com
    go to there java\applets path u will see a file upload component
    u can down load trial version free it is very easy to use.
    Good luck.

  • Java, Lotus Notes and WebSphere

    Hello,
    I'm using the Barcoded Forms component and I'm invoking its methods through the Java API.
    I've successfully done so using the Rational Application Developer IDE, but I had to turn off the security on the WebSphere Application Server.
    Now I want to run the same application on Lotus Notes, so I created a Java Agent.
    When I run the Agent, it gives me the following exception at the line of creating a ServiceClientFactory object.
    Kindly keep in mind that the security on WAS is off.
    Exception in thread "AgentThread: JavaAgent" java.lang.ExceptionInInitializerError
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:216)
    at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.<clinit>(ServiceClientFactory.java:60)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
    at JavaAgent.NotesMain(JavaAgent.java:29)
    at lotus.domino.AgentBase.runNotes(Unknown Source)
    at lotus.domino.NotesThread.run(Unknown Source)
    Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission shutdownHooks)
    at java.security.AccessController.checkPermission(AccessController.java:108)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:548)
    at COM.ibm.JEmpower.applet.AppletSecurity.superDotCheckPermission(AppletSecurity.java:1440)
    at COM.ibm.JEmpower.applet.AppletSecurity.checkRuntimePermission(AppletSecurity.java:1302)
    at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1516)
    at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1455)
    at java.lang.Runtime.addShutdownHook(Runtime.java:204)
    at java.util.logging.LogManager.<init>(LogManager.java:243)
    at com.adobe.logging.AdobeLogManager.<init>(AdobeLogManager.java:31)
    at com.adobe.logging.AdobeLogger$BootstrapLogManager.<init>(AdobeLogger.java:185)
    at com.adobe.logging.AdobeLogger.<clinit>(AdobeLogger.java:180)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
    ... 6 more
    Any help would be appreciated, thank you.

    Hi
    I am facing the same problem. Were you able to solve this issue. Kindly let me know in that case, it would be really helpfull...

  • Websphere Application Server an JDBC Driver errors

    We're currently testing the BEA JDBC/SQLServer driver on IBMs websphere Application server and have encountered a couple of problems, which are described below. Has anyone encountered these before, and are there solutions to fixing them.
    Problem 1. All JDBC queries through the drivers cause the following error message to be displayed on the application server console:-
    #Weblogic -- Applet Access
    ......Illegal System.exit() attempted
    2. We get an intermittent problem where a JDBC query causes the following exception:-
    12-Aug-2002 14:08 | [Servlet.Engine.Transports:8] | ERROR | |
    User Action: displayParams
    Error Message: JVMLK003: current thread not owner
    Exception Message: JVMLK003: current thread not owner
    java.lang.IllegalMonitorStateException: JVMLK003: current thread not owner
    at java.lang.Object.notify(Native Method)
    at
    weblogic.jdbcbase.mssqlserver4.TdsConnection.registerPipeline(TdsConnection.
    java(Compiled Code))The only solution to the 2nd problem, that I've found, is to restart the application server.
    Are these drivers compatible with IBMs Websphere Application Server v4.0 Advanced?
    Any help would be appreciated.
    Regards
    Andrew

    please see my answers inline... I recommend you try the JDBC driver from
    Microsoft.
    sree
    "Andrew Danieli" <[email protected]> wrote in message
    news:[email protected]..
    We're currently testing the BEA JDBC/SQLServer driver on IBMs websphereApplication server and have encountered a couple of problems, which are
    described below. Has anyone encountered these before, and are there
    solutions to fixing them.
    >
    Problem 1. All JDBC queries through the drivers cause the following errormessage to be displayed on the application server console:-
    >
    #Weblogic -- Applet Access
    ......Illegal System.exit() attemptedThis is happening in your application code not in the driver.
    >
    2. We get an intermittent problem where a JDBC query causes the followingexception:-
    >
    12-Aug-2002 14:08 | [Servlet.Engine.Transports:8] | ERROR | |
    User Action: displayParams
    Error Message: JVMLK003: current thread not owner
    Exception Message: JVMLK003: current thread not owner
    java.lang.IllegalMonitorStateException: JVMLK003: current thread not
    owner
    at java.lang.Object.notify(Native Method)
    atweblogic.jdbcbase.mssqlserver4.TdsConnection.registerPipeline(TdsConnection.
    java(Compiled Code))This sounds more like an IBM JVM issue.
    >
    The only solution to the 2nd problem, that I've found, is to restart theapplication server.
    >
    Are these drivers compatible with IBMs Websphere Application Server v4.0Advanced?
    They are JDBC1.0 compliant drivers and should work with any jdbc app.
    >
    Any help would be appreciated.
    Regards
    Andrew

  • Applet jar file

    I have an applet embedded in a jsp as follows          
    <applet code="MyApplet.class" archive="client.jar" height="1" id="APface" name="APIface" width="1" mayscript="true">
    </applet>
    Now as mentions MyApplet.class is archived in the client.jar file. I am running the application of websphere. Now whats happeneing is the the jsp is located in <proj>/web Content/html directory. What I have to do is to run the application is to put the jar file in this folder too. What I want to do is to put the jar file in the web-inf/lib folder instead of putting it here. how could I do that?

    yes, or in a jar specified in the archive parameter...
    Are your classes in a package? I would generally set
    up this type of structure:
    /mainWebDir/
    /mainWebDir/appletWebPage.html (or .jsp)
    /mainWebDir/applets/
    /mainWebDir/applets/classes/
    /mainWebDir/applets/classes/*.class <-- loose
    non-packaged classes
    /mainWebDir/applets/classes/the/package/dirs/*.class
    <-- loose packaged classes
    /mainWebDir/applets/lib/*.jar
    <applet class="MainClass.class"
    codebase="applets/classes"
    archive="./applets/lib/a.jar, ./applets/lib/b.jar" >My directory structure is as follows
    MyProject/JavaSource contains all the java code
    MyProject/webContent/html contains the html files and the jsp's. This is where the jar files were placed originally used by the applet. But what I have done is replaced the jar files with class files now in their respective hierarchy.
    MyProject/webContent/WEB-INF/lib contains all the jar files
    MyProject/webContent/WEB-INF/classes contains all the compiled code.
    SO should I move all the class files used by the applet to the html folder. Please correct me if I am wrong.

  • IPlanet WebServer 6.0 with WebSphere Application Server 5.0

    How can I connect WebSphere Application Server with iPlanet WebServer?
    I have start the iplanet and the websphere but my images (that are in
    C:\iPlanet\Servers\<serverId>\images) are not found!
    In WebSpherer ApplicationServer I have jsp, and classes (inside web-inf). In iPlanet WebServer I have html, images,applets and styles.
    Anyone knows why images don't appear? Thanks

    Sounds messy. I wouldn't mix environments like that. You could even end up with different versions of jdk, jsp and servlet specs.
    Just leave the jsp/servlets on websphere, use iplanet for the static pieces. Let the proxy forward the dynamic stuff to websphere. Then you can also have the ability to load balance sessions etc..

  • Best IDE for developing Applets,Servlets,JSP

    Hi,
    I'm looking for a little bit of advise. I have been developing prototypes using Apache Tomcat. Now I need to go into a full development phase, and I need an IDE to help speedup my work, especially when it comes to debugging applets and servlets. So the following are my questions:
    1. What is the best IDE to use in conjunction with Apache Tomcat? Does JBuilder, for example, fit this bill?
    2. Outside of Apache, I believe there is for example IBM's Websphere, which includes an IDE and a Servlet/JSP container. Which is the best of these packages?
    Thank you for your help.
    Miguel

    Check out NetBeans 3.5 at www.netbeans.org

  • Applet servlet communication using SSL

    Hi
    I am using an applet to talk to a servlet which is behind Wwebsphere application server
    Code is all working fine till i had to use SSL
    Do I need to write special code in my applet ??
    I think i need to change my URL string to use https instead of http URLConnection and the port which websphere understands ??
    What change do I make in the servlet code ??
    Do I need to use JSSE classes and install JSSE provided by sun ??
    How do I configure my IBM Http server and the Websphere application server is what i am unable to follow
    Please clear doubts
    Thanks

    I am also using JDK 1.3

Maybe you are looking for

  • Unable to deserialize HTTP response content - SharePoint Designer Call Web Service Workflow Activity

    I am creating a workflow using SharePoint Designer 2013 and I'm using the call HTTP web service action. The web service call works (it is for a text messaging service, and I get the text message to my phone) however the workflow stops at this point w

  • Clearing Buffered Canvas

    Hi, I've searched in google, on this forum and on JavaRanch Big Moose Saloon for the answer to this question but as of yet I can't find an answer. I'm attempting to clear a JPanel canvas. Repaint() simply doesn't work so I've tried this, public void

  • Open CS4 doc in CS5 = Quit Unexpectedly, failed to recover, Untitled may be damaged

    Hello Gods of Adobe InDesign, Please help! OSX 10.5.8, CS5 - Updated. We have a number of documents in CS4 which are not opening in CS5-  which is getting us very concerned.  So far we have tried resetting InDesign CS5 preferences without luck.  Save

  • Customizing Reports In BPM Worklist

    Hi all I have a 11g BPM worklist. Inside the BPM worklist i find a Link called *"Reports"*,going into it iam able to find 5 reports which is defaulty available. Now my question is that how can i create my own reports inside BPM worklist. Where do i n

  • Interested in MAC

    I currently do not OWN a mac, but im interested in getting an Imac. Problem is, Im not knowledged on a mac, so I would like to ask a few questions about the Imac. 1. What are some common problems with Imacs. 2. What makes a MAC better then a pc other