Strange problems with date on server

View: New views
4 Messages — Rating Filter:   Alert me  

Strange problems with date on server

by Andrea Russos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
i'm facing a strange ( almpst for me ) problem:

i'm running Ejbca-3_4_3 ( i know is very old, but i made some
customizations and is working good for now ...).
Some days ago i had to stop and restart jboss and, accidentally, i
noticed that the time of the server running ejbca was 1 hour ahead the
correct time; so i stopped jboss, then the ntpd daemon, then issued a
ntpdate command verifying the date was now set ok ....then i restarted
jboss.....after the start-up the date is again 1 hour ahead !!!

I looked in the server.log file ( jboss log ) and find that untill this
line
.....
2009-09-03 *16:48:58*,866 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary] Loading
standardjbosscmp-jdbc.xml :
file:/usr/local/jboss/server/default/conf/standardjbosscmp-jdbc.xml
.....

the time is correct. From the next line the time is "sent" ahead:

2009-09-03 *17:44:20*,944 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary] added
type-mapping: FirstSQL/J

....

Any of you can help me in understanding if is some ejbca-jboss
strangeness or not ????

Thanks in advance for any suggestion,


--Andrea

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ejbca-develop mailing list
Ejbca-develop@...
https://lists.sourceforge.net/lists/listinfo/ejbca-develop

Re: Strange problems with date on server

by Johan Eklund :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andrea,

Is certificates/CRLs etc issed by this server also 1 hour ahead? It
might be JBoss, not show daylight saving time or using a different
locale than you are expecting..

Best Regards,
Johan

Andrea skrev:

> Hi all,
> i'm facing a strange ( almpst for me ) problem:
>
> i'm running Ejbca-3_4_3 ( i know is very old, but i made some
> customizations and is working good for now ...).
> Some days ago i had to stop and restart jboss and, accidentally, i
> noticed that the time of the server running ejbca was 1 hour ahead the
> correct time; so i stopped jboss, then the ntpd daemon, then issued a
> ntpdate command verifying the date was now set ok ....then i restarted
> jboss.....after the start-up the date is again 1 hour ahead !!!
>
> I looked in the server.log file ( jboss log ) and find that untill this
> line
> .....
> 2009-09-03 *16:48:58*,866 DEBUG
> [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary] Loading
> standardjbosscmp-jdbc.xml :
> file:/usr/local/jboss/server/default/conf/standardjbosscmp-jdbc.xml
> .....
>
> the time is correct. From the next line the time is "sent" ahead:
>
> 2009-09-03 *17:44:20*,944 DEBUG
> [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary] added
> type-mapping: FirstSQL/J
>
> ....
>
> Any of you can help me in understanding if is some ejbca-jboss
> strangeness or not ????
>
> Thanks in advance for any suggestion,
>
>
> --Andrea
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Ejbca-develop mailing list
> Ejbca-develop@...
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>  

--
PrimeKey Solutions offers a commercial EJBCA support subscription and training for EJBCA. Please see www.primekey.se or contact info@... for more information. http://download.primekey.se/documents/ejbca_subscription.pdf http://download.primekey.se/documents/ejbca_training.pdf




------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ejbca-develop mailing list
Ejbca-develop@...
https://lists.sourceforge.net/lists/listinfo/ejbca-develop

smime.p7s (3K) Download Attachment

Re: Strange problems with date on server

by Andrea Russos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Johan Eklund ha scritto:
> Hi Andrea,
>
> Is certificates/CRLs etc issed by this server also 1 hour ahead? It
> might be JBoss, not show daylight saving time or using a different
> locale than you are expecting..
>
> Best Regards,
> Johan
Hi Johan !!,

Yes also the certificates are issued with validity-time 1 hour ahead.

...Where must i take a look in jboss config for these ??? .....sorry but
i'm not so famialiar with jboss :-[

--Andrea

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ejbca-develop mailing list
Ejbca-develop@...
https://lists.sourceforge.net/lists/listinfo/ejbca-develop

Re: Strange problems with date on server

by Johan Eklund :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

First thing I found on Google indicates this might be related to having
an old JDK, which I assume applies to your situation given the old EJBCA
version. However the server in the post was one hour behind, not ahead..
might be a good point to start anyway since the post was done in March.

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4137483

/Johan

Andrea skrev:

> Johan Eklund ha scritto:
>  
>> Hi Andrea,
>>
>> Is certificates/CRLs etc issed by this server also 1 hour ahead? It
>> might be JBoss, not show daylight saving time or using a different
>> locale than you are expecting..
>>
>> Best Regards,
>> Johan
>>    
> Hi Johan !!,
>
> Yes also the certificates are issued with validity-time 1 hour ahead.
>
> ...Where must i take a look in jboss config for these ??? .....sorry but
> i'm not so famialiar with jboss :-[
>
> --Andrea
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Ejbca-develop mailing list
> Ejbca-develop@...
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>  

--
PrimeKey Solutions offers a commercial EJBCA support subscription and training for EJBCA. Please see www.primekey.se or contact info@... for more information. http://download.primekey.se/documents/ejbca_subscription.pdf http://download.primekey.se/documents/ejbca_training.pdf




------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ejbca-develop mailing list
Ejbca-develop@...
https://lists.sourceforge.net/lists/listinfo/ejbca-develop

smime.p7s (3K) Download Attachment