Error when @Singleton in Glassfish v3 and weld. CDI not working for EJBs.

Hello,
I am getting the following error when deploying a web app with a SSB with the @Singleton annotation. If I use javax.ejb.Singleton I get the error. If I use @Stateless and @Singleton with javax.inject.Singleton, I don't.
I use Glassfish v3 with weld.
[#|2009-12-19T01:29:19.423+0100|SEVERE|glassfish|global|_ThreadID=16;_ThreadName=Thread-1;|The annotation symbol defined in super-class is not compatible with Session ejb ElaphusManager.
symbol: TYPE location: class com.cervatoh2.elaphus.ejb.ElaphusManagerBean
By the way,
what is the right way to install weld into glassfish? To make @Named work I had to treat Glassfish v3 as if it was Tomat:
          <listener>
                    <listener-class>org.jboss.weld.environment.servlet.Listener</listener-class>
               </listener>
          <resource-env-ref>
<description>Object factory for the CDI Bean Manager</description>
<resource-env-ref-name>BeanManager</resource-env-ref-name>
<resource-env-ref-type>javax.enterprise.inject.spi.BeanManager</resource-env-ref-type>
</resource-env-ref>
And also add weld-servle.jar to /WEB-INF/lib
isn't Glassfish v3 supposed to have builtin weld support?
thanks for any directions,
Ignacio

Well,
I think I have understood what the problem is, and maybe also a patch for it.
I have observed the exact same scenario as you guys.
I think the problem is exposed by the statement in the status.conf file:
rwConnStart message=All 1 wget requests did not return a valid vpnserver.conf
The contents of the vpnserver.conf file in your case is:
Which I also have observed. Now, I have just had a session, where one of my colleagues have a succesfull connection and I have a failed one. Now, his vpnserver.conf was:
version=1
msgtype=configuration
conn xxxxx_rw
presharedkey=xxxxxxxxxxxxxxxxxxx
rightsubnet=xxx.xxx.xxx.xxx/xx
remotelanip=xxx.xxx.xxx.xxx
dnsserver=xxx.xxx.xxx.xxx
domain=
which is somewhat different. Mine was like the failing one you had. This made me think. The client is supposed to download vpnserver.conf via HTTPS and save it. Sometimes this goes wrong, and I think it is the router software that gets confused.
It simply thinks you are trying to remote mgmt it and sends you the html to go to the welcome.html page. In my setup I have enabled HTTPS and disbaled Remote MGMT. So it should never ever think it is being remotely managed, but somehow it does that - doh!
Thus, either the SW on the router is confused/buggy and this causes it to give you a HTML respond instead of the contents of the vpnserver.conf file. Another explanation could be that the wget tool has a problem, when a vpnserver.conf file already exists and then it doesn ensure to force download the file correctly or something.
Nevertheless, I have two ways to solve this problem:
1. Rebooting the router has worked for me, but is of course not nice
2. Delete the local version of vpnserver.conf BEFORE you try to connect.
The 2nd solution has not yet been verified to work in a broader scale, but we are trying to verify it.
Please report if this helps you guys.
Thanks, Jacob

Similar Messages

  • Apple Mail Search and Spotlight do not work for locating email messages after upgrading to Lion 10.8.3.

    Apple Mail Search and Spotlight do not work for locating email messages after upgrading to Lion 10.8.3 on my 27" iMac.
    When searching in Apple Mail, sometimes a get a few results (with many missing), and sometimes no results at all.
    I had absolutely no problems before with Snow Loepard.
    I have reindexed mail and my startup drive. I have followed discussions regarding this matter and tried everything - a waste of time.
    This is VERY serious for me - I have many thousands of messages that I archive and need to reference for work and clients, and now I cannot find them.

    I found out that I needed a $100 mini displayport to dual-link dvi adapter to make my $30" cinema display work with my macbook pro
    http://store.apple.com/us/product/MB571Z/A/mini-displayport-to-dual-link-dvi-ada pter?fnode=51
    When I found out that solved the problem, I took it back because that was too expensive for a stupid adapter, and it still didn't work perfectly.

  • TS1814 I have windows vista and this did not work for my ipod it still will not update PLEASE HELP!

    I have windows vista and this did not work for my ipod it still will not update PLEASE HELP!
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server

    Try this:
    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • Timing of text box will not appear.  My text boxes stop working on slide 5 and they will not work for the remainder of the slide show.

    Timing of text box not working.  I get the first few slides to work and then on slide 5 my text boxes will not appear.  And they do not appear for the rest of the slide show.   Help anyone.

    Text caption is timed to appear at 2 seconds, but you have a click box at 0sec. Its duration is very short, which means that I cannot see if there is a pause. I suspect this click box is pausing at the end of its timeline, which is at 0.3secs and the Text caption at 2 seconds will not appear before the user has clicked on that click box. The timeline is the core of Captivate, learn at least how to read it.
    Tiny Timeline Tidbits - Captivate blog
    If you want the green text caption 'Click on...' to appear right at the beginning of the slide, you have to check its Timing accordion: set it to start at 0 secs instead of 2 secs and extend its duration to the 'rest of the slide'.
    I don't know what is in the Group. That group and the HIghlight box will disappear at 3 seconds. Or maybe the action that is triggered by the Clickbox is different from 'Continue'?
    Lilybiri

  • Red record button and play arrow not working for videos. Any way to make work again?

    Red record button and play arrow quit working. Any way to fix?

    Try this and see if it works for you. Close the Camera App in the recents tray and reboot the iPad.
    Tap the home button once, then double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the camera app.  Tap the home button again.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • When I load Businesscatalyst scrolling and other Wigdet not work.

    Hi there,
    Musette-themes I downloaded from the themes, businesscatalyst to nothing works except bridges when I install.
    I've updated the assets but scrolling features, widgets do not work.
    Now everyone mentioned on the site to try and present a running theme. Everything is working but when I look at the preview does not work when published.
    I've used the scroll feature by making a simple theme I've installed but the room did not work.
    Waiting for your support relevant to the topic.
    Muse-Themes Orjinal Templates
    You can check it out here.    HOME

    In elements organizer, are you adding the photos to the mobile album?
    Could you try the troubleshooting steps shared at: http://helpx.adobe.com/elements-organizer/kb/troubleshoot-revel-relate d-issues.html

  • Why the iPad became blank black when I syn with itunes and it did not work again?

    Why the ipad became blank black when I syn it with itunes of the desk top.  It did not work since then.

    Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds, after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • How to get Revel on other devices with app to update when I have auto update and it does not work

    How do I get Revel with auto update to update on my other devices with the Revel app when the update does not work?

    In elements organizer, are you adding the photos to the mobile album?
    Could you try the troubleshooting steps shared at: http://helpx.adobe.com/elements-organizer/kb/troubleshoot-revel-relate d-issues.html

  • Monthly and Yearly backups not working for Protection Group?

    Hi
    We have a Protection Group with 160 members currently attached to it. The group has the following customized Recovery Points:-
    - 1 recovery point every 1 day for the last 2 weeks, 1 recovery point every 1 month for the last 60 months and 1 recovery point every year for the last 5 years.
    The schedule is as follows:-
    - Every Day at 01:00, Every Month on First Day at 01:00 and Every 12 Months on 01 January at 01:00.
    The daily tape backups are working fine without issue but neither the Monthly or Yearly backups are being attempted. We have checked the monthly backups for this issue for the last few months and are unable to see any evidence of the Monthly schedule even
    running? This means that we are having to manually label the Daily tapes once a month as Monthly tapes but they will then stay on the Reports for the next 5 years as DPM will constantly request these tapes back.
    Are you able to help with this matter?
    Not that we really want to do this but if we removed the group completely and re-create it would this cause problems with our restore points?

    Hi,
    This is a known issue that can occur in all current versions of
    DPM including DPM 2012, to correct the condition, you simply need to perform this step. Any time before the next scheduled (monthly or longer) backup, manually update
    the long term backup schedule by hitting the MODIFY button.  The code that runs when modifying the backup schedule redoes the bacup schedules and it fixes the scheduling issue. 
    Below is a DPM Power-shell script that will show you the scheduled backups for all recovery goals for all protection groups.  You can see the last time each recovery goal ran, and the NEXT run time, so you can monitor
    the goals and re-fix them if necessary.
    NOTE: It takes about 20-30 minutes before the fixed next run time schedule will be populated after modify the protection group and updating the schedule.
    # This script will list all currently scheduled backup to tape jobs #
    # It will list scheduled, last run and next run dates #
    # Note: The script takes in consideration that the DPM Database was installed locally on its #
    # Default instance. If SQL is installed on a different location/instance, edit the line #
    # that starts with $instance = '.\msdpm2010 #
    # Author : Wilson Souza #
    # Date Created : 1/13/2012 #
    # Last modified : 1/17/2012 #
    # Version : 1.0 #
    # This version of the script was only tested on DPM 2010 #
    param([string] $verbose)
    add-pssnapin sqlservercmdletsnapin100
    Add-PSSnapin -Name Microsoft.DataProtectionManager.PowerShell
    $ConfirmPreference = 'None'
    cls
    $instance = '.\msdpm2010' # <---- If DPM Database is on a different location, edit this line accordinly
    $query = "use DPMDB
    go
    CREATE FUNCTION label (@GUID varchar(36), @kindred varchar(4), @vault varchar(8))
    returns varchar (1024)
    as
    Begin
    declare @result varchar (1024)
    select @result = vaUltlabel from tbl_mm_vaultlabel where mediapoolid = @GUID and generation =
    case @kindred
    when 'Fath' Then '2'
    when 'Gran' then '1'
    when 'grea' Then '0'
    end and
    vault =
    case @vault
    when 'Offsite1' then '3'
    when 'Offsite2' then '4'
    when 'Offsite3' then '5'
    when 'Offsite4' then '6'
    when 'Offsite5' then '7'
    when 'Offsite6' then '8'
    when 'Offsite7' then '9'
    else
    '1'
    end
    RETURN @result
    END
    go
    use DPMDB
    select ScheduleId as name
    ,def.JobDefinitionId as JD
    ,FriendlyName as PG
    ,SUBSTRING (CONVERT(VARCHAR(10),active_start_date),5,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),active_start_date),7,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),active_start_date),1,4) as SD
    ,jobs.date_created as SCD
    ,SUBSTRING (CONVERT(VARCHAR(10),last_run_date),5,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),last_run_date),7,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),last_run_date),1,4) + ' ' +
    SUBSTRING (CONVERT(VARCHAR(6),last_run_time),1,2) + ':' + SUBSTRING (CONVERT(VARCHAR(6),last_run_time),3,2) + ':' + SUBSTRING (CONVERT(VARCHAR(6),last_run_time),5,2) as LRD
    ,SUBSTRING (CONVERT(VARCHAR(10),next_run_date),5,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),next_run_date),7,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),next_run_date),1,4) + ' ' +
    SUBSTRING (CONVERT(VARCHAR(6),next_run_time),1,2) + ':' + SUBSTRING (CONVERT(VARCHAR(6),next_run_time),3,2) + ':' + SUBSTRING (CONVERT(VARCHAR(6),next_run_time),5,2) as NRD
    ,dbo.label ((substring(xml,(patindex('%MediaPoolId%',Xml))+13,36)), (substring(xml,(patindex('%generation%',Xml))+12,4)), (substring(xml,(patindex('%vault%',Xml))+7,8))) as TL
    ,case
    when substring(xml,(patindex('%vault%',Xml))+7,3) = 'off' then 'Long-Term'
    else 'Short-term'
    end as STLT
    ,case
    when substring(xml,(patindex('%generation%',Xml))+12,4) = 'Fath' then 'Recovery Goal 1'
    when substring(xml,(patindex('%generation%',Xml))+12,4) = 'Gran' then 'Recovery Goal 2'
    when substring(xml,(patindex('%generation%',Xml))+12,4) = 'Grea' then 'Recovery Goal 3'
    end as RG
    from tbl_SCH_ScheduleDefinition sch
    ,msdb.dbo.sysjobs jobs
    ,tbl_JM_JobDefinition def
    ,DPMDB.dbo.tbl_IM_ProtectedGroup prot
    ,msdb.dbo.sysjobschedules jobsch
    ,msdb.dbo.sysjobsteps jobsteps
    ,msdb.dbo.sysschedules syssch
    where CAST(sch.ScheduleId as NCHAR (128)) = jobs.name
    and def.JobDefinitionId = sch.JobDefinitionId
    and def.ProtectedGroupId = prot.ProtectedGroupId
    and jobs.job_id = jobsch.job_id
    and jobs.job_id = jobsteps.job_id
    and jobsch.schedule_id = syssch.schedule_id
    and (def.Type = '913afd2d-ed74-47bd-b7ea-d42055e5c2f1' or def.Type = 'B5A3D25C-8EB2-4032-9428-C852DA5CE2C5')
    and sch.IsDeleted = '0' and def.ProtectedGroupId is not null
    order by FriendlyName, next_run_date, next_run_time
    go
    drop function label
    go"
    $result = Invoke-Sqlcmd -ServerInstance $instance -Query $query
    $count = 1
    write-host " The list below shows all scheduled backup to tape jobs (short term and long term)" -f green
    write-host
    if ($verbose.ToLower() -eq '')
    write-host " For optimun output, set PoweShell Width for screen buffer size to at least 200" -f yellow; write-host
    write-host
    write-host " Protection Group name Creation Date [Schedule Creation Date] [Last Run Date / time] [Next Sched Run Date/time] Goal type Recovery Goal # Custom Tape Label"
    write-host " ------------------------------ ------------- ------------------------ ---------------------- -------------------------- ---------- --------------- -----------------"
    foreach ($result1 in $result)
    if ($color -eq 'white') {$color = 'cyan'} else {$color = 'white'}
    write-host ("{0,2}"-f $count) -foreground green -nonewline
    write-host ( " - {0,-30} {1,-13} {2,-24} {3,-24} {4,-27} {5,-10} {6,15} " -f $result1.PG, $result1.SD, $result1.SCD, $result1.LRD, $result1.NRD, $result1.STLT, $result1.RG) -nonewline -f $color
    write-host $result1.TL -f yellow
    $count++
    else
    write-host " For optimun output, set PoweShell Width for screen buffer size to at least 110" -f yellow; write-host
    write-host " Protection Group Term Goal Tape Label"
    write-host " ------------------------------ ---------- --------------- --------------"
    foreach ($result1 in $result)
    if ($color -eq 'white') {$color = 'cyan'} else {$color = 'white'}
    write-host ("{0,2}"-f $count) -foreground green -nonewline
    write-host ( " - {0,-30} {1,-10} {2,15} " -f $result1.PG, $result1.STLT, $result1.RG) -nonewline -f $color
    write-host $result1.TL -f yellow
    $count++
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.
    I cant seem to get this script to run.. can someone point out what might be missing..
    I've tried creating a shortcut like the following as well:
    Target: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -File "C:\Program Files\Microsoft
    DPM\DPM\bin\dpmcliinitscript.ps1" "C:\Data\scripts\scheduledjobs.ps1"
    Start in: "C:\Program Files\Microsoft DPM\DPM\bin\"
    If i run as admin in just takes you to a command line prompt in PS..
    Any thoughts on what is missing here.. i've modified the ps1 to reflect 2012 in my case.. 2012 R2
    DPM
    Tech, the Universe, Everything: http://tech-stew.com
    Ok, the 1.6 script works.. but only if i run it from the ps1 script file.. by right clicking it and doing the Run with Powershell option (non admin).. my shortcut doesnt work.. same issue.. it just goes to a power shell prompt.  The right click and
    run is non admin mode as well.
    When I run it with the right click it shows no jobs scheduled.. If i look in dpm 2012 r2 i see a yearly tape backup scheduled for today.. the script doesnt show me a way to also get the monthly to appear (i've set the monthly for a day later but it doesnt
    appear in the scheduled tasks for next 7 days).. i was under the impression this script would help force the monthly to appear/run.. but even the yearly that does show in DPM scheduled tasks isnt showing up with the script (maybe admin issue?)
    Tech, the Universe, Everything: http://tech-stew.com

  • Currency format and Right Align not working for messagetext in HGrid

    Hi
    We are dynamically enabling MessageTextinput inside HGrid region, it is Number type and when we set readonly to True it become left align, and currency format also not working, I tried the below various options but nothing is working.
    Option : 1
    OAMessageTextInputBean attribute = (OAMessageTextInputBean)webBean.findChildRecursive("Attribute"+i);
    attribute.setCurrencyCode("USD");
    Option :2
    OAWebBean amountDueBean2 = webBean.findChildRecursive("Attribute"+i);
    oracle.cabo.ui.validate.Formatter formatter2 = new OADecimalValidater("#,##0.00;(#,##0.00)","#,##0.00;(#,##0.00)");
    amountDueBean2.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, formatter2);
    etc options we tried
    amountDueBean2.setAttributeValue(CURRENCY_CODE,formatter2);
    amountDueBean2.setAttributeValue(OAWebBeanConstants.CURRENCY_CODE,"USD" );
    Please help on this issue.
    We are using Jdeveloper 10.1.3.3.0.3
    TiA
    Babu

    Anatoli,
    Hello!
    I don't know if my situation is the same as yours, but after a lot of head-scratching, forum searching and template rebuilding, I finally figured out my problem.
    I had one column that no matter what I did kept appearing in Excel as text. I'd format it to Number in Excel and nothing. When trying to sum the column, Excel would not recognize any of the values as numbers. I even did the reformatting on the XML Word template to number, and the currency format that Adam mentions. Still no go. The $ and ',' appeared, but column still formatted as string.
    I just finally noticed Adam's mention of the 2 extra spaces at the end of the numbers and sure enough mine was doing the same thing. Take out the 2 spaces and voila! Number!
    Every time I redid my template in Word (07 and 03), I used the wizard. (Add-ins>Insert>Table>Wizard) walked through the steps, not really changing anything. Then I would preview and the spaces would be there. The column that I was having problems with was the last column of the table, which would get the text 'end G_ASSIGNED_CC' inserted in after the field name - separated by 2 spaces. Once I took out these two spaces, so the column now shows 'COSTend G_ASSIGNED_CC', it worked fine in Excel - all numbers.
    Hope that helps someone out there as I was having a heck of a time finding anything (solutions anyway) on this.
    Thanks,
    Janel

  • Why does clicking the reload icon and F5 key not work for certain pages. Thanks in advance. Any help is appreciated. :)

    Cliffs:
    -Open new tabs from original page.
    -Clicking reload icon or hitting F5 will not work on new tabs, but works on original page.
    -Can "right click" reload tab or all tabs, but reload icon and F5 won't work.
    -Been using FF3.6 for months, never a problem. Just started happening 2 days ago. Updated to FF4, but problem still remains.

    bump.

  • Quicktime Player fast-forward and reverse buttons not working for audio

    I have Quicktime Player 7.7.3 for Windows and the fast forward/reverse buttons will not work while playing audio files. I've tried it with mp3 and m4a, neither will work.
    The go to end/go to begining buttons are working fine.
    The ff/reverse button don't work very well for video files, they only will move a few frames at a time, but they will not work at all on strictly audio files.
    I've looked at the preferences, and the software is up to date.
    the only way to ff/reverse is to go to Window > Show A/V Controls and use the Jog Shuttle, but that is a clumsy workaround. I'd rather have the playback buttons work properly in the first place.
    Is there something else I should be doing (aside from purchasing QT Pro, that is)?

    ...stupid decision to replace the iTunes feedback...
    Not replaced, just moved. Now grouped with all other Mac OS X feedback:
    http://www.apple.com/macosx/feedback/
    It's not a bug. If it was we would all have this problem. My Macs don't.
    Shut iTunes down.
    Go to ~/your user name/Library/Preferences and place the file "com.apple.iTunes.plist" in the trash.
    Try iTunes again. If your problem is solved, empty the trash.

  • Credit check and Credit hold not working for 2 specific clients

    Hello dear Oracle Support,
    I would like to ask for your help in the following subject:
    The Credit deppartment assign a Credit Hold and a Credit Check for 2 specific customers, but for some reason, these check boxes are not getting respected by the system, since the sales department are not getting any message or warning when creating an order. I tryed to look at these 2 check boxes at a table but I am affraid that I cant find the field, I am using the RA_CUSTOMERS table, but perhaps it is not the correct one, so I was wondering if you could give me any advice.
    Thanks

    Hi
    1. IMG -- SD -- Basic funtions -- credit management/risk mgmt -- credit mgmt -- Define credit groups.
    Here confirm that you have
    01 - credit group sales order
    02 - credit group delivery
    03 - credit group for GI
    2.  IMG -- SD -- Basic funtions -- credit management/risk mgmt -- credit mgmt -- Assign sales document type and delivery document type
    Here you have to assign
    01 - to the sales order(Ex OR) types
    02 - to delivery document type (Ex LF) <b>Dlv credit group</b>
    03 - to delivery document type (Ex LF) <b>GI credit group</b>
    <u><b>For delivery document type we have to assign to credit group one for Delivry another for PGI</b></u>
    3. IMG -- SD -- Basic funtions -- credit management/risk mgmt -- credit mgmt -- Define automatic credit control (OVA8)
    Maintain new combination for Your credit control area/risk categry of the customer/03 (GI credt group)
    Example : 1000/001/03
    maintain static/Dynamic credit check for this combination.
    Note : give warning at order level (credit grp 01) and delivery level (credit grp 02)... and give error at PGI level (credit grp 03).....
    So that you can see difference easyly
    4. FD32 - Maintain credit limit and Risk category(001) for your customer
    5. order - delivery - PGI
    Try this
    Hope your problem will be solved
    Let me know if you have any problem
    Reward points if helpfull
    Muthupandiyan

  • Java clients and IUserPrincipal class not working for authentication

    I'm developing a Java client which talks to EJBs on the iAS server via
    iiop.
    I've already developed EJBs, and they work fine. I'm trying to do user
    authentication per the examples in the Rich Client section.
    Here are the steps I've taken:
    1. I've created a class (achp.security.AchpPrincipal) which implements
    com.netscape.ejb.client.IUserPrincipal.
    2. I've added the class to the initial context via the following line:
    env.put("com.netscape.ejb.client.PrincipalClass",
    "achp.security.AchpPrincipal");
    3. I do a home lookup with the above initial context when the
    application starts, create a bean, and then invoke a method on the bean.
    When I do the home lookup, according to the manual, my AchpPrincipal
    class should be instantiated (which brings up a login window which then
    records username and password for future use).
    This never happens. The AchpPrincipal class is never instantiated,
    although the home lookup occurs successfully and the bean method call is
    also performed successfully.
    I'm running server on my Win2K desktop, with SP3. And, of course, I've
    properly installed the CXS server (as indicated by the fact that I can
    communicate with the EJBs at all though the Java client).
    Any help would be appreciated.
    Thanks,
    Douglas Bullard
    Multnomah County ISD

    I'm developing a Java client which talks to EJBs on the iAS server via
    iiop.
    I've already developed EJBs, and they work fine. I'm trying to do user
    authentication per the examples in the Rich Client section.
    Here are the steps I've taken:
    1. I've created a class (achp.security.AchpPrincipal) which implements
    com.netscape.ejb.client.IUserPrincipal.
    2. I've added the class to the initial context via the following line:
    env.put("com.netscape.ejb.client.PrincipalClass",
    "achp.security.AchpPrincipal");
    3. I do a home lookup with the above initial context when the
    application starts, create a bean, and then invoke a method on the bean.
    When I do the home lookup, according to the manual, my AchpPrincipal
    class should be instantiated (which brings up a login window which then
    records username and password for future use).
    This never happens. The AchpPrincipal class is never instantiated,
    although the home lookup occurs successfully and the bean method call is
    also performed successfully.
    I'm running server on my Win2K desktop, with SP3. And, of course, I've
    properly installed the CXS server (as indicated by the fact that I can
    communicate with the EJBs at all though the Java client).
    Any help would be appreciated.
    Thanks,
    Douglas Bullard
    Multnomah County ISD

  • Adjusting date and time does not work for pictures from one camera.

    I have a set of pictures taken with a Casio EX-Z20 camera in my Aperture 2 library. Because the clock of this camera was off by a few hours I changed them all at once with the option "Adjust date and time...". This worked well and when I sorted the images from different cameras by date in Aperture they were in the order.
    When exporting all the images as JPEG the images in the set from this camera was reset to it's original.
    That was very strange, I decided to try and change the date of these images in the master files as well by checking the checkbox "Also change master files".
    When I change the date from 15-10-2008 18:34:44 to 16-10-2008 10:34:44 (+16 hours) the date of the image changes to 16-10-08 01:36:43 GMT+02.00 (+9 hours, 1 minute, 59 seconds).
    When I change the date from 16-10-08 01:36:43 to 16-10-2008 19:36:43 (+18 hours) it ends up as being 16-10-08 10:38:42 (+9 hours, 1 minute, 59 seconds)
    When I change the date from 16-10-08 10:38:42 to 16-10-08 10:48:42 (+10 minutes) it ends up as 16-10-08 01:50:49 GMT+02:00 (-8 hours, 47 minutes, 7 seconds)
    I have worked around this problem by adding some hours to the desired time and eventually got it about right, but this is still a very annoying problem. Has anyone else encountered it or know of a way to avoid it?

    {quote:title=JohniBook wrote:}
    Has anyone else encountered it or know of a way to avoid it?
    {quote}
    I certainly have had issues regarding wrong dates, time stamping and DNG's in Aperture. There have been posts here from others as well with the same kind of date problems.
    I have reported the bug to Apple and hope for a solution to the issue in a near future.
    Regards
    Paul K

Maybe you are looking for