Applet won't run on the IIS Server/...
I have a very simple applet which connects to my Personal Oracle 8...
When the applet starts on the web browser, it gives me this message...
Any ideas???
Any help would be great...
Java(TM) Plug-in: Version 1.2.2.px
Using JRE version 1.2.2
User home directory = C:\WINNT\Profiles\Administrator
Proxy Configuration: no proxy
JAR cache enabled.
Opening http://tuc_wkst/test/package1/Applet1.class no proxy
CacheHandler file name: C:\WINNT\Profiles\Administrator\Temporary Internet Files\Content.IE5\8XY3K12Z\Applet1[1].class
Opening http://tuc_wkst/test/oracle/dacf/control/swing/TextFieldControl.class no proxy
CacheHandler file name: C:\WINNT\Profiles\Administrator\Temporary Internet Files\Content.IE5\0PMRQ5MN\TextFieldControl[1].class
Opening http://tuc_wkst/test/oracle/dacf/control/Control.class no proxy
CacheHandler file name: C:\WINNT\Profiles\Administrator\Temporary Internet Files\Content.IE5\GHINCHMR\Control[1].class
Opening http://tuc_wkst/test/javax/infobus/DataItemChangeListener.class no proxy
CacheHandler file name: C:\WINNT\Profiles\Administrator\Temporary Internet Files\Content.IE5\4LQBSTU3\DataItemChangeListener[1].class
Opening http://tuc_wkst/test/javax/infobus/ImmediateAccess.class no proxy
CacheHandler file name: C:\WINNT\Profiles\Administrator\Temporary Internet Files\Content.IE5\85UZK96V\ImmediateAccess[1].class
Opening http://tuc_wkst/test/oracle/dacf/control/ControlEnabledListener.class no proxy
CacheHandler file name: C:\WINNT\Profiles\Administrator\Temporary Internet Files\Content.IE5\OLMNATCD\ControlEnabledListener[1].class
Opening http://tuc_wkst/test/oracle/dacf/dataset/AppModuleInfo.class no proxy
CacheHandler file name: C:\WINNT\Profiles\Administrator\Temporary Internet Files\Content.IE5\4LQBSTU3\AppModuleInfo[1].class
Opening http://tuc_wkst/test/oracle/dacf/dataset/ModuleInfo.class no proxy
CacheHandler file name: C:\WINNT\Profiles\Administrator\Temporary Internet Files\Content.IE5\O10Z6DYZ\ModuleInfo[1].class
Opening http://tuc_wkst/test/oracle/dacf/dataset/ResultSetInfo.class no proxy
CacheHandler file name: C:\WINNT\Profiles\Administrator\Temporary Internet Files\Content.IE5\85UZK96V\ResultSetInfo[1].class
Opening http://tuc_wkst/test/oracle/dacf/dataset/InfoObject.class no proxy
CacheHandler file name: C:\WINNT\Profiles\Administrator\Temporary Internet Files\Content.IE5\4LQBSTU3\InfoObject[1].class
Opening http://tuc_wkst/test/oracle/dacf/dataset/DacObject.class no proxy
java.lang.NoClassDefFoundError: oracle/dacf/dataset/DacObject
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
null
for more info: I deinstalled all plug-in versions and then ran the applet. I prompted to download plugin-1.2. Clicked ok. The plug-in downloaded and installed. But after that when I run the applet, the applet viewer(browser) loaded for a sec. then disapears.
Any help please. Thanks.
Similar Messages
-
Activating MS Office 2013 ProPlus via KMS running on the same server
Given: Microsoft Windows Server 2008 R2 Enterprise 64-bit, all the latest security updates applied.
KMS service set up and running, all the recommended updates applied (to handle possible activation issues for Windows 8 etc)
Microsoft Office 2013 Standard deployed on the server mentioned above and on workstations on intranet, volume licensing in effect (proper KMS key for activation of Microsoft Ofice 2013 has been entered).
Problem: I can't activate MS Office 2013 installation running on the same server where KMS service is being run.
There are no entries in KMS event log related to this failure.
Everything was restarted, reinstalled etc several times already (including installing 32-bit and 64-bit versions of the Office).
Output of slmgr.vbs /dlv 2E28138A-847F-42BC-9752-61B03FFF33CD:
Windows Script Host
Software licensing service version: 6.1.7601.17946
Name: Office 15, KMSHostVL edition
Description: Office 15, VOLUME_KMS channel
Activation ID: 2e28138a-847f-42bc-9752-61b03fff33cd
Application ID: 0ff1ce15-a989-xxxx-xxxx-xxxxxxxxxxxx
Extended PID: 55041-00206-234-486666-03-xxxx-xxxx.xxxx-xxxxxxx
Installation ID: 01683679734050124078134659xxxxxxxxxxxxxxxxxxxxxxxxxxx
Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88342
Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88344
Partial Product Key: xxxxx
License Status: Licensed
Remaining Windows rearm count: 4
Trusted time: 2/05/2015 10:00:12 AM
Key Management Service is enabled on this machine
Current count: 0
Listening on Port: 1688
DNS publishing enabled
KMS priority: Normal
Key Management Service cumulative requests received from clients
Total requests received: 0
Failed requests received: 0
Requests with License Status Unlicensed: 0
Requests with License Status Licensed: 0
Requests with License Status Initial grace period: 0
Requests with License Status License expired or Hardware out of tolerance: 0
Requests with License Status Non-genuine grace period: 0
Requests with License Status Notification: 0
OK
Output of cscript ospp.vbs /dstatus
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
SKU ID: b13afb38-cd79-4ae5-xxxx-xxxxxxxxxxxx
LICENSE NAME: Office 15, OfficeStandardVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
LICENSE STATUS: ---OOB_GRACE---
ERROR CODE: 0x4004f00c
ERROR DESCRIPTION: Run the following: cscript ospp.vbs /ddescr:0x4004f00c
Last 5 characters of installed product key: GVGXT
DNS auto-discovery: KMS name not available
Activation Interval: 120 minutes
Renewal Interval: 10080 minutes
KMS host caching: Enabled
---Exiting-----------------------------Given: Microsoft Windows Server 2008 R2 Enterprise 64-bit, all the latest security updates applied.
KMS service set up and running, all the recommended updates applied (to handle possible activation issues for Windows 8 etc)
Microsoft Office 2013 Standard deployed on the server mentioned above and on workstations on intranet, volume licensing in effect (proper KMS key for activation of Microsoft Ofice 2013 has been entered).
Problem: I can't activate MS Office 2013 installation running on the same server where KMS service is being run.
There are no entries in KMS event log related to this failure.
Everything was restarted, reinstalled etc several times already (including installing 32-bit and 64-bit versions of the Office).
Output of slmgr.vbs /dlv 2E28138A-847F-42BC-9752-61B03FFF33CD:
Windows Script Host
Software licensing service version: 6.1.7601.17946
Name: Office 15, KMSHostVL edition
Description: Office 15, VOLUME_KMS channel
Activation ID: 2e28138a-847f-42bc-9752-61b03fff33cd
Application ID: 0ff1ce15-a989-xxxx-xxxx-xxxxxxxxxxxx
Extended PID: 55041-00206-234-486666-03-xxxx-xxxx.xxxx-xxxxxxx
Installation ID: 01683679734050124078134659xxxxxxxxxxxxxxxxxxxxxxxxxxx
Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88342
Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88344
Partial Product Key: xxxxx
License Status: Licensed
Remaining Windows rearm count: 4
Trusted time: 2/05/2015 10:00:12 AM
Key Management Service is enabled on this machine
Current count: 0
Listening on Port: 1688
DNS publishing enabled
KMS priority: Normal
Key Management Service cumulative requests received from clients
Total requests received: 0
Failed requests received: 0
Requests with License Status Unlicensed: 0
Requests with License Status Licensed: 0
Requests with License Status Initial grace period: 0
Requests with License Status License expired or Hardware out of tolerance: 0
Requests with License Status Non-genuine grace period: 0
Requests with License Status Notification: 0
OK
Output of cscript ospp.vbs /dstatus
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
SKU ID: b13afb38-cd79-4ae5-xxxx-xxxxxxxxxxxx
LICENSE NAME: Office 15, OfficeStandardVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
LICENSE STATUS: ---OOB_GRACE---
ERROR CODE: 0x4004f00c
ERROR DESCRIPTION: Run the following: cscript ospp.vbs /ddescr:0x4004f00c
Last 5 characters of installed product key: GVGXT
DNS auto-discovery: KMS name not available
Activation Interval: 120 minutes
Renewal Interval: 10080 minutes
KMS host caching: Enabled
---Exiting----------------------------- -
How Can I create a cluster of two instances running on the same server?
Hello,
I can't find how to create a cluster or even a failover rule for my two instances running on the same server ODSEE 11gR1.
Could you please help?
Thanks,Hello,
Clustering (intended as Sun Cluster, Veritas Cluster, etc... ) IS NOT SUPPORTED since 7.0:
http://docs.oracle.com/cd/E20295_01/pdf/821-1216.pdf [page 20]
and, based on my own experience, is the WORST way of achieving high availability of an LDAP Directory Service and an almost GRANTED way to get replication issues in your topology (lock, split, re-init, etc...).
Please use instead the 'application-level' clustering that you get out of the box with the Multi-Master Replication.
http://docs.oracle.com/cd/E20295_01/html/821-1217/index.html
http://docs.oracle.com/cd/E20295_01/html/821-1220/fhkry.html#scrolltoc
HTH,
Marco -
Securing applications communications running in the same server
Hi everybody,
I want to share critical information between two applications (medical information about patients) using JMS queues, moreover due to this criticity i was planning to secure this communication using SSL. The problem is that one of the client applications, because of his architecture, have problems when accessing the JMS queues.
But I have to say that both applications will run in the same server (physical machine), knowing that, what kind of security problems could we encounter if, finnally we don't cypher the communication?
I guess that the danger is lower than if the two applications would run in different machines, wouldn't it?
Thanks!!!hi,
add crossContext="true" in server.xml under tomcatx.x\conf\ in your <Context tag -
An exception occurred while reading or writing from/to the IIS server
Hi All,
I am trying to install and configure calendar connectivity in EP6 sp9.
As mentioned in
http://help.sap.com/saphelp_nw04/helpdata/en/1d/3d59fdaa5ebb45967ea107d3fa117a/frameset.htm, i have installed MSX-A component and On testing MSX-A Component i am not getting any error.
Also log file looks like this.
BEGIN 3/8/2005 10:09:00 AM----
URL: HTTP://10.10.18.213:8080/Calendar.asp
URL Parameters: Server=10.10.18.205&Alias=[email protected]&Action=READ&StartDate=200503081007&EndDate=200503091007&Email=[email protected]&Debug=true
Reponse: <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<!DOCTYPE OUTPUT [<!ELEMENT OUTPUT (FAILURE|APPOINTMENTS)>
<!ELEMENT FAILURE (ERRORNUMBER?, ERRORMESSAGE?, CLASSNAME?, METHODNAME?, LINENUMBER?, PARAMETERS?)>
<!ELEMENT ERRORNUMBER (#PCDATA)>
<!ELEMENT ERRORMESSAGE (#PCDATA)>
<!ELEMENT CLASSNAME (#PCDATA)>
<!ELEMENT METHODNAME (#PCDATA)>
<!ELEMENT LINENUMBER (#PCDATA)>
<!ELEMENT PARAMETERS (#PCDATA)>
<!ELEMENT APPOINTMENTS (APPOINTMENT*)>
<!ELEMENT APPOINTMENT (ID, SUBJECT?, LOCATION?, STARTDATE, ENDDATE, MEETINGTYPE, ALLDAY, RECURRING, BUSYSTATUS?)>
<!ELEMENT ID (#PCDATA)>
<!ELEMENT SUBJECT (#PCDATA)>
<!ELEMENT LOCATION (#PCDATA)>
<!ELEMENT STARTDATE (#PCDATA)>
<!ELEMENT ENDDATE (#PCDATA)>
<!ELEMENT MEETINGTYPE (#PCDATA)>
<!ELEMENT ALLDAY (#PCDATA)>
<!ELEMENT RECURRING (#PCDATA)>
<!ELEMENT BUSYSTATUS (#PCDATA)>]><OUTPUT><APPOINTMENTS></APPOINTMENTS></OUTPUT>
END 3/8/2005 10:09:00 AM----
i have created calendar repository and exchange system on the portal and now i am getting this error in MyAppointment iView in <i>Content Provided by SAP</i>.
<i><b>An exception occurred while reading or writing from/to the IIS server.</b></i>
i would appreciate if you please help me urgently
thanx and regards
Santosh ChoudharyHi Akhilesh,
I am able to browse HelloWorld.asp in same website. Also i am not getting any error while testing data retrieval through SAPPXchTest.exe, log file looks like this.
<b>IIS Log File</b>
IIS Log File
#Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2005-03-18 04:44:58
#Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status cs(User-Agent)
2005-03-18 04:44:58 10.10.18.213 - 10.10.18.213 8080 GET / - 401 Mozilla/4.0(compatible;MSIE6.0;WindowsNT5.0)
2005-03-18 04:45:05 10.10.18.213 santoshc 10.10.18.213 8080 GET / - 200 Mozilla/4.0(compatible;MSIE6.0;WindowsNT5.0)
<b>Application Log File</b>
BEGIN 3/18/2005 10:18:31 AM----
URL: HTTP://10.10.18.213:8080/Calendar.asp
URL Parameters: Server=10.10.18.205&[email protected]&Action=READ&StartDate=200503161151&EndDate=200503171151&[email protected]&Debug=true
Reponse: <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<!DOCTYPE OUTPUT [<!ELEMENT OUTPUT (FAILURE|APPOINTMENTS)>
<!ELEMENT FAILURE (ERRORNUMBER?, ERRORMESSAGE?, CLASSNAME?, METHODNAME?, LINENUMBER?, PARAMETERS?)>
<!ELEMENT ERRORNUMBER (#PCDATA)>
<!ELEMENT ERRORMESSAGE (#PCDATA)>
<!ELEMENT CLASSNAME (#PCDATA)>
<!ELEMENT METHODNAME (#PCDATA)>
<!ELEMENT LINENUMBER (#PCDATA)>
<!ELEMENT PARAMETERS (#PCDATA)>
<!ELEMENT APPOINTMENTS (APPOINTMENT*)>
<!ELEMENT APPOINTMENT (ID, SUBJECT?, LOCATION?, STARTDATE, ENDDATE, MEETINGTYPE, ALLDAY, RECURRING, BUSYSTATUS?)>
<!ELEMENT ID (#PCDATA)>
<!ELEMENT SUBJECT (#PCDATA)>
<!ELEMENT LOCATION (#PCDATA)>
<!ELEMENT STARTDATE (#PCDATA)>
<!ELEMENT ENDDATE (#PCDATA)>
<!ELEMENT MEETINGTYPE (#PCDATA)>
<!ELEMENT ALLDAY (#PCDATA)>
<!ELEMENT RECURRING (#PCDATA)>
<!ELEMENT BUSYSTATUS (#PCDATA)>]><OUTPUT><APPOINTMENTS></APPOINTMENTS></OUTPUT>
END 3/18/2005 10:18:31 AM----
But when i am Testing it from the Portal i am getting this error.
I have created Exchange Transport that whose configuration looks like this:
System Alias : myExchange
Domain : mydomain
exchange server : 10.10.18.205
IIS server : 10.10.18.213
Port : 8080
Protocol : Http
Exchange is the Name of System and Alias name is myExchange.
Hope this will help you to solve my problem.
Thanks and regards,
Santosh Choudhary<b></b><b></b> -
AE CS6 won't run after the Mavericks 10.9.3 update
My AE CS6 won't run after the Mavericks 10.9.3 update the other day. I was prompted that the current version of my AE was 11.0, so I searched and found the seemingly most up-to-date here: Adobe - After Effects : For Macintosh : Adobe After Effects CS6 11.0.4 Update : Thank You
My question is this: since I'm new to Mac, should I download the update and install it to my existing instance of AE and it will allow AE CS6 to run as normal? And the way to install the update is simply to double-click the .dmg?
Thanks!Instructions for installing the update are on the download page here:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5696 -
got a new ipad today it won't activate says the activation server can't be reached tried connecting into itunes but it won't even do that suggestions?
Realllly really that busy yes.
Millions and millions and millions of people on it now.
The entire planet Earth is trying to download the same thing at the same time.
Give it some time. -
My itunes won't connect to the itunes server. Can someone help?
My itunes won't connect to the itunes server. Can someone help?
This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes forums.
When you repost, you'll need to include a lot more informaton about your system and the exact nature of the problem. As it is, there's nothing for anyone to base a diagnosis on.
Regards. -
Class Not Found Exception - applet won't run anywhere outside of IDE
I have an applet that runs perfectly in the netbeans IDE, but won't run from command prompt (I'm using windows) or from a browser. I've been banging my head against the wall for a few days on this one. Here's the HTML I'm using:
<applet width="400" height="525" code="musicapplet.class" archive="crypticgraffiti.jar">
<param name="bgcolor" value="ffffff"> <param name="fontcolor" value="000000">
</param> </param> Your browser is not Java enabled. </applet>
Here is the structure of the jar file's contents:
META-INF/
META-INF/MANIFEST.MF
com/
com/crypticgraffiti/
com/crypticgraffiti/music/musicapplet
com/crypticgraffiti/music/GetNotes.class
com/crypticgraffiti/music/InstList.class
com/crypticgraffiti/music/Mode.class
com/crypticgraffiti/music/MusicCreator.class
com/crypticgraffiti/music/OctaveTransformer.class
com/crypticgraffiti/music/Phrase.class
musicapplet/MusicApplet$playerThread.class
musicapplet/MusicApplet.class
(Musicapplet.class is the main class)
When I attempt to run from command prompt, I get:
"Error: Could not find or load main class crypticgraffiti.MusicApplet"
When I attempt to load via html:
"basic: load: class musicapplet.class not found.
load: class musicapplet.class not found.
java.lang.ClassNotFoundException: musicapplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: musicapplet.class
security: Accessing keys and certificate in Mozilla user profile: null"
I have tried every possible variation for the 'code' element of the applet tag (package.mainclass.class, mainclass, mainclass.class, etc). I have also tried compiling with JDK 1.6 and this didn't change anything. I've tried clearing out the cache of temporary files using the java control panel settings, and have verified that my browser can run other applets using JRE 6 and 7.
I've tried some different ways of distributing the applet, also: putting all the class files in the folder with the html file, putting the classes in a source folder in the same folder as the html file, and finally putting a jar in the same folder as the html file (which really seems the simplest).
Any help at all would be most appreciated! This applet is a very cool and original music creating app that draws heavily on the JFugue API. It's a shame that I can't get it online for people to play with!Cryptic Graffiti wrote:
Here is the structure of the jar file's contents:
META-INF/
META-INF/MANIFEST.MF
com/
com/crypticgraffiti/
com/crypticgraffiti/music/musicapplet
com/crypticgraffiti/music/GetNotes.class
com/crypticgraffiti/music/InstList.class
com/crypticgraffiti/music/Mode.class
com/crypticgraffiti/music/MusicCreator.class
com/crypticgraffiti/music/OctaveTransformer.class
com/crypticgraffiti/music/Phrase.class
musicapplet/MusicApplet$playerThread.class
musicapplet/MusicApplet.class
(Musicapplet.class is the main class)
Please note that class names are case sensitive so "MusicApplet" is not same as "Musicapplet" or "musicapplet". Your applet tag should have fully qualified class name (without quotes) and should look like this:
<applet width=400 height=525 code=musicapplet.MusicApplet archive="crypticgraffiti.jar">
</applet>
The JAR should be in the same directory as your HTML file. While launching from command line, you can also check if your JAR file is getting included in classpath.
Thanks,
Nitin -
Java applets won't run on Safari???
I have reinstalled Java twice, and it still won't run any Java applets. It just sits there with the cup logo and the arrow on either side. It works fine on Firefox but not Safari. Help?
Hello
I'm piggy backing on this thread because I too have had problems with Java and Safari
Java runs fine for me in Firefox, however.
I went to a federal website
https://blrscr3.egs-seg.gc.ca/gol-ged/gov/browserdetection/BrowserCheck.html
that uses java and received this message
" Java applet unable to load
To use this service, you must either install a recent version of the Sun JVM or enable "Scripting of Java applets" if it has been disabled."
so i looked for an update and have downloaded and installed release 6, (at least, it said that it was installed, but have never been able to figure out where)
when I check Java preferences, the choices are J2SE 1.4.2 or J2SE 5, and when I've switched to 1.4.2 I still have no luck.
When i run firefox, i get the java console opening, but it doesn't open with safari, and I can't find the option for this to turn on in safari
i have restarted both safari and my computer and no luck. I have repaired permissions and no changes have taken place.
Any more suggestions?
(thank you, by the way) -
PHP script won't run in the background
Hi all
Hope someone can help me with a weird issue I have...
I am trying to run a php CLI script in the background and it just won't run - it has a status of Stopped SIGTOU (Trying to write output) - Here are the details
OS
Mac OS X Lion 10.7.2
PHP
PHP 5.3.6 with Suhosin-Patch (cli) (built: Sep 8 2011 19:34:00)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
I created a basic script test.php
<?php echo 'Hello world'.PHP_EOL; ?>
Here are the results of various tests:-
Test 1) php -f test.php (Hello world gets displayed)
Test 2) php -f test.php >test.log 2>&1 (Hello world gets put into test.log)
Test 3) php -f test.php >test.log 2>&1 & --- I get [1]+ Stopped(SIGTTOU) php -f test.php > test.log 2>&1 -- and the job just sits there doing nothing nothing gets logged however lsof shows the log file is open
It has to be something to do with Apple's php build because a similar bash shell script gets executed no problems in the background...
This has me stumped ... any ideas? What can I do to find out what is going on ...?
TIA
RichJust realized your trying to load the php files by using the File->Open menu item in the Browser. That won;t work.
You have to load the php file by placing it in the Sites folder and entering http://localhost/file.php
(or if you have user Sites enabled http://localhost/~user/file.php)
The reason it is grayed out is that the browser doesn't run (or know of) php files. The web server runs those (via php) and the output of the file goes to the web browser.
This page How to enable Web Sharing in OS X Mountain Lion does a pretty good job of explaining it. (as does the user tip I lonked to before) -
How to run servlets in IIS Server
Hi Techies,
I had read in one book , in IIS server we can run servlets n jsp.
Can u guys tell how can we run servlets n jsp in IIS server. Does we need to include some 3rd party software in IIS
regards,
KRishWell if you were to use apache you would use the
mod_jk_apache2
However, im really not sure if that is around for win32 systems. However, as i said above im not 100% on windows systems.
If you really want to test portability set aside a 5gb partition and install linux which most standard distros already have apache2/tomcat installed.(Fedora)
Also i have to agree this seems less and less java based and more and more system based.
If you plan on taking the route mentioned above start a post at places like linuxquestions.org since they have more tech junkies then you could imagine. -
Java applet won't run: ClassFormatError: Unknown constant tag 115
Hi,
About two years ago I uploaded an applet to a server and it ran fine. Since then I've done minor tweaks to the applet and it works on my computer, but I recently uploaded it to a new server and now it gives me the following:
java.lang.ClassFormatError: Unknown constant tag 115 in class file chemlet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassFormatError: Unknown constant tag 115 in class file chemlet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I've already checked that I uploaded everything in binary and that my .class files are intact on the server. In fact I uploaded my files and downloaded them back onto my computer and they run fine. Also I have another applet running smoothly on the same server (which also used to reside on the old server) and it's not having any problems. I have 9 .class files in total and all of them are uploaded. chemlet is the file where execution should start. Any ideas for what to do?
Thanks in advance.Either there is some version problem in applet. or the classfile might have some constant which is not getting referenced properly.
might be in your chemlet file . use decompiler to open your class file and then check the line number 115 in your chemlet file to see what is the problem there. -
Auto Scheduled run of the Sql server management studio or a auto refreshing query
Hi ALL ,
This is a very different weird requirement but workaround for one of my requirement . Scenario is that sql server enterprise edition is installed on a vm . I create a session with the vm using the remote desktop . I have scheduled a ssis package
on the server and it should run 4 am daily us timing but its failing . If in case a user is connected to the management studio package runs on time . So i have to disconnect from the remote desktop and its not possible for me to login at 4 am every day for
running package.
Requirement : Is it possible that the sql sever management studio automatically turns on at 03:30 am and authenticates in .If that is possible my package won't fail . If this is not possible is it possible that sql script auto refreshes every
30 min's so what i can do i will run the auto refreshing script in the management studio once and will disconnect the remote desktop not the sql server session so my virtually my session on vm will end but vm is always on from the vcenter and there is some
activity on the sql server management studio so even the application won't be closed after a stipulated time frame leading to running of my package on time.
Please helpHi Latheesh NK ,
Below is the error message SSIS one i extracted from the history :
Date 3/8/2014 11:00:00 AM
Log Job History (SSIS package)
Step ID 1
Server xyz\xyz
Job Name SSIS package
Step Name Package
Duration 00:00:01
Sql Severity 0
Sql Message ID 0
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted 0
Message
Executed as user: xyz\Administrator. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 32-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 11:00:00 AM Error: 2014-03-08
11:00:01.31 Code: 0xC0208449 Source: Data Flow Task 1 Source - Query [95] Description: ADO NET Source has failed to acquire the connection {68D5B1D7-17B1-4F95-9B1D-7615425C4A07} with the
following error message: "ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified". End Error Error: 2014-03-08 11:00:01.31 Code: 0xC0047017 Source:
Data Flow Task 1 SSIS.Pipeline Description: Source - Query failed validation and returned error code 0xC0208449. End Error Error: 2014-03-08 11:00:01.31 Code: 0xC004700C Source:
Data Flow Task 1 SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2014-03-08 11:00:01.31 Code: 0xC0024107 Source: Data Flow Task 1
Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:00:00 AM Finished: 11:00:01 AM Elapsed: 0.406 seconds. The package execution
failed. The step failed. -
Cannot get a WebForm To run on production IIS Server 7.5
I have been all over the Internet and cannot figure this out. I am trying to develop a Web Form that will access a SQL Server. I am using VS Studio 2012 and Accessing a SQL Server on a network connected machine. In the VS Studio default environment it works
fine, but when I deploy to the existing IIS 7.5 server it bombs. I thought it was something with ASP.NET access roles and I configured that to allow anonymous.
I am getting the parser error:
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'WebApplication1.WebForm1'.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1" %>
Line 2:
Line 3: <!DOCTYPE html>
Source File: /WebApplication1/WebForm1.aspx Line:
1
Yes WebApplication1.WebForm1 class does exist in WebForm1.aspx.vb... Like I said it runs in the VS2012 environment....
Can anyone shed some light on this???
Thanks in advance.
TomHi,
Since there is a dedicated forum for web development issues
https://forums.asp.net , I would suggest you consider posting this issue in that forum to narrow down this issue.
Thanks for your understanding.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
Solaris8+patch display refresh rate problem
I have installed the 109401-05 video patch for Solaris8 to update the video card drivers. But now at 1600x1200 screen resolution the maximum display refresh rate is always 60Hz, altough higher settings in kdmconfig. The behaviour is similar at 1280x1
-
How to insert date/time to sql database
Hi, I would like to insert date and time alongside with my data receiving from the sensor. Right now i can insert data into sql table everytime when the data changes but i also wanted to insert the date and time as well. Thank you in advance!
-
do anybody know when Linksys suppose to release the Wireless-N Ethernet Bridge with Dual-Band. I chk w/ Best Buy and they are not sure.
-
I am running Reports 6.0 . My Question. 1) I want to change the subject, add my own text in message box and attach the report generated from reports in pdf format, Mail to selected user automatically by calling the reports to be mailed from another r
-
Wake on Lan doesn't work anymore
Hello all, I have 3 computers (1 iMac and 2 Mac Mini) connected via Wifi or Ethernet to my router. One Mac Mini (a Late 2006 under Snow Leopard) is used as a "NAS" with 2 USB external hard drives. "Wake for network access" is checked in Energy Saver