ClassCastException with pubsub after redeployment
Hello,
I'm using pubsub with CometD/JQuery on client side on my application, which is deployed on WebLogic 10.3.6.
However, after a redeployment, when I log in I get the following exception:
java.lang.ClassCastException: weblogic.servlet.internal.session.SharedSessionData cannot be cast to weblogic.servlet.internal.session.SessionData
at weblogic.servlet.httppubsub.WlsPubSubHelper.getAuthSubject(WlsPubSubHelper.java:20)
at com.bea.httppubsub.security.wls.AbstractAuthorizationManager.hasPermission(AbstractAuthorizationManager.java:177)
at com.bea.httppubsub.security.DelegateChannelAuthManager.hasPermission(DelegateChannelAuthManager.java:32)
at com.bea.httppubsub.internal.ChannelImpl.hasPermission(ChannelImpl.java:129)
at com.bea.httppubsub.bayeux.handlers.PublishRequestHandler.doSecurityChecking(PublishRequestHandler.java:79)
at com.bea.httppubsub.bayeux.handlers.PublishRequestHandler.doHandle(PublishRequestHandler.java:44)
at com.bea.httppubsub.bayeux.handlers.PublishRequestHandler.doHandle(PublishRequestHandler.java:29)
at com.bea.httppubsub.bayeux.handlers.AbstractBayeuxHandler.handle(AbstractBayeuxHandler.java:184)
at com.bea.httppubsub.bayeux.handlers.AbstractBayeuxHandler.handle(AbstractBayeuxHandler.java:36)
at com.bea.httppubsub.internal.PubSubServerImpl.handleMessage(PubSubServerImpl.java:500)
at com.bea.httppubsub.internal.PubSubServerImpl.routeMessages(PubSubServerImpl.java:352)
at com.bea.httppubsub.servlet.ControllerServlet.doRequest(ControllerServlet.java:280)
at weblogic.servlet.http.AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.mycompany.framework.common.server.logging.UserServletFilter.doFilter(UserServletFilter.java:50)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at ch.qos.logback.classic.selector.servlet.LoggerContextFilter.doFilter(LoggerContextFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.mycompany.framework.core.server.MyCacheFilter.doFilter(MyCacheFilter.java:46)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
It only happens for the first login, the second one works...
Do you have any idea? Thanks in advance!
Julien
Hello,
I'm using pubsub with CometD/JQuery on client side on my application, which is deployed on WebLogic 10.3.6.
However, after a redeployment, when I log in I get the following exception:
java.lang.ClassCastException: weblogic.servlet.internal.session.SharedSessionData cannot be cast to weblogic.servlet.internal.session.SessionData
at weblogic.servlet.httppubsub.WlsPubSubHelper.getAuthSubject(WlsPubSubHelper.java:20)
at com.bea.httppubsub.security.wls.AbstractAuthorizationManager.hasPermission(AbstractAuthorizationManager.java:177)
at com.bea.httppubsub.security.DelegateChannelAuthManager.hasPermission(DelegateChannelAuthManager.java:32)
at com.bea.httppubsub.internal.ChannelImpl.hasPermission(ChannelImpl.java:129)
at com.bea.httppubsub.bayeux.handlers.PublishRequestHandler.doSecurityChecking(PublishRequestHandler.java:79)
at com.bea.httppubsub.bayeux.handlers.PublishRequestHandler.doHandle(PublishRequestHandler.java:44)
at com.bea.httppubsub.bayeux.handlers.PublishRequestHandler.doHandle(PublishRequestHandler.java:29)
at com.bea.httppubsub.bayeux.handlers.AbstractBayeuxHandler.handle(AbstractBayeuxHandler.java:184)
at com.bea.httppubsub.bayeux.handlers.AbstractBayeuxHandler.handle(AbstractBayeuxHandler.java:36)
at com.bea.httppubsub.internal.PubSubServerImpl.handleMessage(PubSubServerImpl.java:500)
at com.bea.httppubsub.internal.PubSubServerImpl.routeMessages(PubSubServerImpl.java:352)
at com.bea.httppubsub.servlet.ControllerServlet.doRequest(ControllerServlet.java:280)
at weblogic.servlet.http.AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.mycompany.framework.common.server.logging.UserServletFilter.doFilter(UserServletFilter.java:50)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at ch.qos.logback.classic.selector.servlet.LoggerContextFilter.doFilter(LoggerContextFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.mycompany.framework.core.server.MyCacheFilter.doFilter(MyCacheFilter.java:46)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
It only happens for the first login, the second one works...
Do you have any idea? Thanks in advance!
Julien
Similar Messages
-
Toplink JAXB - ClassCastException after redeploy in OC4J
Hi,
I'm experiencing an issue casting an unmarshalled object after the application is being redeployed in the container.
I'm trying to unmarshall an xml that I retrieve as a resource from the classloader (the xml is also in the jar)
The ClassCastException is being thrown at the point where I try to cast the unmarshalled object. A sysout on the unmarshalled object prints a classtype that I expect, so my first impression is that the cast fails due the ClassLoader used by the JAXBContext (?) So I've tried to create the JAXBContext with the ClassLoader parameter using the class' classloader directly and the contextClassLoader, both unsuccessfull.
The problem solves after I restart the OC4J container, but for convenience, I would like to solve this without having to restart, if possible.
Has anyone experienced this problem, or know a solution?
Thx!
Bert
Below, some example code and the console output on the server.
Code:
/* create the jaxb context */
JAXBContext context = JAXBContext.newInstance(
"be.cm.apps.tpb.common.helper",
Thread.currentThread().getContextClassLoader());
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("JAXBContext=" + context);
/* create unmarshaller */
Unmarshaller unmarshaller = context.createUnmarshaller();
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("Unmarshaller=" + unmarshaller);
/* open refac-config.xml as inputstream */
URL url = Thread.currentThread().getContextClassLoader().getResource(CONFIGURATION);
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("url: " + url);
/* unmarshall the configuration */
Object unmarshalledObject = unmarshaller.unmarshal(url);
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("unmarshalled object: " + unmarshalledObject);
* THROWS CLASSCASTEXCEPTION AFTER REDEPLOY
configurationDefinition = (ConfigurationDefinition) unmarshalledObject;
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("<- initialize()");
Output:
|DEBUG|JAXBContext=oracle.toplink.ox.jaxb.JAXBContext@675f26|º@#
|DEBUG|Unmarshaller=oracle.toplink.ox.jaxb.JAXBUnmarshaller@97dadf|º@#
|DEBUG|url: code-source:/C:/java/101310/j2ee/home/applications/tpb/tpb-online-1.0.0.jar!/refac-config.xml|º@#
|DEBUG|unmarshalled object: be.cm.apps.tpb.common.helper.ConfigurationDefinition@8f310f|º@#
|ERROR|Unable to create BusinessFacade instance named be.cm.apps.tpb.business.facade.SendingManager|
Caused by: java.lang.ClassCastException: be.cm.apps.tpb.common.helper.ConfigurationDefinition
at be.cm.apps.tpb.common.helper.ConfigHelper.initialize(ConfigHelper.java:93)
... 83 moreHello Bert,
This is a known issue and there is a patch that is available from Oracle Support. When you contact support please indicate whether you are using TopLink 10.1.3 or 10.1.3.1. Also you can refer Oracle Support to me and I can help them find the correct patch.
-Blaise -
Problem staring KJS after redeploying application in IAS6SP2
After redeploying an application to IAS6SP2 several times, I suddenly get
the following errors when trying to start KJS:
Starting Java Engine
Engine running on Solaris VM 1.2.2 JVM supplied by Sun Microsystems Inc.
Connected to LDAP server
Initializing LDAP cache from server
Could not initialize LDAP cache from server
[04/Sep/2001 21:36:42:2] error: BINDER-004: GXBindWorker: invalid key defs
{91F29620-16E1-11CF-96C8-0020AFED9A65}
[04/Sep/2001 21:36:42:3] error: UTIL-loadcomponent_binding: loadComponent:
binding
[04/Sep/2001 21:36:42:4] error: BINDER-004: GXBindWorker: invalid key defs
{91F29740-16E1-11CF-96C8-0020AFED9A65}
[04/Sep/2001 21:36:42:4] error: UTIL-loadcomponent_binding: loadComponent:
binding
[04/Sep/2001 21:36:42:4] error: BINDER-004: GXBindWorker: invalid key defs
{ED049D80-B936-1548-E481-080020721767}
[04/Sep/2001 21:36:42:4] error: UTIL-loadcomponent_binding: loadComponent:
binding
[04/Sep/2001 21:36:42:4] error: BINDER-004: GXBindWorker: invalid key defs
{C6783B32-8996-11CF-AA51-524153480000}
[04/Sep/2001 21:36:42:4] error: UTIL-loadcomponent_binding: loadComponent:
binding
[04/Sep/2001 21:36:42:4] error: BINDER-004: GXBindWorker: invalid key defs
{02E58780-6BC3-11CF-AA3F-524153480000}
[04/Sep/2001 21:36:42:4] error: UTIL-loadcomponent_binding: loadComponent:
binding
[04/Sep/2001 21:36:42:4] error: BINDER-004: GXBindWorker: invalid key defs
{65F889A0-6BC3-11CF-AA3F-524153480000}
[04/Sep/2001 21:36:42:4] error: UTIL-loadcomponent_binding: loadComponent:
binding
[04/Sep/2001 21:36:42:4] error: BINDER-004: GXBindWorker: invalid key defs
{01C89538-123C-1850-BAA0-0800208C8EAD}
[04/Sep/2001 21:36:42:4] error: UTIL-loadcomponent_binding: loadComponent:
binding
The list goes on with more invalid key defs errors, and the server does not
start. Has anyone seen this before and know how to correct the problem?
Thanks.
- Chun ChengThis is a problem which was previously discussed on this mailing list.
Dunno if you tried to restart (iascontrol start) iAS several times but after
a while all processes bind successfully.
In a nutshell (assuming you are using < SP2), your problem is that you don't
clean up your old references when you redeploy. What I mean by that, is you
should always run "iasdeploy removeapp/removemodule .... " prior to
redeploying. What you have now is a cache full of stale entries which are
taking space in the ldap resulting in a slow startup. When you redeploy new
entries are created (this has been changed in SP3) for all you components
instead of overwriting.
hope this helps,
-robert
"Chun Cheng" <[email protected]> wrote in message
news:[email protected]...
After redeploying an application to IAS6SP2 several times, I suddenly get
the following errors when trying to start KJS:
Starting Java Engine
Engine running on Solaris VM 1.2.2 JVM supplied by Sun Microsystems Inc.
Connected to LDAP server
Initializing LDAP cache from server
Could not initialize LDAP cache from server
[04/Sep/2001 21:36:42:2] error: BINDER-004: GXBindWorker: invalid key defs
{91F29620-16E1-11CF-96C8-0020AFED9A65}
[04/Sep/2001 21:36:42:3] error: UTIL-loadcomponent_binding: loadComponent:
binding
[04/Sep/2001 21:36:42:4] error: BINDER-004: GXBindWorker: invalid key defs
{91F29740-16E1-11CF-96C8-0020AFED9A65}
[04/Sep/2001 21:36:42:4] error: UTIL-loadcomponent_binding: loadComponent:
binding
[04/Sep/2001 21:36:42:4] error: BINDER-004: GXBindWorker: invalid key defs
{ED049D80-B936-1548-E481-080020721767}
[04/Sep/2001 21:36:42:4] error: UTIL-loadcomponent_binding: loadComponent:
binding
[04/Sep/2001 21:36:42:4] error: BINDER-004: GXBindWorker: invalid key defs
{C6783B32-8996-11CF-AA51-524153480000}
[04/Sep/2001 21:36:42:4] error: UTIL-loadcomponent_binding: loadComponent:
binding
[04/Sep/2001 21:36:42:4] error: BINDER-004: GXBindWorker: invalid key defs
{02E58780-6BC3-11CF-AA3F-524153480000}
[04/Sep/2001 21:36:42:4] error: UTIL-loadcomponent_binding: loadComponent:
binding
[04/Sep/2001 21:36:42:4] error: BINDER-004: GXBindWorker: invalid key defs
{65F889A0-6BC3-11CF-AA3F-524153480000}
[04/Sep/2001 21:36:42:4] error: UTIL-loadcomponent_binding: loadComponent:
binding
[04/Sep/2001 21:36:42:4] error: BINDER-004: GXBindWorker: invalid key defs
{01C89538-123C-1850-BAA0-0800208C8EAD}
[04/Sep/2001 21:36:42:4] error: UTIL-loadcomponent_binding: loadComponent:
binding
The list goes on with more invalid key defs errors, and the server doesnot
start. Has anyone seen this before and know how to correct the problem?
Thanks.
- Chun Cheng -
External USB keyboard does not work with T60 after BIOS upgrade
External USB keyboard does not work properly with T60 after 2.26-1.07 BIOS upgrade.
It does the same with or without the docking station.
Anyone else bumped into this problem yet?
Has someone found any fixes for this?
tHi and welcome the forum!
Try uninstalling all USB hub devices from the device manager and reinstalling them again, particularly the keyboard's.
v2.26 is supposed to fix the issue according to lenovo:- http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-63024
Hope it helps.
Maliha (I don't work for lenovo)
ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
IdeaPad: U350
Apple:- Macbook Air [Snow Leopard]
Did someone help you today? Compliment them with a Kudos!
Was your question answered today? Mark it as an Accepted Solution!
Lenovo Deutsche Community Lenovo Comunidad en Español
Visit my YouTube Channel -
My iPhone 5 won't let me use my apps until I connect them with iTunes after downloading ios7. There's just a thing that pops up and says that in order to activate banners and push notifications I have to connect the app with iTunes. The thing won't go away no matter how many times I push ok, and it doesn't give me another option. Solutions?
Oh my gosh I had the EXACT same problem, and for ages I couldn't figure out how to fix it until today. Here's what I did:
First I went onto my computer, opened itunes, and un-installed tumblr, vine and kik. These were the apps I was having problems with (it said I had them on my phone but, like you, they didn't show).
Then I went to the itunes store, searched for each one, and it said I could update them so I did (just FYI: for tumblr a window popped up saying "please click ok to confirm you are 17 years or older", so I did that also)
When I went back to my phone and tried installing them again (still on my computer), it worked!
I hope this helps, because it was incredibly frustrating. Good luck! -
When I try to log onto Icloud in Windows 7 64-bit using my Apple ID it says my Apple ID is valid but not an Icloud account. I can't go anywhere with Icloud after that.
Welcome to the Apple community.
These types of messages often indicate a problem with the devices serial number, have you had your phone repaired at any stage or did you buy it second-hand. -
Problem with Java after Software Update to 10.5.7
Hi,
I am facing problem with Java after having run Software upgrades.
Here is the whole story. I recently moved to iMac 10.5.6 from PowerPc 10.4. On this new machine I was having problem running a 3rd party application, which requires JVM. As this application worked well on Tiger, I decided to upgrade JVM on my iMAC using Software Upgrade(was I insane!!). As I like my systems to be updated (as with linux on my personal machine) I clicked "install all". As a result I have the following upgrades run on my machine:
2009-05-20 13:12:01 +0200: Installed "Mac OS X Update Combined" (10.5.7)
2009-05-20 13:12:10 +0200: Installed "Remote Desktop Client Update" (3.2.2)
2009-05-20 13:12:26 +0200: Installed "Java For Mac OS X 10.5 Update 2" (1.0)
2009-05-20 13:58:36 +0200: Installed "Java for Mac OS X 10.5 Update 3" (1.0)
2009-05-20 13:58:44 +0200: Installed "AirPort Utility Software Update 2009-001" (5.4.1)
2009-05-20 13:59:07 +0200: Installed "QuickTime" (7.6)
2009-05-20 13:59:22 +0200: Installed "iPhoto Update" (7.1.5)
2009-05-20 13:59:28 +0200: Installed "iLife Support" (9.0.2)
2009-05-20 13:59:38 +0200: Installed "iDVD Update" (7.0.3)
2009-05-20 13:59:58 +0200: Installed "iTunes" (8.1.1)
But now, simply running $java on the prompt hangs, i.e. it takes no action.
$ which java
/usr/bin/java
$ ls -ltr /usr/bin/java
May 20 15:09 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
$java (no response)
Here is the output of $ top
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
703 java 98.8% 0:38.54 3 110 72 480K 184K 1964K 40M
Any clues?
Details of JavaVM on my machine
$ pwd
/System/Library/Frameworks/JavaVM.framework/Versions
$ ls -ltr
total 56
drwxr-xr-x 3 root wheel 102 Dec 2 2007 1.3.1
lrwxr-xr-x 1 root wheel 3 Aug 31 2008 1.4.1 -> 1.4
drwxr-xr-x 8 root wheel 272 Aug 31 2008 1.4.2
drwxr-xr-x 8 root wheel 272 Aug 31 2008 1.5.0
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.3 -> 1.3.1
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.4 -> 1.4.2
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.5 -> 1.5.0
drwxr-xr-x 8 root wheel 272 May 20 13:12 1.6.0
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.6 -> 1.6.0
drwxr-xr-x 8 root wheel 272 May 20 13:12 A
lrwxr-xr-x 1 root wheel 1 May 20 14:57 Current -> A
lrwxr-xr-x 1 root wheel 3 May 20 14:59 CurrentJDK -> 1.5
Any suggestions? Is there a cleaner approach to uninstall Java on Mac then a simpl "move to thrash"!
cheersHi,
I am facing problem with Java after having run Software upgrades.
Here is the whole story. I recently moved to iMac 10.5.6 from PowerPc 10.4. On this new machine I was having problem running a 3rd party application, which requires JVM. As this application worked well on Tiger, I decided to upgrade JVM on my iMAC using Software Upgrade(was I insane!!). As I like my systems to be updated (as with linux on my personal machine) I clicked "install all". As a result I have the following upgrades run on my machine:
2009-05-20 13:12:01 +0200: Installed "Mac OS X Update Combined" (10.5.7)
2009-05-20 13:12:10 +0200: Installed "Remote Desktop Client Update" (3.2.2)
2009-05-20 13:12:26 +0200: Installed "Java For Mac OS X 10.5 Update 2" (1.0)
2009-05-20 13:58:36 +0200: Installed "Java for Mac OS X 10.5 Update 3" (1.0)
2009-05-20 13:58:44 +0200: Installed "AirPort Utility Software Update 2009-001" (5.4.1)
2009-05-20 13:59:07 +0200: Installed "QuickTime" (7.6)
2009-05-20 13:59:22 +0200: Installed "iPhoto Update" (7.1.5)
2009-05-20 13:59:28 +0200: Installed "iLife Support" (9.0.2)
2009-05-20 13:59:38 +0200: Installed "iDVD Update" (7.0.3)
2009-05-20 13:59:58 +0200: Installed "iTunes" (8.1.1)
But now, simply running $java on the prompt hangs, i.e. it takes no action.
$ which java
/usr/bin/java
$ ls -ltr /usr/bin/java
May 20 15:09 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
$java (no response)
Here is the output of $ top
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
703 java 98.8% 0:38.54 3 110 72 480K 184K 1964K 40M
Any clues?
Details of JavaVM on my machine
$ pwd
/System/Library/Frameworks/JavaVM.framework/Versions
$ ls -ltr
total 56
drwxr-xr-x 3 root wheel 102 Dec 2 2007 1.3.1
lrwxr-xr-x 1 root wheel 3 Aug 31 2008 1.4.1 -> 1.4
drwxr-xr-x 8 root wheel 272 Aug 31 2008 1.4.2
drwxr-xr-x 8 root wheel 272 Aug 31 2008 1.5.0
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.3 -> 1.3.1
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.4 -> 1.4.2
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.5 -> 1.5.0
drwxr-xr-x 8 root wheel 272 May 20 13:12 1.6.0
lrwxr-xr-x 1 root wheel 5 May 20 13:12 1.6 -> 1.6.0
drwxr-xr-x 8 root wheel 272 May 20 13:12 A
lrwxr-xr-x 1 root wheel 1 May 20 14:57 Current -> A
lrwxr-xr-x 1 root wheel 3 May 20 14:59 CurrentJDK -> 1.5
Any suggestions? Is there a cleaner approach to uninstall Java on Mac then a simpl "move to thrash"!
cheers -
Problem with Java after System Upgrade to 10.5.7
Hi,
I am facing problem with Java after having run Software upgrades.
Here is the whole story. I recently moved to iMac 10.5.6 from PowerPc 10.4. On this new machine I was having problem running a 3rd party application, which requires JVM. As this application worked well on Tiger, I decided to upgrade JVM on my iMAC using Software Upgrade(was I insane!!). As I like my systems to be updated (as with linux on my personal machine) I clicked "install all". As a result I have the following upgrades run on my machine:
2009-05-20 13:12:01 +0200: Installed "Mac OS X Update Combined" (10.5.7)
2009-05-20 13:12:10 +0200: Installed "Remote Desktop Client Update" (3.2.2)
2009-05-20 13:12:26 +0200: Installed "Java For Mac OS X 10.5 Update 2" (1.0)
2009-05-20 13:58:36 +0200: Installed "Java for Mac OS X 10.5 Update 3" (1.0)
2009-05-20 13:58:44 +0200: Installed "AirPort Utility Software Update 2009-001" (5.4.1)
2009-05-20 13:59:07 +0200: Installed "QuickTime" (7.6)
2009-05-20 13:59:22 +0200: Installed "iPhoto Update" (7.1.5)
2009-05-20 13:59:28 +0200: Installed "iLife Support" (9.0.2)
2009-05-20 13:59:38 +0200: Installed "iDVD Update" (7.0.3)
2009-05-20 13:59:58 +0200: Installed "iTunes" (8.1.1)
But now, simply running $ java on the prompt hangs, i.e. it takes no action.
$ which java
/usr/bin/java
$ ls -ltr /usr/bin/java
May 20 15:09 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
$java (no response)
Here is the output of $ top
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
703 java 98.8% 0:38.54 3 110 72 480K 184K 1964K 40M
Any clues?
cheersHi man,
In the wake of this java problem I resorted to keep working on my old machine, and today in my spare time I tried to fix this new machine.
So I execute $java on prompt, and then try to check the files it has opened, using lsof -p pid
I see it referring to
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java
isn't this usually the JAVA_HOME
However, executing $/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java
hangs!!
but
$/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
works!!
$ pwd
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin
$ ./java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
So, I changed the links as follows
borgraf:Versions raveesh$ l
total 72
drwxr-xr-x 3 root wheel 102 Mar 6 2008 1.3.1
lrwxr-xr-x 1 root wheel 3 May 21 19:42 1.4.1 -> 1.4
drwxr-xr-x 8 root wheel 272 May 21 19:42 1.6.0
lrwxr-xr-x 1 root wheel 3 May 21 19:44 OldCurrentJDK -> 1.5
lrwxr-xr-x 1 root wheel 5 May 21 19:44 1.4 -> 1.4.2
lrwxr-xr-x 1 root wheel 5 May 21 19:44 1.3 -> 1.3.1
lrwxr-xr-x 1 root wheel 5 May 21 19:44 1.5 -> 1.5.0
drwxr-xr-x 8 root wheel 272 May 21 19:44 1.4.2
drwxr-xr-x 8 root wheel 272 May 21 19:44 1.5.0
lrwxr-xr-x 1 root wheel 5 May 21 19:44 1.6 -> 1.6.0
lrwxr-xr-x 1 root wheel 1 May 21 19:44 OldCurrent -> A
drwxr-xr-x 8 root wheel 272 May 21 19:44 A
lrwxr-xr-x 1 root wheel 3 Jun 4 17:14 CurrentJDK -> 1.6
lrwxr-xr-x 1 root wheel 3 Jun 4 17:21 Current -> 1.6
Linking my Current and CurrentJDK to 1.6 and it works!
However, shall that be the reason!
what is in your /Versions/Current/
I got the following
$ ls /System/Library/Frameworks/JavaVM.framework/Versions/Current
CodeResources Frameworks JavaVM
Commands Headers Resources
There is no /Home in here, which is usually the case for /1.5 or /1.6
Anyways, things seems to work for the moment. Lets see if I get problem with using Java.
thanks -
I am having problems with mail after upgrading to mountain lion. Is there a way to go back to lion?
It would always be easier to fix the Mail problems.
-
Problems with Mail after upgrading to 10.9.1
I am running into problems with Mail after installing 10.9.1. I had NO problems with Mail prior to this update.
Problems I have encountered so far are:
- I don't receive some e-mails on my Gmail account.
- I have sent e-mails that supposedly got "sent" but do not show up in my Sent box both on mail and on web Gmail. My Outbox is empty also.
Has anyone encountered the same problems and found a solution?
Thanks in advance!Yes Paul I have, but no solution. I cannot send email. My ISP uses a smtp mail server for sending and It will not log in. Have had ISP on phone and checked all settings. Can only put it down to Mavericks.
It worked OK for a week after upgrading then stopped. So now having to use web mail to send email.
Strange thing is I receive mail OK, just cant send. -
hello
i have a an iPhone 5 .i updated it in the end of summer or begin of fall because i forget the number of version.it is important that i update my i Phone by itself not with iTune . after that my device can not join to wifi to internet but another of app works properly and cellular can join to internet . i reset my i phone in the setting . general section but my problem is remaining .is possible that to return to older version? if there is any solution share with me and i be very thankfulness of you.tanks againIt is not possible to downgrade to an earlier version.
Have you tried the tips on this help page? iOS: Troubleshooting Wi-Fi networks and connections
And you dont need iTunes to update you're device. You can update it OTA in Settings > General > Software Update -
hello
i have a an iPhone 5 .i updated it in the end of summer or begin of fall because i forget the number of version.it is important that i update my i Phone by itself not with iTune . after that my device can not join to wifi to inter net but another of app works properly and cellular can join to internet . i reset my i phone in the setting . general section but my problem is remaining . if there is any solution share with me and i be very thankfulness of you.tanks againIt is not possible to downgrade to an earlier version.
Have you tried the tips on this help page? iOS: Troubleshooting Wi-Fi networks and connections
And you dont need iTunes to update you're device. You can update it OTA in Settings > General > Software Update -
PC Suite stops working with Bluetooth after Laptop...
I use PC Suite and Bluetooth to connect to my Phone. I use the Synchronise, and the Messages feature a great deal. It all works great after a reboot, and I think it's a real credit to Nokia that they provide this free and improve their standing compared to other manufacturers.
However, the latest versions of PC Suite have taken a backward step in hardware compatibility. Previously, no matter what state my laptop was in - ie rebooted, returned from hibernate or standby, the laptop would connect to my phone over Bluetooth, and synchronizing would happen. When my phone went out of range, the connection would drop, and when it came back into range, the connection would re-establish and synchronizing would start again - wonderful!
Now, this only works after clean reboot, and after I have manually clicked on "Get Connected". After my laptop returns from standby, if I try "Get Connected" I get the error:
"Cannot use the connection type. Check that all the needed hardware, software and drivers are available. (Code: OpenMedia)"
To get PC Suite working with Bluetooth after returning from standby I run a Repair, after which it works beautifully.
Is this a known fault? I have uninstalled and re-installed PC Suite and the BT Stack as recommended in other posts to solve other issues. My configuration is:
Operating system: Microsoft Windows XP
Nokia PC Suite: Version 6.82.22.0
Bluetooth Stack for Windows by Toshiba v4.00.23(D) SP2
Bluetooth Specification: Version 2.0, 1.2, 1.1
Many thanks...Thanks for your response Miksu. You have pointed me to the right place. It is the connection manager that fails to recognise the BT stack that causes my problems. This is always resolved by a repair. It seems that the order of initiation is very important which may be why Luist has started to have the problem.
In my experience, once things stop to work, I've had to strip out any subsequent installs.
My PCSuite also stopped working after it installed cable connection manager (or something like that) without me asking. I found it in Control Panel->Add/Remove programs. I removed it and PC Suite started to work again, so I completely removed PC Suite then re-installed, and allowed it to add the relevant devices relating to my phone (about 4 devices alltogether) but alas this did not solve my "return from standby" issue. I think I need to remove PC Suite and then Bluetooth, and maybe something else before re-installing - I'll leave that for a rainy day.
Thanks again Miksu -
Wireless adapter Z-Com XG-703A doesn't work with WPA after reboot
Hello everybody,
Arch doesn't load kernel module arc4 during boot with usb wireless adapter Z-Com XG-703A. So WPA doesn't work and It can connect to only opened access points.
I found two work arounds but I don't know how to fix the issue completely.
1. Remove usb adapter and plug it in again (it causes arc4 module to load), then restart networking.
2. rmmod p54usb, rmmod p54common, modprobe arc4, modprobe p54usb and after that restart networking.
Could anybody help to fix the problem generally?
$ lsusb
0cde:0008 Z-Com XG-703A 802.11g Wireless Adapter [Intersil ISL3887]
$ uname -a
Linux arch 3.1.9-2-ARCH #1 SMP PREEMPT Sat Jan 14 08:11:41 UTC 2012 i686 Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz GenuineIntel GNU/Linux
StasDoes the p54common get loaded again as well when you do modprobep54usb?
If not, you might just put that into modprobe.conf blacklist.
If it does get loaded as well, there might be another wireless module getting loaded that perhaps does cause problems. You can check that with
mkinitcpio -v
now, or with lsmod after a reboot before your workaround. -
Problem with Adobe After Effects CS6 on Windows 8.1 PRO
Hi Adobe Systems guys, I would like to know when the error will have the solution presented Adobe After Effects CS6 (Latinoamerican Spanish Version) running Windows 8.1 PRO, and throwing the following error.
I've tried the latest available update 11.0.3 but does not correct the problem. I wonder when will be ready the solution because with Illustrator CS6 also was the same but with the solution described in this page, http://helpx.adobe.com/illustrator/kb/illustrator-does-not-start-windows-81.html was solved perfectly.
I appreciate prompt as we need urgent help to use the software in its Spanish version as was originally purchased. thanksThat such a friend, for I tell you that none of their solutions is an option for me because:
• Wait a couple of months with no after effects in the hope That a patch will come ... someday
R:/ The problem is not mine, is problem of Abode and therefore investing heavily in the creative suite CS6 and for that to be an option.
It's not fair to have to beg for a solution.
• Upgrade to CC and enjoy all the latest features
R:/ It is not possible , because we will not spend more money than they already invested in Suite CS6
• Use After Effects CS6 in English
R:/ It is not possible as the staff in charge of managing this program if it is not handled in English and therefore bought the suite in Spanish .
• Roll your computer back to Windows 8 instead of 8.1
R:/ It is not possible as it is known all Windows 8.0 failures we have put in 8.1 PRO .
I do not understand is that if Adobe Illustrator had the same problem and it was fixed within a couple of days getting the patch , why not do the same with After Effects CS6 in Spanish . All users of this suite CS6 and buyers deserve respect and prompt solution to the problems that are the fault of Adobe.
Maybe you are looking for
-
Everytime i try to open my itunes icon it says "This version of itunes has not been correctly localized for this language. Please run the English version". Then there is no option and i dont know to do this. Please help.
-
Session List and Last Access Time
I want to get a list of WebLogic's current/active sessions and find out the user's last access time for each session. How can I do this? I'm using WebLogic 4.5. Thanks in advance. Sincerely, William H. Stone X U M A <build-to-order e-business> Willia
-
How to find out what libraries to import
Hi JDev experts How do I figure out which libraries to include for jars that I need to import. Particularly, I need to import the following: oracle.javatools.util.CommandModel oracle.javatools.util.CommandParser it's hard to figure out from library n
-
Best way to export from FCE for compression?
Hi again, folks! I've read/learned that, when you plan to compress your video, you should ideally export from your editing program in the final resolution (size) that you want the video to be. Apparently this is because editing programs do a better j
-
Invalid Handle Exception!
Background: I have a SQL database created and maintained via MS Access 2003. I use JDBC to connect and interact with this database. So far my program has been able to do everything from querying a table to inserting new rows to deleting others, but h