Applet referencing server copy of jars already cached

I'm maintaining an applet. All jars are signed. Aside from the applet jar itself, it requires 9 additional jars totalling >30MB (I didn't originate this design).
I know Swing, but next to nothing about applet deployment.
Security is web-based (SiteMinder)
The serving page's <OBJECT> entry looks like this:
<OBJECT classid="clsid:CAFEEF...."
    name="AppName"
    width="800" height="200" align="top"
    codebase="/static/jre/jre-1_5_0_11-windows-i586-p.exe#Version=1,5,0,11">
    <PARAM NAME="cache_archive" VALUE="/static/code/signed_TheApplet.jar, /static/code/signed_essd9.jar, /static/code/signed_janino.jar, /static/code/signed_jdom.jar, /static/code/signed_l2fprod-common-all.jar, /static/code/signed_log4j-1.2.8.jar, /static/code/signed_naf.jar, /static/code/signed_OfficeLnFs_2.6.jar, /static/code/signed_swing-layout-1.0.jar, /static/code/signed_xerces.jar">
    <PARAM NAME="cache_version" VALUE="1.0.0.22, 9.0.0.0, 9.0.0.0, 1.0.0.0, 1.0.0.0, 1.2.8.0, 1.0.0.0, 2.6.0.0, 1.0.0.0, 2.6.1.0">
    <PARAM name="code" value="com.some.package.ui.TheApplet.class">(It does not use the cache_archive_ex tag, which I have seen mentioned in forums and articles, but do not completely understand)
