mwkirk / javapns

Test import of svn javapns repo from Google Code
3 stars 0 forks source link

Server deployment #138

Closed mwkirk closed 11 years ago

mwkirk commented 11 years ago

Original author: nidhishu...@gmail.com (July 24, 2012 16:09:13)

What steps will reproduce the problem? 1.integrate the Jar with java web application 2.deploy it on Apache tomcat 6.0.35 3.try to push the notification

What is the expected output? What do you see instead? Push is working fine in eclipse however after deployment on Apache tomcat it is not working

What version of the product are you using? On what operating system? 2.2

Please provide any additional information below.

Original issue: http://code.google.com/p/javapns/issues/detail?id=138

mwkirk commented 11 years ago

From sype...@gmail.com on July 24, 2012 16:42:21 Not enough information is provided to make any kind of guess as to what is going wrong. Could you please provide relevant logs in which JavaPNS logging appears?

mwkirk commented 11 years ago

From nidhishu...@gmail.com on July 24, 2012 19:46:37 Hello,

Thank you so much for your prompt reply.

Actually we are trying to integrate JavaPNS component in my web service (JAVA Based). To push the notification from web service we are calling push method by providing 4 parameters (Message, P12 certificate file,password and device token).

Now the issue is in eclipse environment (dev env) we are able to push the notification to the device, however the same is not working on tomcat server after web service deployment.

Please revert in case of any clarifications required.

Thanks in anticipation.

mwkirk commented 11 years ago

From sype...@gmail.com on July 24, 2012 20:11:33 I understand it is not working in the context of your web service, but without any logs, it is impossible to tell what's wrong.

mwkirk commented 11 years ago

From sype...@gmail.com on July 25, 2012 13:54:17 This is something that is specific to your own environment. I suggest you take a look at Tomcat's documentation to learn about logging and where to find the log output from web applications.

mwkirk commented 11 years ago

From nidhishu...@gmail.com on July 26, 2012 06:36:25 Please find the attached log file...we do not find any issue in the log,,however message is not received by Device

mwkirk commented 11 years ago

From sabirudd...@gmail.com on July 26, 2012 19:32:15 I have also got the same problem. I have used javaapns jar in my web service application. When i run my service from eclipse(tomcat integrated) that time its working fine and i got the notification. But the same code when i deploy in tomcat 6 or 7 it execute properly with out any exception, but not got any notification. For both the cases i got the same log and return true value for PushedNotification.isSuccessful() method.

mwkirk commented 11 years ago

From sabirudd...@gmail.com on July 26, 2012 19:37:29 My log file is same as log file supplied by nidhishu...@gmail.com.

mwkirk commented 11 years ago

From sawkatal...@gmail.com on July 26, 2012 20:03:27 I am using Javapns lib for apple push notification.

I have working java class with me but when i deploy that class as a service on tomcat it is not working and strangly when i run that class from outside it is working fine.

Please help me.Thanks in advance.

mwkirk commented 11 years ago

From sype...@gmail.com on July 26, 2012 20:23:56 Could you please try with the latest build from the trunk and provide a new copy of your log file? Thank you.

mwkirk commented 11 years ago

From nidhishu...@gmail.com on July 27, 2012 05:11:03 We are using 2.2 version,please let me know if this is not the latest one...

mwkirk commented 11 years ago

From sype...@gmail.com on July 27, 2012 12:56:17 Did you look in the Trunk section on this web site? Go to Source, Browse, trunk.

mwkirk commented 11 years ago

From sype...@gmail.com on September 08, 2012 02:27:20 Since no additional feedback was provided, I am closing this issue. Please feel free to re-open if you can provide more useful information.