roycezhc / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

Server deployment #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 reported on code.google.com by nidhishu...@gmail.com on 24 Jul 2012 at 4:09

GoogleCodeExporter commented 9 years ago
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?

Original comment by sype...@gmail.com on 24 Jul 2012 at 4:42

GoogleCodeExporter commented 9 years ago
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.

Original comment by nidhishu...@gmail.com on 24 Jul 2012 at 7:46

GoogleCodeExporter commented 9 years ago
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.

Original comment by sype...@gmail.com on 24 Jul 2012 at 8:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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.

Original comment by sype...@gmail.com on 25 Jul 2012 at 1:54

GoogleCodeExporter commented 9 years ago
Please find the attached log file...we do not find any issue in the 
log,,however message is not received by Device

Original comment by nidhishu...@gmail.com on 26 Jul 2012 at 6:36

Attachments:

GoogleCodeExporter commented 9 years ago
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.

Original comment by sabirudd...@gmail.com on 26 Jul 2012 at 7:32

GoogleCodeExporter commented 9 years ago
My log file is same as log file supplied by nidhishu...@gmail.com.

Original comment by sabirudd...@gmail.com on 26 Jul 2012 at 7:37

GoogleCodeExporter commented 9 years ago
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.

Original comment by sawkatal...@gmail.com on 26 Jul 2012 at 8:03

GoogleCodeExporter commented 9 years ago
Could you please try with the latest build from the trunk and provide a new 
copy of your log file?  Thank you.

Original comment by sype...@gmail.com on 26 Jul 2012 at 8:23

GoogleCodeExporter commented 9 years ago
We are using 2.2 version,please let me know if this is not the latest one...

Original comment by nidhishu...@gmail.com on 27 Jul 2012 at 5:11

GoogleCodeExporter commented 9 years ago
Did you look in the Trunk section on this web site?  Go to Source, Browse, 
trunk.

Original comment by sype...@gmail.com on 27 Jul 2012 at 12:56

GoogleCodeExporter commented 9 years ago
Since no additional feedback was provided, I am closing this issue.  Please 
feel free to re-open if you can provide more useful information.

Original comment by sype...@gmail.com on 8 Sep 2012 at 2:27