Rule with applescript does not run
I made this script to get rid of special spam messages that the usual filter would detect, it's very effective, the only problem is that Mail does launch it from the rule I set up ...
Weird ! Any idea welcome ...
Fred (from France)
Sometime Applescript is a bit like magic - you need the right incantation. I have several scripts that are fired by Mail rules, and am posting below the skeleton I use. I store the scripts in ~/Library/Scripts/Applications/Mail. I don't know if this is a requirement, but it does have the advantage of being able to run them as well from the script menu. To run them from the script menu they need the on run handler; they may run without it via a rule, but having got them working with it I am reluctant to remove it.
In the rule I put "stop evaluating rules" after the "run applescript" action.
AK
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">using terms from application "Mail"
on perform mail action with messages theMsges --for rule TheRule
tell application "Mail"
repeat with ThisOne in theMsges
--your stuff goes here ...
end repeat
end tell
end perform mail action with messages
end using terms from
using terms from application "Mail"
on run
tell application "Mail" to set sel to selection
tell me to perform mail action with messages (sel)
end run
end using terms from
</pre>
Similar Messages
-
Applescript run from Mail rule does not run
I am attempting to run an Applescript from a Mail rule. Basically, the Applescript does not run.
Stripped to the bare essentials, the following script runs fine when Applying a rule in Mail:
say "Hello"
as well as this one:
say "Hello"
using terms from application "Mail"
on perform mail action with messages theMessages for rule theRule
tell application "Mail"
-- statements to process each message in theMessages
end tell
end perform mail action with messages
end using terms from
But, when I remove the comments from the block lifted verbatim from the Applescript manual:
say "Hello"
using terms from application "Mail"
on perform mail action with messages theMessages for rule theRule
tell application "Mail"
-- statements to process each message in theMessages
end tell
end perform mail action with messages
end using terms from
the script does not even say Hello.
I am trying to go as far as having the Applescript create a new ToDo based on specific incoming emails, but I can't get any but the simplest Applescript to run.
Can anyone help me?
TomThe script works just fine - at least, as designed if not as expected.
When the script runs, Mail and/or AppleScript looks for a perform mail action handler. If that is found, the commands within are executed.
If there is no perform mail action handler then the script is run as-is (i.e. as if you clicked 'Run' in AppleScript Editor).
And that's exactly what's happening here. In the first case (that works) the script is running because there's no (visible) perform mail action handler.
In the second case where it apparently doesn't work, there is a handler, so that handler is being executed. Any code outside that handler is ignored (unless it's called from within the perform mail action handler.
Since your 'say' command is outside the handler, it is ignored. However, if you move it inside the perform mail action handler you'll hear your speech. -
ICal does not run one event that has a Applescript attached to it. 24u?
I have a number of reoccurring events in iCal that run a Applescript. Tow of them refuses to run. I have tried it as a Applescript and saved it as a run only and neither works (the script run fine if I test them by hand).
so I thought I have a look in the log and found this 24u information.
can anybody help out here? I am not sure why it appears, if it is good or bad, how to fix it and if it is at all realted to my problem. Other scripts seem to run well, it is this one and an other one that do not get activated by iCall.
They run on a MM running 10.6.8, iCall 4.0.4 (1395.7)
Thanks.
Log today:
19/09/2011 07:00:00 iCal Helper[211] Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
19/09/2011 07:00:00 [0x0-0x12012].com.apple.iCal.helper[211] iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.
19/09/2011 07:45:01 iCal Helper[317] Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
19/09/2011 07:45:01 [0x0-0x28028].com.apple.iCal.helper[317] iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.
19/09/2011 14:30:02 iCal Helper[1019] Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
19/09/2011 14:30:02 [0x0-0x73073].com.apple.iCal.helper[1019] iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.Hi,
It looks like the version of 24U's Appearance OSAX you have installed does not run on Lion.
I would contact the developer to see if they have a version that does yet. See http://www.24usoftware.com/AppearanceOSAX
Alternatively you could look to see if the Applescript really needs to use it.
Best wishes
John M
Edit: If you are running Snow Leopard, I think you may need to make the application "iCal Helper" (which you'll find in iCal's application package) run as 32 bit. I'd also suggest you check this with 24U. -
Add does not run with sql server 2008
Hi all,
My add on in the development environment does not run with SQL SERVER 2008. It ran well with SQL Server 2005 and sap b1 2207 B.
On executing the project file system throws an error "YOU ARE NOT CONNECTED TO THE COMPANY"
we are trying this scenario on a test machine where SAP B1 2007B with temporary license for one month and SQL server 2008
is installed.
Help needed.
Thanking you
PradnyaHi Use this
Dim i as integer
i=oCompany.Connect()
if i<> 0 Then
msgbox(ocompany.GetLastErrorDescription ())
end if
the you will get the error description also use try catch wherever necessary
Alternatively you can use
Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
Set SboGuiApi = New SAPbouiCOM.SboGuiApi
sConnectionString = Command
SboGuiApi.Connect sConnectionString
Set SBO_Application = SboGuiApi.GetApplication()
Set ocompany = New SAPbobsCOM.Company 'initialate DI company object
ocompany = SBO_Application.Company.GetDICompany
HTH,
Atul -
premiere elements 12, new installation, serial no. accepted, installation completed and new started, but does not run. I get following msg-box: "LoadLibrary failed with error 126: Das angegebene Modul wurde nicht gefunden." Installation in German Language on WIN7 professional 64bit, Samsung SSD. What can I do to run that program?
Jurgen Freund
Premiere Elements 12 on Window 7 64 bit. What video card/graphics card does your computer use - AMD Radeon?
I have found this YouTube video on the subject of Error 126 with details for resolving the problem.
How to fix the ERROR 126 when you open OpenGL programs - YouTube
The link was contributed in an old 2013 thread here by the ID danneomarre (see post 6 of the following thread)
LoadLibrary failed with error 126: cant find the required
Please let us know if that worked for you.
Thank you.
ATR
Add On...When all is OK and working, please update 12 to 12.1 Update using an opened project's Help Menu/Update. -
Task does not run with transaction currency
Dear All,
When i am executing IU AR/AP elimination, I am getting error " Task does not run with transaction currency ("per TC" option reset) "
Message no. UCF5104
Diagnosis
The present task is configured so that no values are analyzed in transaction currency. However, the option "per transaction currency" is selected in the method definition. This only makes sense if you also want to analyze the values in transaction currency.
System response
The task is being executed without the option "per transaction currency".
Please advise me how to resolve the issue.
Regards,
MalaniDear Dan,
I would like to know what will be the effect if we remove o-Per Currency option in Method.
I would like to know, in the document also in properties tab - in Key figures - Check box - Transaction Currency. If i select the warning message not coming. So kindly let me know what exactly check box -Transaction currency is used in Document type and whether it is interlinked with Method.
Thanks
Malani -
i m working in an organization where web-sense is installed to block all irrelevant sites, i have installed itunes but it does not run a window pops up with message 'itunes is not connected to the network' can anyone help me out?
There's a whole lot to read in your post, and frankly I have not read it all.
Having said that, this troubleshooting guide should help:
http://support.apple.com/kb/TS1538
In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it. -
Why when i run magic bullet with adobe premiere CS5 then adobe premiere CS5 does not run ?
Hi there,
I would like to ask you why when i am using magic bullet and then i am going to open the premiere CS5 , then the adobe premiere CS5 does not run ?First of all , I would like to thank you for the help.
Secondly , I would like to inform you that I used to have the Adobe CS4 but one friend of mine change it into CS5 , but nothing worked properly after it. e
I download the Adobe CS5.5 Master Collection (as trial) from the official site of the Adobe. Then , I download the MB http://www.redgiantsoftware.com/support/faq/product-specific/magic-bullet-looks/226/ from here but when i am going to use the filters , one X shows on the screen and i cant work... Any help ? -
REPORT DOES NOT RUN CORRECTLY , URGENT PLEASE HELP
Hi,
I am trying to run a report from visul basic screen, but it does not run correctly. Here is how I am running the report. There is a screen developed in VB This screen prompts the user for user id and password. Once it gets that, it connects to the oracle database and pulls out a column from a table. And passes that value as a parameter to the report. Now I am calling the the report for each individual value . There are 21 value being pulled out of the database and it invokes the report 21 times. So there are 21 report engines gets started. Is there a better way to do that ? Secondly when I pass the parameter , some parameters does not pass correctly I guess , because its not generating any out put . Like out of 21 may be 10 or 11 reports gets generated correctly but rest of the reports are blank. I debug the screen i saw that the parameter value is correct, everything seems good. But still the reports are comming blank. Any Idea why it is so ? The command line that i am using in VB screen is
Shell "C:\progra~1\ora95_2\bin\rwrun60.exe P:\Business_Analysis_&_Reporting_Tool\Test_REPORT_Templates\STORE_TYPES\Baby_Distribution_Report.Rdf USERID=" & UID & "/" & PWD & "@cposp201 DESFORMAT=PDF DESTYPE=FILE DESNAME=" & txtPath.Text & Replace(strName, " ", "_") & ".PDF BRND='" & adoRecBrand!Brand & "' PRINTJOB=NO PARAMFORM=NO"
In the above command " adoRecBrand!Brand " is the parameter thats being passed. This is actually a recordset and brand is the column in it. When I debug the screen , I see the value also there. But the report comes out blank. Please help. This is urgent.
Thanks
FerozThe way you call reports is not scalable. If you have 100 records come back from database, you would end up launch 100 engines at the same times, which probably will blow up your machine. You should use oracle reports server to do that. You can either use rwcli60 to submit the job to reports server, or invoke rwcgi60 from URL.
I am afraid some of reports engine failed to start and you get nothing back in your case.
After switch to use reports server achitecture, if you still see some report is blank in your application, then you can run that report with that special set of parameters manually and see if any problem with the report itself.
Hope this helps.
Thanks,
-Shaun -
Lightroom 5.6 does not run following latest CC Photoshop 2014 and Bridge updates
I am running Creative Cloud Photography on OSX 10.9.4. Yesterday I updated Photoshop 2014 and Bridge using the CC desktop app as prompted by CC. Since then Lightroom does not run. When I open it the blue intro screen flashes up for less than a second. To try and recover I have uninstalled Lightroom (5.6) and re-installed it several times using both the CC app and directly from the Adobe website. The result is always the same. I can find nothing about this on Adobe Support although I can find others who have had the same symptoms on a web search. Their solution was to re-install Lightroom from the web site but that hasn't worked for me. I had Lightroom installed before I went to CC and before CC included Lightroom in the Photography package. Does anyone understand this issue and can you please advise me what to try next? Many thanks.
Okay, Solution 1 from this link Error "Unable to start correctly - 0Xc00007b" fixed it for me. But now it's asking me for the serial number which I can't find anywhere... shouldn't that go without with the cloud?
-
I decided to learn Qt Java and KDEJava. I found some demo code here but I can't get it to work.
It compiles fine.
$ javac -classpath $CLASSPATH:/opt/kde/lib/java/qtjava.jar ScribbleWindow.java
But does not run.
$ java -classpath $CLASSPATH:/opt/kde/lib/java/qtjava.jar ScribbleWindow
Exception in thread "main" java.lang.UnsatisfiedLinkError: no qtjava in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.kde.qt.qtjava.initialize(qtjava.java:272)
at org.kde.qt.qtjava.<clinit>(qtjava.java:283)
at ScribbleWindow.<clinit>(ScribbleWindow.java:300)
$
Wiki says that
==> Kdebindings has been built with support for Java and GTK.
==> If you want to use these features use the following pacman commands:
==> 'pacman -S j2sdk'
==> 'pacman -S gtk'
I have kdebindings and j2sdk installed. After searching the forum I'm not sure if Wiki is right. Is kdebindings compiled with java support or not? Am I supposed to install or recompile something to get it working?phrakture wrote:
ummm, try it like this:
$ java -classpath $CLASSPATH:/opt/kde/lib/java/ ScribbleWindow
It gives different error:
$ java -classpath $CLASSPATH:/opt/kde/lib/java/ ScribbleWindow
Exception in thread "main" java.lang.NoClassDefFoundError: org/kde/qt/QWidget
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source) -
Counting rule /00/007 does not exist
Hi
While maintaining an attendance(2002) type using tcode PA30 resulted in an error as " Counting rule /00/007 does not exist"
with a message number "Message no. 3H010".
Can any one please analyse the error and suggest the solution for the same. If need to maintain any customization can you please specify the particular path to maintain those settings.
Regards
PavanHi
@ Sikindar
I Can see my counting rule in the table T556C
@ Jithu
I have maintained all the things which you have specified.
@ Evani
I have maintained alll the entries. Just now i cross verified too.
@ all above
Can you please suggest me the solution please because i have crossed all the steps which you have mentioned still got an error. Is there anything else to be maintained for this counting rule??
Regards
Pavan -
OS X Mavericks 10.9.3 Does Not Run Smoothly
Hi,
I just upgraded my iMac and MBP from the Mac OS X ML 10.8.5 to the latest OS X Mavericks 10.9.3.
The new system does not run smoothly.
No matter it's the iMac or the MBP, the screen freezes for a very short of time whenever I try to switch to a different running program(especially when I try to switch to other programs from the Safari).
So what's causing the problem? What should I do about it?
Thanks.
EdLaunch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
The title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.
Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
☞ Some private information, such as your name, may appear in the log. Anonymize before posting. -
Javaee6 sample does not run on remote GF 3.1
I installed javaee6 with samples:
java_ee_sdk-6u2-jdk-linux-x64-ml.sh
I can run "automatic-timer" sample properly, when GF 3.1 runs on localhost.
If GF 3.1 runs on a remte host.
I set the remote GF 3.1 in bp-project/build.properties:
javaee.server.name=192.168.1.101
Now automatic-timer sample does not run:
[java] Waiting for the timer to expire
[java] Logged timeouts :
[java] org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No
[java] at sun.reflect.GeneratedConstructorAccessor30.newInstance(Unknown Source)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[java] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
[java] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
[java] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
[java] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
[java] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
[java] at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
[java] at $Proxy26.connectFailure(Unknown Source)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:257)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:270)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:129)
[java] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:223)
[java] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:228)
[java] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:393)
[java] at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
[java] at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
[java] at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241)
[java] at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411)
[java] at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347)
[java] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504)
[java] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[java] at enterprise.automatic_timer_client.AutomaticTimerJavaClient.getRecords(AutomaticTimerJavaClient.java:64)
[java] at enterprise.automatic_timer_client.AutomaticTimerJavaClient.main(AutomaticTimerJavaClient.java:53)
[java] Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused
[java] at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:340)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:242)
[java] ... 15 more
[java] Caused by: java.net.ConnectException: Connection refused
[java] at sun.nio.ch.Net.connect(Native Method)
[java] at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
[java] at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:110)
[java] at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:325)
[java] ... 16 more
[java] javax.naming.NamingException: Lookup failed for 'java:global/automatic-timer-ejb/StatelessSessionBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No]]
[java] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
[java] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[java] at enterprise.automatic_timer_client.AutomaticTimerJavaClient.getRecords(AutomaticTimerJavaClient.java:64)
[java] at enterprise.automatic_timer_client.AutomaticTimerJavaClient.main(AutomaticTimerJavaClient.java:53)
[java] Caused by: javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No]
[java] at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:352)
[java] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504)
[java] ... 4 more
[java] Caused by: org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No
[java] at sun.reflect.GeneratedConstructorAccessor30.newInstance(Unknown Source)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[java] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
[java] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
[java] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
[java] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
[java] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
[java] at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
[java] at $Proxy26.connectFailure(Unknown Source)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:257)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:270)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:129)
[java] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:223)
[java] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:228)
[java] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:393)
[java] at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
[java] at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
[java] at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241)
[java] at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411)
[java] at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347)
[java] ... 5 more
[java] Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused
[java] at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:340)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:242)
[java] ... 15 more
[java] Caused by: java.net.ConnectException: Connection refused
[java] at sun.nio.ch.Net.connect(Native Method)
[java] at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
[java] at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:110)
[java] at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:325)
[java] ... 16 more
[java] Exception in thread "main" java.lang.NullPointerException
[java] at enterprise.automatic_timer_client.AutomaticTimerJavaClient.main(AutomaticTimerJavaClient.java:54)
Why does it use localhost instead of 192.168.1.106 ?
How can I run the sample against a remote GF 3.1 ?
Thank youI got solution:
Re: Can't access remote EJBs (GF3.1)
I followed the instructions from http://www.java.net/node/676636
and changed "/etc/hosts" file:
1) commented out the "internal" IP addresses in the first two lines
2) and added a the external IP address
#127.0.0.1 localhost
#127.0.1.1 lennyserver
192.168.0.202 lennyserver
The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Now the InitialContext.lookup() can find the bean. -
List of games that are not running correctly or does not run in ICS update
I hope to start a list for apps (esp games) that does not run after the ICS update.
Kindly list the game name along with the error. Hopefully its not off topic.Since many of us having issues with gaming [both HD and Non-HD] after updating to ICS, so i decided to share a little bit of info regarding gaming performance in ICS.
For the gaming troubles we are not yet sure whom to blame? SONY, ICS or the Game developer.
1. Few game developers said that their 3D engine is not yet compatible with ICS.
2. No response from Google yet.
3. Sony was suppose to update their Graphics driver [Adreno] in ICS, so we were expecting better gaming experience, but in reality it declined. [Hoping to solve in 4.0.4, if SONY releases]
Remember Gaming performance and experience can be different depending on device, application version etc. Results stated below may not be same for all.
Few Gaming updates from different users:
# Angry Birds Space : For some it worked/some not working [Worked for me]
# Temple Run : Touch Control issues [ Game Developers said that their 3D engine is not yet compatible with ICS]
# Fruit Ninja: Some reported it lags. The speed of movement is slow.
# Asphalt 6HD : Works but some weird lines appears in the screen.
# NOVA 2 HD : Runs for 2-3 mins then force closes.
# Backstab HD : Runs for 2-3 mins then force closes.
# Dead Space : Working well till now.
# MW3: Working.
# Fifa 12 : Not working for me.
# Shadow Gun: Not Working.
Now it was advised that you must use the latest version of the games available in Google play store. The version worked in Gingerbread may not work in ICS. So it is recommended that you download the latest version of the games you want to play in ICS.
**Before Downloading you can also contact the developers if the games has any compatibility issues with ICS or not.
Message was edited by: Auni
Maybe you are looking for
-
Automatic Clearing - Customer Account
Hi All, is there a way in SAP to clear the customer open items automatically for the below scenario Invoice : 3750 Credit Meo - 500 I want the system to clear the above mentioned line items based on certain pre-defined parameter and for the differenc
-
ALV OO and refreshing the ALV grid
Hi, i have some problems with my ALV 00 program. On screen 1 i have to fill in a material number. For that material i'm getting some data and show in screen 2 in a ALV grid. Via BACK-button i'm getting back to screen 1 and can fill in another materia
-
I evaluated the internal temp (using Istats pro) and it is at 86.5 degrees feh (about 22 c*). Is that normal? What tools can I utilize to ensure that the internal system prevents from overheating. I have the Mac running on a cooling fan.
-
IOS 7.0.3 iMessage
Still an issue. I txt my wife and when she resplys her txt comes back in a whole new conversation. Sometimes I have to restart my phone and I'll get her messages after the restart. Great job Apple!! Feel like I have Droid again. Anyone else havin
-
I cannot download the latest QuickTime 7 plug-in for Firefox on Windows 7
This all started when a website I go to frequently told me that my QuickTime plugin 7.3.1.70 in FireFox was "vulnerable". I told Firefox to update it and got to a dialog box asking me if I wanted to "Save file" to save the installer binary. I pushed