I have the 1.5 plugin. I open the cache and clear it, but keep it open to watch the arrival of the jars. I also have Filemon running to watch the access of the files in the cache.
So, hit the applet page, and in the console you see several blocks of output, where it's retrieving each jar specified in the <OBJECT> tag of the serving page. Each block passes by, stalling as the file downloads. When the log continues, the file has appeared in the cache. All good. I understand that much.
The cache viewer now shows all 10 jars, and the URL for each one is the SERVER url of the jar, as specified in the HTML page that served the applet.
So now, the app starts to load. By this point I've seen thousands of hits on the locally cached jars, meaning the applet is using them as it initializes.
Now, in the console, what I see for each jar again is a block of code. Different from the first blocks, where the console was saying
basic: Connecting [jar URL] over and over... now it's saying:
network: Connecting https://[SERVER URL]/signed_essd9.jar with proxy=DIRECT
network: Connecting https://[SERVER URL]/signed_essd9.jar with cookie "mdt_target=[target]; SMSESSION=[giant cookie expression]; JSESSIONID=[session id]"And with each such block there is a pause. That pause is congruent with the size of the jar. essd9 (Actuate's eSpreadsheet jar) is 19MB... the pause is 2 minutes. xerces.... maybe 5 seconds.
My Question:
If you set up an applet-serving page to force the download of a bunch of jars... and caching is turned on in the plugin....and Filemon shows that the application is using those jars...
Then why does the console appear to be referencing the jars on the server again.... why is it hitting those originating URLs... and not just for a second... long enough that it FEELS like a download (even though the cached version don't change)?
ANY help at all would be very much appreciated. And please, if you just want to say that you "have the same problem", put a watch on the thread and see if a solution arises. Please don't pollute the thread with a bunch of entries like that. It makes the forums inefficient and difficult to read.
Thanks in advance.
Pete

Thanks for the link. The confusing thing is, is that the behavior is correct when using the java 1.5 plugin. I used ethereal to sniff the packets being downloaded and found that the Last-Modified date for the jar is in fact correct, and I opened the IDX files that were created each time the plugin downloaded the same jar and verified that the Last-Modified value does match the one that I sniffed during the download.
I was assuming that the plugin would look in the IDX file to compare the Last-Modified value with the one on the server before downloading it, so it could avoid the unnecessary download, but that only appears to happen when using the 1.5 plugin.
Any further ideas would be appreciated.
Thanks.

Similar Messages

  • JAR File Caching Issues

    After the security update here, http://sunsolve.sun.com/search/document.do?assetkey=1-26-103079-1 any users referencing our applets do not use the jar files stored in cache if the DNS has changed. We use an akamai hosted solution for jar distribution (though this would also occur in any DNS load balancing situation) thus the IP is rather dynamic though the content is identical. As the security issues states, any Plugin versions 1.5.0_13 and above or 1.6.0_03 and above treat a new DNS as compeltely new jar files.
    Has anyone worked through similar situations? This renders the caching almost useless and we have a rather thick applet (3 Mb total jar files) which is quite an impact for a customer that is often low bandwidth to download daily.
    Thanks!

    Recently I tried to used some robot tools to test our application for performance issue. During the robot testing, I acceidentally discover some difference for the jar downloading which cause the above mentioned problem.
    At first, this http request has no problem and the jar file is NOT downloaded. Http server shows a response code of "304", meaning download not required.
    http_request
    "GET lib/posLookup.jar HTTP/1.1\r\n"
    "Accept: */*\r\n"
    "Accept-Encoding: gzip, deflate\r\n"
    "If-Modified-Since: Thu, 05 Dec 2002 17:22:12 GMT\r\n"
    "User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; T31246"
    "1)\r\n"
    "Host: defaulthost\r\n"
    "Connection: Keep-Alive\r\n"
    "Cookie: sesessionid=0001UULRZPFLU5IBRNBVHWUUAFI\r\n"
    "\r\n";
    Then after running for a while, the browser jumps into another page and finds that the same jar file "posLookup.jar" is required. It issue another http request to server as:
    http_request
    "GET lib/posLookup.jar HTTP/1.1\r\n"
    "cookie: sesessionid=0001UULRZPFLU5IBRNBVHWUUAFI\r\n"
    "User-Agent: Java1.3.1_02\r\n"
    "Host: defaulthost\r\n"
    "Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2\r\n"
    "Connection: keep-alive\r\n"
    "\r\n";
    But this time the user agent becomes Java1.3.1_02 and the accept type becomes text/html instead of original zip format. After this, I check the IE temporary file and found that the posLookup.jar is having a type of "HTML Document" instead of "Executable jar file".
    Does anyone know whether this is a bug of the Internet Explorer or it is bug of the Java Plugin?
    Appreciate any opinions or comments.
    Thanks

  • Jar File caching in temp directory problem

    Hello,
    I have a problem where the java plugin is caching jar_cache9999.jar (where 9999 is any number 0-9) files in the temp directory. I have tried following the directions for disk caching in the documentation, but these files are always created, never destroyed.
    I was wondering:
    1. Is there a simple setting that I could set that should resolve this problem? (un-setting "cache jars in memory" wouldn't seem to solve the problem as I would think that would only force the browser to use the same jar if it had already been loaded)
    2. Has this problem been corrected in later releases of the java plugin? I am using the jre1.2.2. When I looked at the problem here in the forums, the bug that was listed was listed as fixed.
    Thanks,
    Dan Hughes

    Hi,
    Java Plug-in has supported disk caching in previous versions by using the same cache the browser uses for all other web documents. This works for casual applet usage, but larger applets can often get flushed from the cache to make room for other documents since the browser has no knowledge that an applet file might be needed in the future. The result is that this caching strategy fails where is needed most in large business applets.
    From 1.3. the new feature is activated by including the new "cache_option" , "cache_archive" and "cache_version" values in the EMBED/OBJECT tag that specifies the use of Java Plug-in as below:
    <OBJECT ....>
         <PARAM NAME="archive" VALUE="...">
         <PARAM NAME="cache_option" VALUE="...">
         <PARAM NAME="cache_archive" VALUE="...">
         <PARAM NAME="cache_version" VALUE="...">
    </OBJECT>
    or
    <EMBED ....
         archive="..."
         cache_option="..."
         cache_archive="..."
         cache_version="...">
    For detail description please go through the following URL:
    http://java.sun.com/products/plugin/1.3/docs/appletcaching.html
    Hope this will help you.
    Anil.
    Developer Technical Support
    Sun Microsystems,
    http://www.sun.com/developers/products

  • Jar file caching problem

    I'm running applets under IE in our application. The application contains multiple pages, each page with one applet. Each applet contains some shared jar file and one specific jar file for that applet.
    Most of the time, the caching mechanism work fines. The browser is able to check with the HTTP server to see if any new jar files and download automatically. If no updates, the cached jars (in browser) are used.
    However, at some other times, when I jump across several pages, performing different processing, suddenly the browser will reload all the jar files from the server. Even some shared jars are reloaded in every page within the same browser session.
    If above problem occurs, I close the browser, open a new one and jumping to the pages again, the browser will be able to use the cached version again.
    The runtime environment as follows:
    JRE 1.3.1_02
    IBM HTTP server 1.3.12.6
    IBM WebSphere Appl Server 3.5.3
    IE 5.50 (The "Check for newer versions of stored pages" is set to "Every visit to the page")
    Pages created by JSP, syntax as follows:
    <OBJECT classid="<%=JSPUtil.getClassid()%>" codebase="<%=JSPUtil.getPluginCodeBase()%>" WIDTH=100% HEIGHT=175% NAME=posApplet>
    <PARAM NAME=ARCHIVE VALUE="<%=JSPUtil.getSharedArchives()%>, <%=JSPUtil.getArchiveLocation()+"/posPending.jar"%>">
    <PARAM NAME=CODE VALUE=ho.aia.pos.pending.applet.PendingSGP >
    <PARAM NAME=NAME VALUE="PendingRequirement" >
    <PARAM NAME=codebase VALUE="<%=JSPUtil.getCodeBase()%>">
    </OBJECT>
    Do anyone knows anything about the problem?
    Anyone knows how to make the caching work NORMALLY?
    Thanks

    Recently I tried to used some robot tools to test our application for performance issue. During the robot testing, I acceidentally discover some difference for the jar downloading which cause the above mentioned problem.
    At first, this http request has no problem and the jar file is NOT downloaded. Http server shows a response code of "304", meaning download not required.
    http_request
    "GET lib/posLookup.jar HTTP/1.1\r\n"
    "Accept: */*\r\n"
    "Accept-Encoding: gzip, deflate\r\n"
    "If-Modified-Since: Thu, 05 Dec 2002 17:22:12 GMT\r\n"
    "User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; T31246"
    "1)\r\n"
    "Host: defaulthost\r\n"
    "Connection: Keep-Alive\r\n"
    "Cookie: sesessionid=0001UULRZPFLU5IBRNBVHWUUAFI\r\n"
    "\r\n";
    Then after running for a while, the browser jumps into another page and finds that the same jar file "posLookup.jar" is required. It issue another http request to server as:
    http_request
    "GET lib/posLookup.jar HTTP/1.1\r\n"
    "cookie: sesessionid=0001UULRZPFLU5IBRNBVHWUUAFI\r\n"
    "User-Agent: Java1.3.1_02\r\n"
    "Host: defaulthost\r\n"
    "Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2\r\n"
    "Connection: keep-alive\r\n"
    "\r\n";
    But this time the user agent becomes Java1.3.1_02 and the accept type becomes text/html instead of original zip format. After this, I check the IE temporary file and found that the posLookup.jar is having a type of "HTML Document" instead of "Executable jar file".
    Does anyone know whether this is a bug of the Internet Explorer or it is bug of the Java Plugin?
    Appreciate any opinions or comments.
    Thanks

  • 500 Internal Server Error oracle.apps.fnd.cache.CacheException

    I have been trying to access a new instance using JDEV, but i have been getting this error:
    Can anyone help me ?
    500 Internal Server Error
    oracle.apps.fnd.cache.CacheException at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171) at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148) at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1259) at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1114) at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1083) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1050) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1037) at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595) at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:941) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:926) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:891) at oracle.apps.fnd.common.WebAppsContext.&lt;init&gt;(WebAppsContext.java:1027) at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:223) at OAErrorPage.jspService(_OAErrorPage.java:62) [OAErrorPage.jsp] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813) at runregion.jspService(_runregion.java:193) [runregion.jsp] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache: java.lang.NullPointerException: null Connection at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:712) at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802) at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624) at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216) ... 50 moreCaused by: oracle.apps.jtf.base.resources.FrameworkException: An exception occurred in the method CacheAccess.getnullThe base exception is:null Connection at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607) at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585) at oracle.apps.jtf.base.resources.FrameworkException.&lt;init&gt;(FrameworkException.java:66) at oracle.apps.jtf.base.resources.FrameworkException.&lt;init&gt;(FrameworkException.java:88) at oracle.apps.jtf.base.resources.FrameworkException.&lt;init&gt;(FrameworkException.java:202) at oracle.apps.jtf.base.resources.FrameworkException.&lt;init&gt;(FrameworkException.java:218) at oracle.apps.jtf.base.resources.FrameworkException.&lt;init&gt;(FrameworkException.java:249) ... 54 more

    Hi Pardeep,
    I was getting the same error. I have copied the JDK 1.5.0_16.zip from other user and unzip in the folder of mine like AB12020 where I have installed the Jdeveloper or might be your DBC file get corrupted.
    Check out..
    Thanks
    Anil Sharma
    PS-Pls marked ur questioned as answered and close the question.
    Edited by: OAFUser on Jan 15, 2009 9:43 PM

  • Web server cannot access .jar file?

    Hi all,
    I'm using NetBeans 4.1 IDE with the bundled Tomcat 5.5.7 on Windows XP sp2.
    I have a .jar file which I must make available for the web server (not only for my web app). So I did the following:
    Added a CLASSPATH variable to the user environment (pointing to my .jar file),
    Shutdown Tomcat,
    Restarted the IDE (because it is responsible for launching Tomcat, so Tomcat inherits its environment vairables from the IDE),
    and finally ran my web-app.
    The result: the web app could not find classes from the .jar file.
    However, if I copy the .jar to the server's common/lib directory, everything's ok!
    Why? I'm sure I don't have to put .jars in common/lib in order to make them visible by the server! I've read that adding them to the CLASSPATH is just as good solution... what is going on?

    Tomcat has its own ideas about classpath. In particular it ignores the system classpath, so that each web application can have its own seperate one.
    Jar files should normally live in the /WEB-INF/lib directory of your application.
    If you want to share them across multiple apps, use the /shared/lib directory.
    /common/lib should not normally be used except for database drivers when using tomcats JNDI datasources.
    Cheers,
    evnafets

  • Lion Server problem - Computer is already a network directory server

    So I purchased Lion Server to trial it at home and it is not going well. Initially I was having issues connecting to the web interfaces for profile manager, etc. The server was not responding and so I uninstalled server and reinstalled it from the Mac Store (FYI: Apple has charged me for the OS and the server app as a result of this for some reason!!!)
    With Server reinstalled I went to set up the server as a network directory and am shown this message every time I try to set up the directory admin account: "Computer is already a network directory server - This computer is already configured to manage network accounts. It cannot be configured again."
    This leaves me unable to set up any profile or device management, I have tried the following solutions:
    Uninstall and reinstall server
    Deleted ServerVersion plist
    Reinstalled Lion
    Reinstalled Lion with format of HDD (although I did recover from a Time Machine Backup which included settings)
    Any help would be appreciated.

    Sorry I copied the wrong log.
    What is happening is the Open Directory Assistant attempts to create and Open Directory Master but fails claiming there was a configuration error and to view the configuration log which I have copied below.
    2011-07-28 19:57:45 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2011-07-28 19:57:45 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b cn=config -s base olcServerID
    2011-07-28 19:57:45 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2011-07-28 19:57:45 +0000 command: /usr/sbin/mkpassdb -o -u diradmin -p -q
    2011-07-28 19:57:46 +0000
    2011-07-28 19:57:48 +0000 command: /usr/sbin/mkpassdb -setadmin 0xdc9dacf8b95311e0b494d49a20d93acc 0
    2011-07-28 19:57:48 +0000 Admin's entry UUID is: 9134bc0a-a748-4161-b6b2-53c136b933b9
    2011-07-28 19:57:48 +0000 Setting SASL realm to <SERVER.FREEMAN.PRIVATE>
    2011-07-28 19:57:48 +0000 command: /usr/sbin/mkpassdb -setrealm SERVER.FREEMAN.PRIVATE
    2011-07-28 19:57:48 +0000 command: /bin/launchctl load -w /System/Library/LaunchDaemons/com.apple.PasswordService.plist
    2011-07-28 19:57:49 +0000 Stopping LDAP server (slapd)
    2011-07-28 19:57:52 +0000 Starting LDAP server (slapd)
    2011-07-28 19:57:52 +0000 Waiting for slapd to start
    2011-07-28 19:57:52 +0000 ...
    2011-07-28 19:57:54 +0000 Configuring Kerberos server, realm is SERVER.FREEMAN.PRIVATE
    2011-07-28 19:57:54 +0000 command: /usr/sbin/kdcsetup -f /LDAPv3/ldapi://%2Fvar%2Frun%2Fldapi -w -a diradmin -p **** -v 1 SERVER.FREEMAN.PRIVATE
    2011-07-28 19:58:18 +0000 Contacting the Directory Server
    Authenticating to the Directory Server
    Creating Kerberos directory
    Creating KDC Config File
    Creating Kerberos Database
    Creating new random master key
    Creating Kerberos Admin user
    Creating ACL file
    Adding kerberos auth authority to admin user
    Starting kdc & kadmind
    Adding the new KDC into the KerberosClient config record
    Finished
    2011-07-28 19:58:18 +0000 command: /usr/sbin/kdcsetup -e
    2011-07-28 19:58:18 +0000 command: /usr/sbin/sso_util configure -x -r SERVER.FREEMAN.PRIVATE -f /LDAPv3/ldapi://%2Fvar%2Frun%2Fldapi -a diradmin -p **** -v 1 all
    2011-07-28 19:58:19 +0000 command: /usr/sbin/mkpassdb -kerberize
    2011-07-28 19:58:19 +0000 Updating user records and principals
    2011-07-28 19:58:34 +0000 Asking OpenDirectoryConfig to bind to server: 127.0.0.1
    2011-07-28 19:58:38 +0000 Attempting to open /LDAPv3/127.0.0.1 node
    2011-07-28 19:58:38 +0000 Verified /LDAPv3/127.0.0.1 node is available
    2011-07-28 19:58:40 +0000 command: /usr/sbin/sso_util info -r /LDAPv3/127.0.0.1 -p
    2011-07-28 19:58:40 +0000 Creating Root CA
    2011-07-28 19:58:41 +0000 ***Error creating domain CA. Error - The specified item already exists in the keychain.
    2011-07-28 19:58:41 +0000 Root CA creation failed with error - -25299
    2011-07-28 19:58:41 +0000 Destroying OD master as CA creation failed with error 75
    2011-07-28 19:58:41 +0000 Logging slapd container data to /var/run/slapconfig_error_1311883121
    2011-07-28 19:58:41 +0000 Stopping LDAP server (slapd)
    2011-07-28 19:58:44 +0000 command: /usr/sbin/slapcat -l /var/run/slapconfig_error_1311883121/user.ldif
    2011-07-28 19:58:44 +0000 command: /usr/sbin/slapcat -b cn=authdata -l /var/run/slapconfig_error_1311883121/authdata.ldif
    2011-07-28 19:58:45 +0000 Error retrieving kerberos realm
    2011-07-28 19:58:45 +0000 CopyReplicaArray: ldap_search_ext_s failed
    2011-07-28 19:58:45 +0000 Error retrieving replica array
    2011-07-28 19:58:45 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.opendirectorybackup.plist
    2011-07-28 19:58:45 +0000 Deleting Cert Authority related data
    2011-07-28 19:58:45 +0000 No intCAIdentity, not removing int CA from keychain
    2011-07-28 19:58:45 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd.plist
    2011-07-28 19:58:45 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd-helper.plist
    2011-07-28 19:58:45 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertadmin.plist
    2011-07-28 19:58:45 +0000 _destroyLDAPServer: Failed to find computer record named server.freeman.private$: 2100 Connection failed to the directory server.
    2011-07-28 19:58:45 +0000 Updating ldapreplicas on primary master
    2011-07-28 19:58:45 +0000 Unable to locate primary master
    2011-07-28 19:58:45 +0000 Primary master node is nil!
    2011-07-28 19:58:45 +0000 Unable to locate ldapreplicas record: 0 (null)
    2011-07-28 19:58:45 +0000 Error setting read ldap replicas array: 0 (null)
    2011-07-28 19:58:45 +0000 Error setting write ldap replicas array: 0 (null)
    2011-07-28 19:58:45 +0000 Could not retrieve xmlplist from ldapreplicas: 0 (null)
    2011-07-28 19:58:45 +0000 Error synchronizing ldapreplicas: 0 (null)
    2011-07-28 19:58:45 +0000 Removing self from the database
    2011-07-28 19:58:45 +0000 Warning: An error occurred while re-enabling GSSAPI.
    2011-07-28 19:58:45 +0000 Stopping LDAP server (slapd)
    2011-07-28 19:58:46 +0000 cleanKeytab: unable to retrieve default realm

  • How do I stop Dreamweaver from updating the Test server copy of a file when I open the local file?

    The subject says it all. Every time I open a file, Dreamweaver connects to the testing server and uploads the local file to the test server.
    I want to stop this behaviour.  It's annoying!

    My testing server is IIS running on my local machine.
    The "local" copy of the file is actually on a remote share.  I have the test server copy open in Notepad++.  The two files are identical save for on extra line in the copy on the testing server.  When I open the "local" copy in Dreamweaver, it shows me that some file activity is being done, and then Notepad++ tells me the file has changed and do I want to reload it.  If I do, that extra line vanishes.
    When I check the file activity log, it shows that the file activity is complete.
    I haven't mentioned the production server because it doesn't seem to be affected, but we do have one.

  • Access denied in an applet that uses the jai jars

    Hello there
    I have a problem while I am using
    ParameterBlockJAI pb = new ParameterBlockJAI("scale");
    Interpolation interp = Interpolation.getInstance(
    Interpolation.INTERP_BILINEAR);
    pb.addSource(orig);
    pb.setParameter("xScale", dScale);
    pb.setParameter("yScale", dScale);
    pb.setParameter("xTrans", 0.0F); //x Translate amount
    pb.setParameter("yTrans", 0.0F); //y Translate amount
    pb.setParameter("interpolation", interp);
    RenderingHints rh= new RenderingHints(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
    rh.put(RenderingHints.KEY_ALPHA_INTERPOLATION, RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY);
    rh.put(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY);
    At the moment my application has a signed applet jar file with the MANIFEST file having the class path with the
    lib/jai_codec.jar lib/jai_core.jar lib/mlibwrapper_jai.jar files that are allocated on lib folder.
    I signed those files but I am still getting the following error while I am trying to scale down an image.
    Could you please give a help
    Thanks
    Aris
    Java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at com.sun.media.jai.util.PropertyUtil$1.run(PropertyUtil.java:99)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.media.jai.util.PropertyUtil.getFileFromClasspath(PropertyUtil.java:124)
         at com.sun.media.jai.util.PropertyUtil.getBundle(PropertyUtil.java:148)
         at com.sun.media.jai.util.PropertyUtil.getString(PropertyUtil.java:165)
         at javax.media.jai.operator.JaiI18N.getString(JaiI18N.java:19)
         at javax.media.jai.operator.AbsoluteDescriptor.<clinit>(AbsoluteDescriptor.java:65)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at javax.media.jai.RegistryFileParser.getInstance(RegistryFileParser.java:216)
         at javax.media.jai.RegistryFileParser.registerDescriptor(RegistryFileParser.java:352)
         at javax.media.jai.RegistryFileParser.parseFile(RegistryFileParser.java:287)
         at javax.media.jai.RegistryFileParser.loadOperationRegistry(RegistryFileParser.java:47)
         at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:363)
         at javax.media.jai.JAI.<clinit>(JAI.java:560)
         at javax.media.jai.ParameterBlockJAI.<init>(ParameterBlockJAI.java:178)
         at mpu.uploadingAreaPanel.scaleImage(uploadingAreaPanel.java:234)
         at mpu.uploadingAreaPanel.scale2Fit(uploadingAreaPanel.java:265)
         at mpu.uploadingAreaPanel.paintComponent(uploadingAreaPanel.java:107)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent._paintImmediately(Unknown Source)
         at javax.swing.JComponent.paintImmediately(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at javax.media.jai.RegistryFileParser.getInstance(RegistryFileParser.java:216)
         at javax.media.jai.RegistryFileParser.registerDescriptor(RegistryFileParser.java:352)
         at javax.media.jai.RegistryFileParser.parseFile(RegistryFileParser.java:287)
         at javax.media.jai.RegistryFileParser.loadOperationRegistry(RegistryFileParser.java:47)
         at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:363)
         at javax.media.jai.JAI.<clinit>(JAI.java:560)
         at javax.media.jai.ParameterBlockJAI.<init>(ParameterBlockJAI.java:178)
         at mpu.uploadingAreaPanel.scaleImage(uploadingAreaPanel.java:234)
         at mpu.uploadingAreaPanel.scale2Fit(uploadingAreaPanel.java:265)
         at mpu.uploadingAreaPanel.paintComponent(uploadingAreaPanel.java:107)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent._paintImmediately(Unknown Source)
         at javax.swing.JComponent.paintImmediately(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
         at com.sun.media.jai.util.PropertyUtil.getString(PropertyUtil.java:167)
         at javax.media.jai.operator.JaiI18N.getString(JaiI18N.java:19)
         at javax.media.jai.operator.AbsoluteDescriptor.<clinit>(AbsoluteDescriptor.java:65)
         ... 30 more

    Not sure if this is the problem, but manifests are not appropriate ways to add jar's to an applet's classpath. Instead, add each jar to the archive attribute of the applet element in the web page.
    Something like..
    <applet
      class='JaiApplet'
      archive="our.jar,lib/jai_codec.jar,lib/jai_core.jar,lib/mlibwrapper_jai.jar"
      width='600'
      height='400'>
    </applet>

  • [svn] 1494: + Copy jgroups.jar to qa-regress/WEB-INF/lib folder

    Revision: 1494
    Author: [email protected]
    Date: 2008-04-30 12:29:37 -0700 (Wed, 30 Apr 2008)
    Log Message:
    + Copy jgroups.jar to qa-regress/WEB-INF/lib folder
    + Add a clustered destination to remoting-config.mods.xml for codecoverage
    + Add url-load-balancing,class and default attributes to cluster definition in services-config.mods.xml for codecoverage
    checkintests: passed
    Modified Paths:
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/remoting-config.mods.xml
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/services-config.mods.xml
    blazeds/trunk/qa/apps/qa-regress/build.xml

    Please see following Sun Alert.
    http://sunsolve.sun.com/search/document.do?assetkey=1-26-101905-1
    The document contains links to the patches that fix this problem.

  • HTTP Server : Socet name is already in use ?

    Hi all,
    I am using workflow server 2.6.4
    While trying to start the instances workflow component container for work flow manager, it is showing the followin error
    "HTTP Server : Socet name is already in use "
    What might be reason?
    Thanks in advance.
    Thank you,
    Regards,
    Gowtham Sen.

    I�m sorry. I just realized that this is not the right place for this post.
    But if anyone has an answerer for it would be great.
    H-i-J

  • How to get started on java applet client/server game?

    Hi,
    I've googled, but didn't find any useful information about creating java applet client/server game. I've followed the example of Client/Server Tic-Tac-Toe Using a Multithreaded Server in Java How to Program from Deitel, but I when I tried on Applet, my cliet doesn't communicate with the server at all. Any help to get started with Applet would be great. Thanks!

    well, i decided to put in portion of my codes to see if anyone can help me out. the problem I have here is the function excute() never gets called. here is my coding, see if you can help. Notice, I'm running this on Applet thru html page. This shouldn't be much different than running JFrame in term of coding right?
    Server.java
        public void init()
            runGame = Executors.newFixedThreadPool(2);
            gameLock = new ReentrantLock();
            otherPlayerConnected = gameLock.newCondition();
            otherPlayerTurn = gameLock.newCondition();
            players = new Player[2];
            currentPlayer = Player1;
            try
                server = new ServerSocket(12345, 2);
            catch (IOException ie)
                stop();
            message = "Server awaiting connections";
        public void execute()
           JOptionPane.showMessageDialog(null, "I'm about to execute!", "Testing", JOptionPane.PLAIN_MESSAGE);
            for(int i = 0; i < players.length; i++)
                try
                    players[i] = new Player(server.accept(), i);
                    runGame.execute(players);
    catch (IOException ie)
    stop();
    gameLock.lock();
    try
    players[Player1].setSuspended(false);
    otherPlayerConnected.signal();
    finally
    gameLock.unlock();
    Client.java
        public void init()
            startClient();
        public void startClient()
            try
                connection = new Socket(InetAddress.getByName(TienLenHost), 12345);
                input = new Scanner(connection.getInputStream());
                output = new Formatter(connection.getOutputStream());
            catch (IOException ie)
                stop();
            ExecutorService worker = Executors.newFixedThreadPool(1);
            worker.execute(this);
        }So after worker.execute(this), it should go to Server.java and run the function execute() right? But in my case, it doesn't. If you know how to fix this, please let me know. Thanks!

  • Dont ask why! How do I call an applet that is in a jar file that is...

    Can someone tell me how I would call an applet that is inside of a jar file that is inside of a parent jar file?
    example call to an Applet
    <APPLET CODE="TimeApplet" ARCHIVE="time.jar" />what I want to do is something like
    <APPLET CODE="TimeApplet" ARCHIVE="parent.time.jar" />
    where parent is the top jar and time is the inner jar.any help or links to tutorials/articles would be most appreciated.
    if you ask why I wont answer.

    we are doing a signed applet and we only want the user to have to sign 1 time
    and we have lots of applets to display so we dont want to have them sign for
    each item.Sorry but that doesn't make much sense, niether does putting a jar file in a jar file.
    Do you want the "do you trust" question only one time? If so than you only have
    to sign all the jar files with the same key.
    You can load a jar file from your applet but it seems that these jar files will run
    in sanbox security no matter how you sign it:
    http://forum.java.sun.com/thread.jspa?messageID=3582952
    Asking why does make sense, I coud be asking how to climb a building without
    telling my objective is to get on the 10th floor.
    You would tell me how to climb the building an I'd probably do it and find out
    later I could just as well have taken the elivator.

  • Applet socket server

    Is it possible to have applet socket server? if so, pls tell me the method. Thanks.
    regards,
    Bala

    applet socket server?hmm...i dont think so...this will produce an exception... but maybe you can try signing the applet....

  • Applets and clipboard (copying text)

    I've done some small games like chess that work directly in browser as applets. During game moves are printed out to normal JTextArea component. Idea and much used feature so far have been that at the end of game players can simply copy move list to clipboard and save/use them as wanted.
    But now it seems that after Java 6 update 24 it is no longer possible to copy text from textarea to clipboard? It is possible to select all text with crtl+a but ctrl+c does nothing. Is there any way how people could get text to their clipboard from (unsigned) applet?
    Thanks!

    846649 wrote:
    ..Is there any way how people could get text to their clipboard from (unsigned) applet?See Copy in sand-boxed app. in 1.6.0_24+ for a potential solution to the new security measures. Would appreciate some test results to help work the kinks out.
    Thanks!O_o IMO thanks is well expressed by marking replies as 'helpful' or 'correct' as appropriate. Your failure to mark any of my replies in this thread as even 'helpful' has me wondering if I am wasting my time trying to help. :(

Maybe you are looking for

  • Can't get photo's from iphone to iphoto 09

    I did a clean install of osx and did not back up my photos dumb I know, now I have 73 photos on my iphone but iphoto 09 only imported the camera roll album of 11 photos the other photo albums don't import and if I sync under photos tab in itunes it s

  • Newbie - use camera for video and external microphone?

    Hi, This is a totally newbie question, but I'm a total newbie to the video part of the mac universe. I want to use a camcorder to "stream" live video into iMovie (which will record it to the hard drive), and use an EXTERNAL microphone, plugged into t

  • Finder (Mavericks) crashes when flicking through images

    Finder (Mavericks) crashes when I flick through images in cover-flow mode, it has happened several times. I hope Apple gets aware of this, and corrects in 10.9.1

  • How to run batch programs using SUBMIT command without any interaction need

    Hello ABAP gurus, I have created a batch program in SE38 which calls many other SE38 Programs (Reports). I have used the command SUBMIT to call the sub programs. There are about 15 sub programs that this main batch program is calling. It works fine,

  • Help if possible

    I am VERY VERY VERY new to Java Programming and I am trying to make a program in which I encrypt a 4-digit integer. I am supposed to have the user enter the four digit integer, and then change each digit to (the sum of the integer and 7) Mod 10. Then