EJBC Compile woes - help

I keep getting the following error when trying to deploy an EJB. I am usinf Sun One App Server 7. When I check the class files everything looks ok. Can anyone help? Thanks.
[sun-appserv-deploy] Cannot deploy the component
BUILD FAILED
C:\IDEX\SunOne\samples\IDEX\simple\src\build.xml:114: An exception occurred whil
e running the command. The exception message is: Deployment Error -- Error whil
e running ejbc -- Fatal Error from EJB Compiler -- -- Compilation failed: com.ip
lanet.ias.ejb.codegen.ProcessExecutorException: Abnormal process termination --
process returned: 1
Attempted command: C:\Sun\AppServer7\jdk\bin\javac.exe -g -d C:\Sun\AppServer7\d
omains\domain1\server1\generated\ejb\j2ee-modules\IDEXAppEjb -classpath C:/Sun/A
ppServer7/lib/appserv-rt.jar;C:/Sun/AppServer7/jdk/lib/tools.jar;C:/Sun/AppServe
r7/lib/appserv-ext.jar;C:/Sun/AppServer7/lib/appserv-cmp.jar;C:\Sun\AppServer7\i
mq\lib/imq.jar;C:\Sun\AppServer7\imq\lib/imqadmin.jar;C:\Sun\AppServer7\imq\lib/
imqutil.jar;C:/Sun/AppServer7/lib/appserv-admin.jar;C:/Sun/AppServer7/lib/appser
v-ideplugin.jar;;C:/Sun/AppServer7/pointbase/client_tools/lib/pbclient42RE.jar;C
:\Sun\AppServer7\domains\domain1\server1\applications\j2ee-modules\IDEXAppEjb_1;
C:\Sun\AppServer7\domains\domain1\server1\generated\ejb\j2ee-modules\IDEXAppEjb;
C:\Sun\AppServer7\domains\domain1\server1\generated\ejb\j2ee-modules\IDEXAppEjb;
C:\Sun\AppServer7\domains\domain1\server1\generated\ejb\j2ee-modules\IDEXAppEjb
@C:\WINNT\Temp\2d0483_fbdec87b730000_54131.s1a
Output from command: C:\Sun\AppServer7\domains\domain1\server1\generated\ejb\j2e
e-modules\IDEXAppEjb\com\acs\TradingPartnerAuthenticatorBean_RemoteHomeImpl.java
:2: cannot access com.acs.TradingPartnerAuthenticatorHome
bad class file: \com\acs\TradingPartnerAuthenticatorHome.class
class file contains wrong class: TradingPartnerAuthenticatorHome
Please remove or make sure it appears in the correct subdirectory of the classpa
th.
public final class TradingPartnerAuthenticatorBean_RemoteHomeImpl extends com.su
n.ejb.containers.EJBHomeImpl implements com.acs.TradingPartnerAuthenticatorHome
^
1 error
My Desciptors for this stateless bean are as follows:
<ejb-jar>
<enterprise-beans>
<session>
<display-name>TradingPartnerAuthenticatorApp</display-name>
<ejb-name>TradingPartnerAuthenticator</ejb-name>
<home>com.acs.TradingPartnerAuthenticatorHome</home>
<remote>com.acs.TradingPartnerAuthenticator</remote>
<ejb-class>com.acs.TradingPartnerAuthenticatorBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<resource-ref>
<res-ref-name>jdbc/HOSTDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<sun-ejb-jar>
<enterprise-beans>
<ejb>
<ejb-name>TradingPartnerAuthenticator</ejb-name>
<jndi-name>tradingpartnerauth</jndi-name>
<resource-ref>
<res-ref-name>jdbc/HOSTDB</res-ref-name>
<jndi-name>HOSTDB</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>jdbc/IDEXDB</res-ref-name>
<jndi-name>IDEXDB</jndi-name>
</resource-ref>
</ejb>

See if there is a mechanism to keep the source generated by the container. Most containers do this and then try to look at the error. It looks like the source code generated by the container is wrong.

Similar Messages

  • Error from ejbc: Compiler failed executable.exec

    Hi all,
    I am using weblogic server 8.1 and encounter an error when I build my project, could anyone give me a helping hand? Thank you.
    This is my Configuration:
    Application Type: Empty Application
    Project Type: EJB Project
    Project Name: LibraryEJBProject
    DataSource: LibraryDataSource using cgPool
    Table: Library_Book under Schemas\Weblogic\Tables of pointbase server
    EJB name: BookBean.EJB under LibraryEJBProject\book
    When I right click LibraryEJBProject and click build, the following error comes out:
    ======================================================
    Build project LibraryEJBProject started.
    BUILD STARTED
    build:
    Created dir: C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build
    check-env:
    WARNING: Checking to see if there is anything new to build...
    Created dir: C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_ejb_crc
    no-ejbgen:
    run-build:
    clean-modules:
    removed module 'LibraryEJBProject.jar'
    WARNING: Running EJBGen...
    Loading source file C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp/Book\BookBean.java...
    Constructing Javadoc information...
    EJBGen 2.16
    [Info:] Creating C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp\Book\Book.java
    [Info:] Creating C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp\Book\BookHome.java
    [Info:] Creating C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp\META-INF\ejb-jar.xml
    [Info:] null [Bean] MAKE CLASS NAME G:BookHome P:Book N:BookHome
    [Info:] null [Bean] MAKE CLASS NAME G:Book P:Book N:Book
    [Info:] Creating C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp\META-INF\weblogic-ejb-jar.xml
    [Info:] Creating C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp\META-INF\weblogic-cmp-rdbms-jar.xml
    [Info:] Creating C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\/wlw_LibraryEJBProject_build/../wlw_ejb_crc//ejbgentemp\ejbgen-build.xml
    post-ejbgen:
    clean-ejbc:
    Copying 7 files to C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build
    WARNING: EJBGen ok. Compiling...
    runjavac:
    Compiling 3 source files to C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build
    WARNING: All files compiled. Running ejbc...
    <Dec 3, 2004 12:18:44 PM CST> <Warning> <EJB> <BEA-010212> <The EJB 'Book(Jar: C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build)' contains at least one method without an explicit transaction attribute setting. The default transaction attribute of Supports will be used for the following methods: local-home[createQuery(), remove(java.lang.Object), findByPrimaryKey(java.lang.Integer), create(java.lang.Integer)] local[getBookID(), getIsbn(), getName(), setPublisher(java.lang.String), getPublisher(), setAuthor(java.lang.String), setBookID(java.lang.Integer), remove(), setIsbn(java.lang.String), getAuthor(), setName(java.lang.String)] >
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:76: cannot resolve symbol
    symbol : class BookBean
    location: interface Book.Book
    public final class Book_5wlu3i__WebLogic_CMP_RDBMS extends Book.BookBean
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:760: cannot resolve symbol
    symbol : class Book_5wlu3i_Intf
    location: interface Book.Book
    Book.Book_5wlu3i_Intf beanIntf)
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_Intf.java:39: cannot resolve symbol
    symbol : class Book_5wlu3i_Intf
    location: interface Book.Book
    (java.sql.ResultSet rs, java.lang.Integer offset, Object __WL_pk, Book.Book_5wlu3i_Intf var)
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_ELOImpl.java:15: cannot resolve symbol
    symbol : class Book
    location: interface Book.Book
    implements Book.Book, weblogic.utils.PlatformConstants, java.io.Serializable
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_LocalHomeImpl.java:13: cannot resolve symbol
    symbol : class BookHome
    location: interface Book.Book
    implements Book.BookHome, weblogic.utils.PlatformConstants
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_LocalHomeImpl.java:76: cannot resolve symbol
    symbol : class Book
    location: interface Book.Book
    public Book.Book create (java.lang.Integer arg0)
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_LocalHomeImpl.java:101: cannot resolve symbol
    symbol : class Book
    location: interface Book.Book
    public Book.Book findByPrimaryKey(java.lang.Integer arg0)
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:244: cannot resolve symbol
    symbol : variable super
    location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
    super.setEntityContext(arg0);
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:257: cannot resolve symbol
    symbol : variable super
    location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
    super.unsetEntityContext();
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:269: cannot resolve symbol
    symbol : variable super
    location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
    super.ejbActivate();
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:490: cannot resolve symbol
    symbol : class Book_5wlu3i__WebLogic_CMP_RDBMS
    location: interface Book.Book
    Book.Book_5wlu3i__WebLogic_CMP_RDBMS __WL_bean = null;
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:566: cannot resolve symbol
    symbol : class Book_5wlu3i__WebLogic_CMP_RDBMS
    location: interface Book.Book
    __WL_bean = (Book.Book_5wlu3i__WebLogic_CMP_RDBMS)__WL_pm.getBeanFromRS(__WL_pk, __WL_rsInfo);
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:763: cannot resolve symbol
    symbol : class Book_5wlu3i__WebLogic_CMP_RDBMS
    location: interface Book.Book
    Book.Book_5wlu3i__WebLogic_CMP_RDBMS __WL_bean = (Book.Book_5wlu3i__WebLogic_CMP_RDBMS)beanIntf;
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:763: cannot resolve symbol
    symbol : class Book_5wlu3i__WebLogic_CMP_RDBMS
    location: interface Book.Book
    Book.Book_5wlu3i__WebLogic_CMP_RDBMS __WL_bean = (Book.Book_5wlu3i__WebLogic_CMP_RDBMS)beanIntf;
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:922: cannot resolve symbol
    symbol : variable super
    location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
    super.ejbLoad();
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:936: cannot resolve symbol
    symbol : variable super
    location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
    super.ejbStore();
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:950: cannot resolve symbol
    symbol : variable super
    location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
    super.ejbRemove();
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1051: cannot resolve symbol
    symbol : class Book_5wlu3i__WebLogic_CMP_RDBMS
    location: interface Book.Book
    case 0: __WL_loadGroup0FromRS(rs, offset, __WL_pk, (Book.Book_5wlu3i__WebLogic_CMP_RDBMS)eb); break;
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1167: reference to + is ambiguous, both method +(java.lang.String,java.lang.String) in and method +(java.lang.String,int) in match
    if(__WL_verbose) Debug.say("setting("+this+") 'author' using column " __WL_num ". Value is " + this.author);
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1178: reference to + is ambiguous, both method +(java.lang.String,java.lang.String) in and method +(java.lang.String,int) in match
    if(__WL_verbose) Debug.say("setting("+this+") 'isbn' using column " __WL_num ". Value is " + this.isbn);
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1189: reference to + is ambiguous, both method +(java.lang.String,java.lang.String) in and method +(java.lang.String,int) in match
    if(__WL_verbose) Debug.say("setting("+this+") 'name' using column " __WL_num ". Value is " + this.name);
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1200: reference to + is ambiguous, both method +(java.lang.String,java.lang.String) in and method +(java.lang.String,int) in match
    if(__WL_verbose) Debug.say("setting("+this+") 'publisher' using column " __WL_num ". Value is " + this.publisher);
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1663: cannot resolve symbol
    symbol : variable super
    location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
    super.ejbCreate( arg0);
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1702: cannot resolve symbol
    symbol : variable super
    location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
    super.ejbPostCreate( arg0);
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1847: cannot resolve symbol
    symbol : variable super
    location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
    super.ejbRemove();
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1907: cannot resolve symbol
    symbol : variable super
    location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
    super.ejbLoad();
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:1938: cannot resolve symbol
    symbol : variable super
    location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
    super.ejbStore();
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i__WebLogic_CMP_RDBMS.java:2072: cannot resolve symbol
    symbol : variable super
    location: class Book.Book_5wlu3i__WebLogic_CMP_RDBMS
    super.ejbPassivate();
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_LocalHomeImpl.java:80: cannot resolve symbol
    symbol : class Book
    location: interface Book.Book
    return (Book.Book) super.create(md_ejbCreate_I,
    ^
    C:\DOCUME~1\NICHOL~1.LAB\LOCALS~1\Temp\wlw_LibraryEJBProject_build\Book\Book_5wlu3i_LocalHomeImpl.java:105: cannot resolve symbol
    symbol : class Book
    location: interface Book.Book
    return (Book.Book)
    ^
    30 errors
    ERROR: ERROR: Error from ejbc: Compiler failed executable.exec
    ERROR: ERROR: ejbc couldn't invoke compiler
    BUILD FAILED
    ERROR: ERROR: Error from ejbc: Compiler failed executable.exec
    ERROR: ERROR: ejbc couldn't invoke compiler
    ======================================================
    What would be the cause of the error, would it be related to the way I create the datasource and the table? Or other causes, please help. Thank you.
    Regards,
    Nicholas Lok

    It's difficult to tell solely by the messages. One there seems to be a problem finding a base class. One thing that I notice is that the package seems to contain 'book' with a lower case 'b' as in:
    EJB name: BookBean.EJB under LibraryEJBProject\book
    Whereas all the error messages are saying that they are having trouble finding something with a package name like 'Book' with a capital 'B'.
    Perhaps that is the problem, the package has to be consistently 'book' or 'Book' and can't be both.
    Hope I'm right and hope this helps.
    thorick

  • RoboHelp 9 Will Not Compile Web Help

    Windows 7 Professional 640-bit
    Microsoft Office 2010
    RH 9.0.2.271
    I have several projects for which I compile Web help.
    Compiling the projects has been no problem in the past.
    I have made no known changes to the computer or user rights.
    Now, RH stops responding when the compile starts. The stop is very early in the process.
    I can compile CHM files.
    In Output View, I see the following message:
    Initializing complier
    Generating Webhelp 5.50 (9.0.0.228)…
    Error: Can not register active script for language javascript
    Template Error: can not resolve macro: RegisterResolvers
    Fata Error: Cannot run macro: Register Resolvers in compilation.
    While searching for an answer, I tried the following without success:
    Note: I am an administrator on the computer. I have always been an admin on the computer.
    I have not uninstalled/reinstalled RH so there should be no issues with administrator privileges.
    I ran the RH executable as an administrator using a variety of methods like right-click RoboHTML.exe and click Run as Administrator.
    Project is on local drive.
    Created a new project.
    Compiled the sample projects contained in RH.
    Created a new SSL.
    Create a new target folder for the output.
    Copy the LNG file from the "!Language\<current-project-language>" folder to the project folder.
    From the project settings dialog, change the project language to a different language, and then change it back to the current language.
    Deleted CPD file.
    Deleted !Language! folder.
    Word macro security is Enable all macros.
    Can anyone help me find something I have not tried.

    First I have often found that Deactivate becomes enabled if you wait a while after opening.
    Search on these two lines from your first post.
    Template Error: can not resolve macro: RegisterResolvers
    Fata Error: Cannot run macro: Register Resolvers in compilation.
    (Was it really Fata rather then Fatal?)
    Maybe you haven't changed rights but have IT done so without your knowledge?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • EJB archive passes ejbc compilation but fails deploy on WLS7

    I'm attempting to migrate several functional
    EJBs from WLS6.1 to WLS7.0. I've made the
    deployment descriptor changes and created an
    archive containing the EJBs. The ejbc compilation
    tool successfully processes the archive so long
    as I don't specify the -iiop option.
    However, the WLS7.0 server fails to deploy
    the archive. No messages or exceptions are
    provided. I've tried deployment both as an ear and jar file. Any clues or suggestions?

    Rob Woollen <[email protected]> wrote:
    ken wallis wrote:
    Rob Woollen <[email protected]> wrote:
    ken wallis wrote:
    I'm attempting to migrate several functional
    EJBs from WLS6.1 to WLS7.0. I've made the
    deployment descriptor changes and created an
    archive containing the EJBs. You actually don't need to change any descriptors to migrate from 6.x
    (or even 5.1) to 7.0. Just deploy the ejbs in the new server.
    Of course, many people will upgrade their descriptors to take advantage
    of new 7.0 options, but I'd first ensure your beans work without
    changing anything.I tried deploying the same archive on WLS 7.0 that I've already deployedto WLS
    6.1. It faired exactly the same as the previous version.
    The ejbc compilation
    tool successfully processes the archive so long
    as I don't specify the -iiop option.
    However, the WLS7.0 server fails to deploy
    the archive. No messages or exceptions are
    provided. I've tried deployment both as an ear and jar file. Anyclues or suggestions?
    Hmmm. That's odd. How are you deploying it, and how do you know it
    didn't deploy?
    I've copied the archive into the mydomain directory then used the Adminpages
    to select it for deployment. It works its way to a page stating thatits 'Activating'
    the archive and reports the start time. However, this process neverdisplays
    the end time or returns. Instead, the WLS server merely exits andthe Admin console
    suddenly displays the imfamous 'page not found' page.WLS should never just exit. It sounds like the JVM crashed. Are you
    using the JVM bundled with WLS? What platform are you on? Is there
    a
    core file or any *.log files left over from the jvm?Win 2000 w/ JDK 1.3.1_03 but I've not altered the WLS basic configuration so it
    should still be using its own.
    I attempted to redirect out and err to log files, but nothing gets captured and
    WLS leaves nothing that I've found. I even placed a 'pause' at the bottom of
    the start command file; the WLS window exitted without waiting for it.
    >
    You might also try just copying the jar/ear to the server's applications
    directory. I'd be interested to see if this works.
    I tried. The Admin server never starts.
    >
    >
    >>
    I've located the following error message in the mydomain\logs\wl-domain.log,although
    it provides no real information.
    <Sep 13, 2002 5:56:59 PM CDT> <Error> <Deployer> <CI069311> <myserver><ExecuteThread:
    '10' for queue: 'default'> <kernel identity> <> <149233> <Unexpectederror was
    encountered during the deployment process.>
    Incidentally, before I can attempt to restart the WLS, I have to manuallyremove
    the archive from the config.xml.

  • Files for compiling the help

    Real newbie to Robosource 3.1. We have our WebHelp project in
    Robosource with several technical writers working in the same
    project. We all have the project on our hard drives and we did this
    by opening robohelp and then selecting the lock icon at the top of
    the Open page and downloading the project from Robosource. My
    question is, do I use the files on my hard drive to compile the
    help. It is my understanding that when I open the project in
    RoboHelp, Robosource looks to see what files are the most recent
    and then downloads those files to my hard drive.
    If that's the case then I am thinking I should compile the
    help from my hard drive as long as another user isn't in the
    application. Is that correct?
    Thanks.

    That's more or less the way we do it. We designate a "build
    owner" for each project. The build owner is responsible for
    downloading the latest files from RSC and generating output. With
    multiple writers on a project, having a single build owner is
    helpful, especially if there are merged child projects involved in
    the mix. The build owner knows what to do, and has everything
    configured correctly on his/her machine.
    It probably doesn't matter if other writers are in the
    project, except that their changes wouldn't be reflected in the
    generated output.
    I think it's possible to set up command line generation that
    grabs the latest files from RSC, but I haven't tried to do that
    yet.
    G

  • Exception from weblogic.ejbc trade.jar, help for that please.

    I am using weblogic 7.0.4 and this is the exception thrown out when I use weblogic.ejbc
    to generate container classes before building web services:
    C:\Java\test>java weblogic.ejbc trader.jar
    Exception in thread "main" java.io.InvalidClassException: javax.management.MBean
    AttributeInfo; local class incompatible: stream classdesc serialVersionUID = 704
    3855487133450673, local class serialVersionUID = 8644704819898565848
    at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
    1)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
    1)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
    1)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
    616)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1593)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1261)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:18
    30)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
    636)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
    at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:281)
    at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
    .java:186)
    at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
    .java:169)
    at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
    mentMBeanDelegate.java:67)
    at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
    mentMBeanDelegate.java:51)
    at weblogic.management.descriptors.BaseXMLElementMBeanImpl.<init>(BaseXM
    LElementMBeanImpl.java:8)
    at weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.<init
    (EJBDescriptorMBeanImpl.java:94)at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:212)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
    a:105)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
    a:90)
    at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:670)
    at weblogic.ejbc20.runBody(ejbc20.java:425)
    at weblogic.utils.compiler.Tool.run(Tool.java:126)
    at weblogic.ejbc.main(ejbc.java:29)
    --------------- nested within: ------------------
    weblogic.management.configuration.ConfigurationException: - with nested excepti
    on:
    [java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class
    incompatible: stream classdesc serialVersionUID = 7043855487133450673, local cl
    ass serialVersionUID = 8644704819898565848]
    at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:286)
    at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
    .java:186)
    at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
    .java:169)
    at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
    mentMBeanDelegate.java:67)
    at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
    mentMBeanDelegate.java:51)
    at weblogic.management.descriptors.BaseXMLElementMBeanImpl.<init>(BaseXM
    LElementMBeanImpl.java:8)
    at weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.<init
    (EJBDescriptorMBeanImpl.java:94)at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:212)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
    a:105)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
    a:90)
    at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:670)
    at weblogic.ejbc20.runBody(ejbc20.java:425)
    at weblogic.utils.compiler.Tool.run(Tool.java:126)
    at weblogic.ejbc.main(ejbc.java:29)
    --------------- nested within: ------------------
    weblogic.management.configuration.ConfigurationError: No MBeanInfo found for MBe
    an with name = null, type = EJBDescriptor, Class = weblogic.management.descripto
    rs.toplevel.EJBDescriptorMBeanImpl - with nested exception:
    [weblogic.management.configuration.ConfigurationException:  - with nested except
    ion:
    [java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class
    incompatible: stream classdesc serialVersionUID = 7043855487133450673, local cl
    ass serialVersionUID = 8644704819898565848]]
    at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
    .java:193)
    at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
    .java:169)
    at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
    mentMBeanDelegate.java:67)
    at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
    mentMBeanDelegate.java:51)
    at weblogic.management.descriptors.BaseXMLElementMBeanImpl.<init>(BaseXM
    LElementMBeanImpl.java:8)
    at weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.<init
    (EJBDescriptorMBeanImpl.java:94)at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:212)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
    a:105)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
    a:90)
    at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:670)
    at weblogic.ejbc20.runBody(ejbc20.java:425)
    at weblogic.utils.compiler.Tool.run(Tool.java:126)
    at weblogic.ejbc.main(ejbc.java:29)

    Hello,
    I don't know...but the good folks that monitor the EJB newsgroup [1]
    would have a better shot at an answer.
    Regards,
    Bruce
    [1]
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.ejb
    CottonXu wrote:
    >
    I am using weblogic 7.0.4 and this is the exception thrown out when I use weblogic.ejbc
    to generate container classes before building web services:
    C:\Java\test>java weblogic.ejbc trader.jar
    Exception in thread "main" java.io.InvalidClassException: javax.management.MBean
    AttributeInfo; local class incompatible: stream classdesc serialVersionUID = 704
    3855487133450673, local class serialVersionUID = 8644704819898565848
    at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
    1)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
    1)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
    1)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
    616)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1593)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1261)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:18
    30)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
    636)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
    at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:281)
    at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
    .java:186)
    at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
    .java:169)
    at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
    mentMBeanDelegate.java:67)
    at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
    mentMBeanDelegate.java:51)
    at weblogic.management.descriptors.BaseXMLElementMBeanImpl.<init>(BaseXM
    LElementMBeanImpl.java:8)
    at weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.<init
    (EJBDescriptorMBeanImpl.java:94)at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:212)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
    a:105)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
    a:90)
    at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:670)
    at weblogic.ejbc20.runBody(ejbc20.java:425)
    at weblogic.utils.compiler.Tool.run(Tool.java:126)
    at weblogic.ejbc.main(ejbc.java:29)
    --------------- nested within: ------------------
    weblogic.management.configuration.ConfigurationException: - with nested excepti
    on:
    [java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class
    incompatible: stream classdesc serialVersionUID = 7043855487133450673, local cl
    ass serialVersionUID = 8644704819898565848]
    at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:286)
    at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
    .java:186)
    at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
    .java:169)
    at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
    mentMBeanDelegate.java:67)
    at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
    mentMBeanDelegate.java:51)
    at weblogic.management.descriptors.BaseXMLElementMBeanImpl.<init>(BaseXM
    LElementMBeanImpl.java:8)
    at weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.<init
    (EJBDescriptorMBeanImpl.java:94)at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:212)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
    a:105)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
    a:90)
    at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:670)
    at weblogic.ejbc20.runBody(ejbc20.java:425)
    at weblogic.utils.compiler.Tool.run(Tool.java:126)
    at weblogic.ejbc.main(ejbc.java:29)
    --------------- nested within: ------------------
    weblogic.management.configuration.ConfigurationError: No MBeanInfo found for MBe
    an with name = null, type = EJBDescriptor, Class = weblogic.management.descripto
    rs.toplevel.EJBDescriptorMBeanImpl - with nested exception:
    [weblogic.management.configuration.ConfigurationException:  - with nested except
    ion:
    [java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class
    incompatible: stream classdesc serialVersionUID = 7043855487133450673, local cl
    ass serialVersionUID = 8644704819898565848]]
    at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
    .java:193)
    at weblogic.management.internal.DynamicMBeanImpl.<init>(DynamicMBeanImpl
    .java:169)
    at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
    mentMBeanDelegate.java:67)
    at weblogic.management.descriptors.XMLElementMBeanDelegate.<init>(XMLEle
    mentMBeanDelegate.java:51)
    at weblogic.management.descriptors.BaseXMLElementMBeanImpl.<init>(BaseXM
    LElementMBeanImpl.java:8)
    at weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.<init
    (EJBDescriptorMBeanImpl.java:94)at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:212)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
    a:105)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.jav
    a:90)
    at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:670)
    at weblogic.ejbc20.runBody(ejbc20.java:425)
    at weblogic.utils.compiler.Tool.run(Tool.java:126)
    at weblogic.ejbc.main(ejbc.java:29)

  • RoboHelp 9/10 Java Error Trying to Compile AIR Help Skin

    I'm trying to save a custom skin for a RoboHelp 9 project on a Windows 7 64-bit PC using AIR Browser Based Help. When I try to save the skin, or compile it into a SWF, I get the following error:
    Error loading: C:\Program Files\Java\jdk1.7.0_09\jre\bin\jvm.dll
    The dll is located at that path. I tried running RoboHelp as Administrator. I tried editing a new skin with a new clean project and also with a downloaded trial of RoboHelp 10, and I got the same results. Has anyone seen this, or can anyone think of a fix?

    Hello hypericon_0090001,
    Have you found any fix for this, as I am having the same problem.

  • Can't Export Movie - Unknown Compile Error - Help!

    I edited a 32 minute movie in Premiere Elements 10, and now I'm trying to export it.  At some point during the export, and it seems to vary, I get an unknown compile error.  I've been trying to export the movie for the past week and all I get is failure despite trying just about everything I've found written about how to solve this.
    I have Win 7 Ultimate SP 1 running on a Lenovo desktop machine with an Intel Core 2 Quad CPU at 2.67 GHz, 4GB of RAM, 32 bit proc.
    Premiere is installed on system C drive with 6 GB of free space.
    Project and scrach disks are on D drive with 165 GB of free space.
    Media files are on 2nd E drive with 50GB of free space.
    Project and most source material is NTSC DV -- there are quite a few photos with motion, plus some iPhone HD video on the timeline, hundreds of clips in all plus narration, a few titles, etc.
    Export destination folder is on D drive.
    Everything will render to green lines atop timeline (sometimes it quits during render and I have to keep hitting Enter to continue rendering, but eventually it's all green)
    So far I've tried:
    - Reinstalling PE 10
    - Reinstalling Quicktime
    - Copying all the photos to their own separate folder
    - Editing each photo slightly (outside of PE 10) and resaving to make sure none of the photos are corrupted
    - Emptying the temp folder
    - Deleting all the renders and cache files and letting them rebuild
    - Exporting small pieces of the timeline to try to identify a bad clip -- this is a maddening process and I did find one clip that would generate the error, but I managed to export that to AVI and reimport and replace on timeline.  It would be awfully nice if PE would just TELL ME which clip it doesn't like if in fact it's a clip error.
    - Turning off the shadow / highlight feature I had on some clips, but this wasn't the issue, smaller sections with these clips exported fine
    - Tried exporting to various formats: Vimeo SD, MPEG DV Standard, iPad Standard High Quality, AVI -- all result in the same error (the format I want by the way is Vimeo SD)
    - Rebooting the machine and turning everything off that might possibly consume memory
    This machine has never had problems exporting in the past.  One thing I did try that worked -- installed PE 10 on another (less capable) Win 7 machine, and fed it all the media via an external drive.  The other machine did the export fine (though it took a while given it is underpowered).  This is nothing more than a work around though as I don't normally have access to this machine and I'm not done editing.
    I'm at my wits' end!  What else can I do to get this movie file to export?
    Appreciate any help or clues you can provide to solve this mystery.

    Oh, that is tragic!
    I never had any issues with mine. Maybe it knew how respectful I was, having come from manual rewinds and a sync block? The Moviola was a godsend, at least for me. I am glad that I got to edit film, and on many setups, as some of that translated well to digital Video. Back when I was in film school, Video was 2" tape, and the only editing was by cutting at a 45 degree angle, and splicing the tape. There was not even deck-to-deck editing, way back then. Also, Video looked like crap, at least to my eyes. We could only use a switcher, to "edit," or do a feed to air. Looked like crap!
    As for the Lexus, I can imagine all sorts of problems. My new LX-570 requires me to "Accept," when I put it into reverse, on the rear-view monitor! At least my wife's MB does not require that, but it is a 2011 model, so maybe the 2013 models will require that the user sign off on all sorts of "stuff."
    Now, I can play Finding Nemo, for my rear-seat passengers, while driving, but the front-seat passengers cannot see it, which is just fine. When driving, I am not even a fan of hands-free calls, and declined most of the streaming stock quotes, etc. for XM/Sirius radio. NOT while I am driving. I will save that for reading the WSJ in the club at the airport.
    Some years ago, our driver in London got a new BMW 7-series, and it allowed the playing of DVD's, even in the front, while driving. Not sure that I would want that, but such is life. At least his seats' ventilation system was "well-chilled," where ours' are just air. He almost froze my bum, showing off his new auto.
    Now, working with PS, or PrE in an auto, or even on a mobile device, is just not something that I can wrap my old head around. I want a fast computer, with a big display, and cannot imagine editing Images, or Video, on any handheld (or auto) device.
    Hunt

  • Firm_event  Error In Compilation -Please Help!

    Hi I'm trying to read data from a USB BARCODE SCANNER
    I've written a little sample code... But It refuses to Compile.
    Please If anyone could help me with definitions.
    Thanks !
    #include <sys/types.h>
    #include <stropts.h>
    #include <time.h>
    #include <stdio.h> /* Standard input/output definitions */
    #include <string.h> /* String function definitions */
    #include <stdlib.h>
    #include <unistd.h> /* UNIX standard function definitions */
    #include <fcntl.h> /* File control definitions */
    #include <errno.h> /* Error number definitions */
    #include <termios.h> /* POSIX terminal control definitions */
    #include <sys/vuid_queue.h>
    main( int argc, char *argv[]){
    int fd,rval;
    char c;
    Firm_event fe;
    fd = open("dev/usb/hid3",O_RDWR);
    if (fd < 0 ) {
    exit (1);
    if ((rval = ioctl(fd, I_PUSH,"usbkbm")) < 0 ) {
    exit (1);
    while (read(fd, &fe, sizeof(fe))) {
    printf("\n");
    printf("%d", fe.id);
    printf("%d", fe.value);
    gcc bcode.c
    In file included from bcode.c:12:
    /usr/include/sys/vuid_queue.h:46: parse error before "Firm_event"
    bcode.c: In function `main':
    bcode.c:17: `Firm_event' undeclared (first use in this function)
    bcode.c:17: (Each undeclared identifier is reported only once
    bcode.c:17: for each function it appears in.)
    bcode.c:17: parse error before "fe"
    bcode.c:25: `fe' undeclared (first use in this function)

    Hello.
    You must include the firm events include file before <sys/vuid_queue.h>.
    This file is named something like <sys/vuid_event.h> or <sys/firm_event.h> (I'm not 100% sure):
    #include <sys/vuid_event.h>
    #include <sys/vuid_queue.h>
    I hope this helps.
    Martin R.

  • Weblogic.ejbc compiler

    Hi, i've a problem with the boot of the entity beans.
    My entity beans extends a class in which there is a definition of a public variable Long which there isn't defined in the bean but it is in the ejb-jar.xml as cmp-field and in the weblogic-ejb-extensions as attribute map.
    The weblogic.ejbc -i ejb-jar.xml -x weblogic-ejb-extensions.xml doesn't give me exception, but when i boot the application (tmboot -y) i've this log :
    ERROR: While deploying bean it.sella.anagrafe.evento.EventoEJB
    java.lang.NoSuchFieldException: id
    174943.dcsv01!JavaServer.7981: main: EJB_CAT:28: ERROR: While deploying bean it.sella.anagrafe.evento.EventoEJB
    : The EJB Container received weblogic.ejb.common.DeploymentException: EJB_CAT:28: ERROR: While deploying bean
    it.sella.anagrafe.evento.EventoEJB :
    java.lang.NoSuchFieldException: id while setting container managed persistence.
    Could you help me?
    Regards

    Mary Ann Slavin <[email protected]> wrote:
    Error 28 indicates that there is a problem with the deployment descriptor. Check that -- ERROR 28: Make sure the deployable JAR contains a compliant deployment descriptor.
    There are following the two xml files, The EventoBean class, the EntityBeanAdapter class extended by EventoBean and the primary key class DefaultPK
    This is, i think,the better way to an help.
    The problem is in the boot of the application( the same works fine with WLS5.1)
    ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <entity>
         <ejb-name>it.sella.anagrafe.evento.EventoEJB</ejb-name>
         <home>it.sella.anagrafe.evento.EventoHome</home>
         <remote>it.sella.anagrafe.evento.Evento</remote>
         <ejb-class>it.sella.anagrafe.evento.EventoBean</ejb-class>
         <persistence-type>Container</persistence-type>
         <prim-key-class>it.sella.ejb.DefaultPK</prim-key-class>
         <reentrant>False</reentrant>
         <cmp-field>
         <field-name>id</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>soggettoId</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>compatibleInstanceId</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>compatibleTypeId</field-name>
         </cmp-field>
    <cmp-field>
         <field-name>rightPk</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>value</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>dateValue</field-name>
         </cmp-field>
         <env-entry>
              <env-entry-name>counterHomeName</env-entry-name>
              <env-entry-type>java.lang.String</env-entry-type>
              <env-entry-value>it.sella.counter.CounterHome</env-entry-value>
         </env-entry>
         <resource-ref>
              <res-ref-name>jdbc/clientPool</res-ref-name>
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
         </resource-ref>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
         <method>
         <ejb-name>it.sella.anagrafe.evento.EventoEJB</ejb-name>
         <method-intf>Remote</method-intf>
         <method-name>*</method-name>
         </method>
         <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    weblogic-ejb-extensions.xml
    <!DOCTYPE weblogic-ejb-extensions SYSTEM "weblogic-ejb-extensions.dtd" >
    <weblogic-ejb-extensions>
    <weblogic-enterprise-bean>
    <ejb-name>it.sella.anagrafe.evento.EventoEJB</ejb-name>
    <weblogic-deployment-params>
    <!-- <max-beans-in-free-pool>20</max-beans-in-free-pool>-->
    <!-- <max-beans-in-cache>1000</max-beans-in-cache>-->
    <!--<idle-timeout-seconds>5</idle-timeout-seconds>-->
    <!-- JNDI name that is associated with this EJB;used for lookup -->
    <jndi-name>it.sella.anagrafe.evento.EventoHome</jndi-name>
    <!-- This is CMP EJB. Specify persistence information -->
    <persistence-store-descriptor>
    <is-modified-method-name>isModified</is-modified-method-name>
         <!--<delay-updates-until-end-of-tx>false</delay-updates-until-end-of-tx>-->
    <!--<db-is-shared>false</db-is-shared>-->
    <persistence-store-jdbc>
    <!-- Pool name is looked up by the EJB source -->
    <pool-name>jdbc/clientPool</pool-name>
    <!-- *** DATABASE INFORMATION SPECIFIC TO INSTALLATION SITE *** -->
    <user>ssil</user>
    <!-- Default password URL is for Oracle 8i-->
    <password>ssil</password>
    <!-- Default driver URL is for Oracle 8i,
    and default instance Beq-Local is used
    -->
    <driver-url>jdbc:oracle:thin:@171.97.1.5:1521:th2o</driver-url>
    <table-name>an_tr_evento</table-name>
    <!-- Default user URL is for Oracle 8i-->
    <!-- CMP Fields and database table column mapping-->
    <attribute-map>
    <attribute-map-entry>
    <bean-field-name>id</bean-field-name>
    <table-column-name>ev_evento_id</table-column-name>
    </attribute-map-entry>
    <attribute-map-entry>
    <bean-field-name>soggettoId</bean-field-name>
    <table-column-name>ev_soggetto_id</table-column-name>
    </attribute-map-entry>
    <attribute-map-entry>
    <bean-field-name>compatibleInstanceId</bean-field-name>
    <table-column-name>ev_compatible_instance_id</table-column-name>
    </attribute-map-entry>
    <attribute-map-entry>
    <bean-field-name>compatibleTypeId</bean-field-name>
    <table-column-name>ev_compatible_type_id</table-column-name>
    </attribute-map-entry>
    <attribute-map-entry>
    <bean-field-name>value</bean-field-name>
    <table-column-name>ev_value</table-column-name>
    </attribute-map-entry>
    <attribute-map-entry>
    <bean-field-name>dateValue</bean-field-name>
    <table-column-name>ev_date_value</table-column-name>
    </attribute-map-entry>
    <attribute-map-entry>
    <bean-field-name>rightPk</bean-field-name>
    <table-column-name>ev_right_pk</table-column-name>
    </attribute-map-entry>
    </attribute-map>
    <!-- Finder Specifications -->
    <finder-descriptor>
    <description>
    Find method to get accounts with balance over the parameter.
    </description>
    <method>
    <ejb-name>
    it.sella.anagrafe.documento.DocumentoHome
    </ejb-name>
    <method-name>
    findBySoggettoId(Long long1)
    </method-name>
    </method>
    <query-grammar>
    (= soggettoId $long1)
    </query-grammar>
    </finder-descriptor>
    </persistence-store-jdbc>
    </persistence-store-descriptor>
    </weblogic-deployment-params>
    </weblogic-enterprise-bean>
    </weblogic-ejb-extensions>
    EventoBean class
    package it.sella.anagrafe.evento;
    import it.sella.ejb.EntityBeanAdapter;
    import java.rmi.RemoteException;
    import java.sql.Timestamp;
    public class EventoBean extends EntityBeanAdapter
    public Long soggettoId;
    public Long compatibleInstanceId;
    public Long compatibleTypeId;
    public String value;
    public Timestamp dateValue;
    public Long rightPk;
    public EventoBean()
    protected Long getCounterInitVal()
    return new Long(1000L);
    public Timestamp getDateValue()
    throws RemoteException
    return dateValue;
    public Long getInstanceId()
    throws RemoteException
    return compatibleInstanceId;
    public Long getRightPk()
    throws RemoteException
    return rightPk;
    public Long getSoggettoId()
    throws RemoteException
    return soggettoId;
    public Long getTypeId()
    throws RemoteException
    return compatibleTypeId;
    public String getValue()
    throws RemoteException
    return value;
    public void setDateValue(Timestamp timestamp)
    throws RemoteException
    dateValue = timestamp;
    setModified(true);
    public void setInstanceId(Long long1)
    throws RemoteException
    compatibleInstanceId = long1;
    setModified(true);
    public void setRightPk(Long long1)
    throws RemoteException
    rightPk = long1;
    setModified(true);
    public void setSoggettoId(Long long1)
    throws RemoteException
    soggettoId = long1;
    setModified(true);
    public void setTypeId(Long long1)
    throws RemoteException
    compatibleTypeId = long1;
    setModified(true);
    public void setValue(String s)
    throws RemoteException
    value = s;
    setModified(true);
    EntityBeanAdapter class
    package it.sella.ejb;
    import it.sella.ejb.counter.Counter;
    import it.sella.ejb.counter.CounterGenerationException;
    import it.sella.ejb.counter.CounterHome;
    import it.sella.ejb.counter.CounterPK;
    import it.sella.ejb.link.ILink;
    import java.beans.*;
    import java.io.PrintStream;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.rmi.RemoteException;
    import java.util.*;
    import javax.ejb.*;
    import javax.naming.*;
    import javax.rmi.PortableRemoteObject;
    // Referenced classes of package it.sella.ejb:
    // EnterpriseBeanAdapter, IEJBView, IEJBEntityObject, DefaultPK,
    // IEntityBean, IPrimaryKey
    public abstract class EntityBeanAdapter extends EnterpriseBeanAdapter
    implements IEntityBean
    public Long id;
    private EntityContext entityContext;
    private transient boolean isModified;
    private static transient String counterHomeName = "CounterHome";
    private static transient CounterHome counterHome;
    private transient boolean beanRemovable;
    private transient Counter counter;
    private Class ejbViewClass;
    public EntityBeanAdapter()
    beanRemovable = false;
    protected Long getCounterInitVal()
    return new Long(-1L);
    public void ejbActivate()
    throws RemoteException
    log(3, "ejbActivate (" + this + ")");
    public void ejbLoad()
    throws RemoteException
    log(3, "ejbLoad: (" + this + ")");
    setModified(false);
    public IPrimaryKey ejbCreate(IEJBView ejbView)
    throws RemoteException, CreateException
    log(3, "ejbCreate: (" + this + ") from (" + ejbView + ")");
    ejbCreate();
    setAttributesFromEJBView(ejbView);
    setModified(false);
    return getPrimaryKey();
    public void ejbPostCreate(IEJBView ejbView)
    throws RemoteException, CreateException
    log(3, "ejbPostCreate: (" + this + ") from (" + ejbView + ")");
    public IPrimaryKey ejbCreate()
    throws RemoteException, CreateException
    System.out.println("inside ejbCreate");
    log(3, "ejbCreate: (" + this + ")");
    setPrimaryKeyID(getNextId());
    System.out.println("After setPrimaryKeyID in EBA");
    System.out.println("before defaultvalue setting in EBA with pk val" + getPrimaryKeyID().toString());
    setAttributesWithDefaultValues();
    setModified(false);
    System.out.println("before return in ejbCreate() in EBA with pk val" + getPrimaryKeyID().toString());
    return getPrimaryKey();
    public void ejbPostCreate()
    throws RemoteException, CreateException
    log(3, "ejbPostCreate: (" + this + ")");
    public void setAttributesWithDefaultValues()
    throws CreateException
    public void setAttributesFromEJBView(IEJBView ejbView)
    throws CreateException
    try
    setEJBEntityPropertiesFromEJBView(ejbView);
    catch(InvocationTargetException e)
    e.printStackTrace();
    throw new CreateException(e.getMessage());
    catch(IntrospectionException e)
    e.printStackTrace();
    throw new CreateException(e.getMessage());
    catch(IllegalAccessException e)
    e.printStackTrace();
    throw new CreateException(e.getMessage());
    protected void setEJBEntityPropertiesFromEJBView(IEJBView ejbView)
    throws IllegalAccessException, IntrospectionException, InvocationTargetException
    Class ejbViewClass = ejbView.getClass();
    BeanInfo ejbViewInfo = Introspector.getBeanInfo(ejbViewClass);
    PropertyDescriptor ejbViewProps[] = ejbViewInfo.getPropertyDescriptors();
    for(int n = 0; n < ejbViewProps.length; n++)
    Method ejbViewGetMethod = ejbViewProps[n].getReadMethod();
    if(ejbViewGetMethod == null)
    continue;
    try
    StringBuffer setMethodName = (new StringBuffer("set")).append(ejbViewProps[n].getName());
    setMethodName.setCharAt(3, Character.toUpperCase(setMethodName.charAt(3)));
    Method ejbEntityObjectSetMethod = getClass().getMethod(setMethodName.toString(), new Class[] {
    ejbViewProps[n].getPropertyType()
    Object args[] = new Object[1];
    args[0] = ejbViewGetMethod.invoke(ejbView, new Object[0]);
    ejbEntityObjectSetMethod.invoke(this, args);
    log(3, "method " + setMethodName);
    catch(NoSuchMethodException e)
    log(3, "NoSuchMethodException: " + e.getMessage());
    protected void setEJBViewPropertiesFromEJBEntity(IEJBView ejbView)
    throws IllegalAccessException, IntrospectionException, InvocationTargetException
    Class ejbViewClass = ejbView.getClass();
    BeanInfo ejbViewInfo = Introspector.getBeanInfo(ejbViewClass);
    PropertyDescriptor ejbViewProps[] = ejbViewInfo.getPropertyDescriptors();
    for(int n = 0; n < ejbViewProps.length; n++)
    Method ejbViewSetMethod = ejbViewProps[n].getWriteMethod();
    if(ejbViewSetMethod == null)
    continue;
    try
    StringBuffer getMethodName = (new StringBuffer("get")).append(ejbViewProps[n].getName());
    getMethodName.setCharAt(3, Character.toUpperCase(getMethodName.charAt(3)));
    Method ejbEntityObjectGetMethod = getClass().getMethod(getMethodName.toString(), new Class[0]);
    Object args[] = new Object[1];
    args[0] = ejbEntityObjectGetMethod.invoke(this, new Object[0]);
    ejbViewSetMethod.invoke(ejbView, args);
    log(3, "method " + getMethodName);
    catch(NoSuchMethodException e)
    log(3, e.getMessage());
    public void ejbPassivate()
    throws RemoteException
    log(3, "ejbPassivate (" + this + ")");
    public void ejbRemove()
    throws RemoveException, RemoteException
    log(3, "ejbRemove (" + this + ")");
    if(isBeanRemovable())
    log(3, "<EBA>In ejbRemove : Bean is removable -> going to remove the linked beans(if any)");
    removeLinks();
    log(3, "<EBA>In ejbRemove : links are removed(if any)");
    } else
    throw new RemoveException("Could not Remove EJBean. Possible Cause -> IsBeanRemovable env-entry Property for this bean or its linked beans(Aggregated) in their ejb-jar xml file not set or set as False");
    public void ejbStore()
    throws RemoteException
    log(3, "ejbStore (" + this + ")");
    setModified(false);
    public final boolean isModified()
    return isModified;
    public final void setModified(boolean modified)
    isModified = modified;
    protected final EntityContext getEntityContext()
    return entityContext;
    public final void setEntityContext(EntityContext context)
    throws RemoteException
    InitialContext ctx = null;
    log(3, "setEntityContext (" + this + ")");
    entityContext = context;
    log(3, "In setEntityContext - context set and = " + entityContext.toString());
    try
    ctx = new InitialContext();
    setCounterHomeName((String)ctx.lookup("java:comp/env/counterHomeName"));
    String beanRemovableFlag = (String)ctx.lookup("java:comp/env/isBeanRemovable");
    if(beanRemovableFlag.equalsIgnoreCase("true"))
    setBeanRemovable(Boolean.TRUE.booleanValue());
    else
    if(beanRemovableFlag.equalsIgnoreCase("false"))
    setBeanRemovable(Boolean.FALSE.booleanValue());
    else
    throw new IllegalArgumentException("Could not take the environment entry for IsBeanRemovable ");
    catch(NamingException ne)
    setCounterHomeName("it.sella.counter.CounterHome");
    setBeanRemovable(Boolean.FALSE.booleanValue());
    log(3, "Naming Exception Default Exception");
    finally
    try
    ctx.close();
    catch(Exception exception1) { }
    public final void unsetEntityContext()
    throws RemoteException
    log(3, "unsetEntityContext (" + this + ")");
    entityContext = null;
    protected String getEJBViewClassName(IEntityBean entity)
    String ejbEntityClassName = entity.getClass().getName();
    StringBuffer tmp = new StringBuffer(ejbEntityClassName);
    tmp.replace(ejbEntityClassName.lastIndexOf("Bean"), ejbEntityClassName.length(), "View");
    return tmp.toString();
    private Class getEJBViewClass(IEntityBean entity)
    throws ClassNotFoundException
    if(ejbViewClass == null)
    ejbViewClass = Class.forName(getEJBViewClassName(entity), true, entity.getClass().getClassLoader());
    return ejbViewClass;
    public final IEJBView getEJBView()
    IEJBView ejbView;
    try
    ejbView = (IEJBView)getEJBViewClass(this).newInstance();
    setEJBViewPropertiesFromEJBEntity(ejbView);
    catch(Exception e)
    e.printStackTrace();
    throw new RuntimeException(e.getMessage());
    return ejbView;
    public final String getEJBViewString()
    return getEJBView().toString();
    public String toString()
    return super.toString();
    public final IEJBEntityObject getEJBObject()
    return (IEJBEntityObject)getEntityContext().getEJBObject();
    private Counter getCounter()
    throws CounterGenerationException
    if(counter == null)
    try
    counter = (Counter)PortableRemoteObject.narrow(getCounterHome().findByPrimaryKey(new CounterPK(getHomeInterfaceClassName())), Class.forName("it.sella.ejb.counter.Counter"));
    catch(RemoteException nex)
    throw new CounterGenerationException("Remote exception in getCounter() during findByPrimaryKey" + nex.getLocalizedMessage());
    catch(NamingException nex)
    throw new CounterGenerationException("Naming exception in getCounter() during findByPrimaryKey" + nex.getLocalizedMessage());
    catch(FinderException fex)
    try
    counter = (Counter)PortableRemoteObject.narrow(getCounterHome().create(getHomeInterfaceClassName(), getCounterInitVal()), Class.forName("it.sella.ejb.counter.Counter"));
    catch(CreateException cex)
    throw new CounterGenerationException("Create exception in getCounter() during create - Counter could not be created!!!" + cex.getLocalizedMessage());
    catch(RemoteException nex)
    throw new CounterGenerationException("Remote exception in getCounter() during create - Counter could not be created!!!" + nex.getLocalizedMessage());
    catch(NamingException nex)
    throw new CounterGenerationException("Naming exception in getCounter() - during create - Counter could not be created!!!" + nex.getLocalizedMessage());
    return counter;
    private static CounterHome getCounterHome()
    throws NamingException
    if(counterHome == null)
    Context ctx = new InitialContext();
    counterHome = (CounterHome)ctx.lookup(counterHomeName);
    return counterHome;
    private Long getNextId()
    throws CounterGenerationException
    try
    Long long1 = getCounter().getNextId();
    return long1;
    catch(RemoteException nex)
    nex.printStackTrace();
    throw new CounterGenerationException("Remote exception while calling counter.getNextId()" + nex.getLocalizedMessage());
    public IPrimaryKey getPrimaryKey()
    System.out.println("in getPrimaryKey():" + getPrimaryKeyID());
    return new DefaultPK(getPrimaryKeyID());
    private void setPrimaryKey(IPrimaryKey pk)
    throws IllegalAccessException
    throw new IllegalAccessException("This method cannot be called directly.");
    private String getHomeInterfaceClassName()
    throws RemoteException
    return getEntityContext().getEJBHome().getEJBMetaData().getHomeInterfaceClass().getName();
    public Long getPrimaryKeyID()
    System.out.println("id in getPrimaryKeyId :" + id);
    return id;
    private void setPrimaryKeyID(Long id)
    System.out.println("<<Eba>>setPrimaryKeyID:" + id.toString());
    this.id = id;
    public String getCounterHomeName()
    return counterHomeName;
    private void setCounterHomeName(String newCounterHomeName)
    counterHomeName = newCounterHomeName;
    private Collection getLinks()
    throws RemoveException
    String prefix = "get";
    String suffix = "Link";
    Vector links = new Vector();
    Method beanMethods[] = null;
    try
    beanMethods = getClass().getMethods();
    for(int i = 0; i < beanMethods.length; i++)
    log(3, "<EBA> beanMethods: " + beanMethods.getName());
    if(beanMethods[i].getName().endsWith(suffix) && beanMethods[i].getName().startsWith(prefix))
    ILink curLink = (ILink)beanMethods[i].invoke(this, null);
    links.add(curLink);
    log(3, "<EBA> ILink object " + curLink);
    catch(Exception e)
    log(3, "<EBA> Error in in getLinks()-> " + e.getMessage());
    throw new RemoveException("Error in in getLinks()" + e.getMessage());
    return links;
    protected boolean isBeanRemovable()
    return beanRemovable;
    private void setBeanRemovable(boolean removeFlag)
    beanRemovable = removeFlag;
    private void removeLinks()
    throws RemoveException
    log(3, "<EBA> in removeLinks() -> before getLinks()");
    Collection links = getLinks();
    if(!links.isEmpty())
    log(3, "<EBA> in removeLinks() -> linked objects exists");
    ILink linkToDestroy;
    for(Iterator it = links.iterator(); it.hasNext(); linkToDestroy.destroyLink())
    linkToDestroy = (ILink)it.next();
    DefaultPK class
    package it.sella.ejb;
    // Referenced classes of package it.sella.ejb:
    // IPrimaryKey
    public class DefaultPK
    implements IPrimaryKey
    public Long id;
    public DefaultPK()
    public DefaultPK(Long id)
    setId(id);
    public Long getId()
    return id;
    protected void setId(Long id)
    this.id = id;
    public String toString()
    return "Id=" + getId();
    public int hashCode()
    return getId() == null ? 0 : getId().hashCode();
    public boolean equals(Object obj)
    if(obj != null && (obj instanceof DefaultPK))
    return getId() != null && getId().equals(((DefaultPK)obj).getId());
    else
    return false;

  • Classes without packages not accepted by ejbc compilation ?

    Hey guys ...
    I noticed something which I found unusual...I mite be missing something out here
    When ejbc generates the Bean IMPL class , it does not put any import statements
    in the generated java file but references all the classes in the Bean with their
    absolute path ...
    Now ..I have a 3rd-party jar which does not have certain classes in packages...and
    I reference these classes within my Session Bean...the session bean compiles properly
    ..but when ejbc happens and the Impl class gets generated with the absolute path
    and no imports...the compiler expects to find all these 3rd-party classes without
    packages within the current session bean package itself which it will not..and
    hence throws all sorts of "cannot resolve symbol" errors...
    Does this mean that within my EJB beans I can never reference classes without
    packages or is there something I am missing..?
    Thanx,
    Krish

    Rob ,
    I agree with u that giving classes without package is not a good practise..but
    Itz got a history which believe it or not stems from another weblogic problem(related
    to webservices..)
    anywayz..that is another issue alltogether...
    I don't think this bug is fixed...coz I checked a WLS70 Impl and it is still generating
    the IMPL without the imports...
    But can u clarify..what u wud mean by "fixing the bug" ..does it mean that the
    Impl would start putting the imports..?
    Thanx,
    Krish
    Rob Woollen <[email protected]> wrote:
    I recall this bug being reported before. You might try the latest
    service pack and see if it's been fixed already. Otherwise, you'll have
    to contact [email protected]
    FWIW, it's quite disturbing that a 3rd party would give you a jar
    without a package.
    -- Rob
    Krishnan Venkataraman wrote:
    Hey guys ...
    I noticed something which I found unusual...I mite be missing
    something out here
    When ejbc generates the Bean IMPL class , it does not put any import
    statements
    in the generated java file but references all the classes in the Bean
    with their
    absolute path ...
    Now ..I have a 3rd-party jar which does not have certain classes in
    packages...and
    I reference these classes within my Session Bean...the session bean
    compiles properly
    ..but when ejbc happens and the Impl class gets generated with the
    absolute path
    and no imports...the compiler expects to find all these 3rd-party
    classes without
    packages within the current session bean package itself which it will
    not..and
    hence throws all sorts of "cannot resolve symbol" errors...
    Does this mean that within my EJB beans I can never reference classes
    without
    packages or is there something I am missing..?
    Thanx,
    Krish

  • Compiling error. help!!!!!!

    in .cc file only one statement:
    #include"dmcb.hh"
    in dmcb.hh, just one template class was defined:
    #ifndef DM_CB_h_1
    #define DM_CB_h_1
    #include<DMCBContainer.hh>
    template <class TData,class TObject>
    class DM_CB : public DM_CBContainer<TData>
    public :
    DM_CB(TObject* target_to_store )
       : target(target_to_store)
        target = target_to_store ;
      DM_CB(const DM_CB<TData,TObject>& original) :   target(original.target)
      virtual ~DM_CB()
      TObject* get_target() const {return target.resolve();};
      void* get_CBtarget() const {return target.resolve();}; 
      static os_typespec*     get_os_typespec();
    protected :
       os_Reference<TObject> target ;
    #endif then I compiled it as follow:
    CC -library=rwtools7,iostream -c dmcb.o dmcb.cc
    it report error:
    1.Error: "}" expected instead of "end of file".
    2 Use ";" to terminate declarations
    Does anybody experience such problem ? Please help me !! thank you!!

    Unfortunately, the Forum software sometimes drops things in angle brackets, so the include statement, and possibly some other code, is missing. Types os_Reference and os_typespec are not declared in the sample code. I added typedefs declaring them "int" and the code compiled OK by itself using several Sun compilers. (You don't say which compiler you are using.)
    Maybe the problem is in whatever files you are including.
    But your problem might also be related to the code organization. You are not following the Sun C++ rules for template definition files. The rules are these:
    If you separate template declarations and template definitions, put the declarations in a file T.h and the corresponding definitions in a file T.cc (or T.cpp, T.cxx, T.c). The T.c file must contain the definitions for the templates declared in T.h, and nothing else. No #include directives, no other declarations.
    When the compiler sees a declaration for template X in T.h but not a needed definition, it automatically includes file T.cc if it exists.
    This example is backwards, and runs the risk of recursive file inclusion until the compiler runs out of memory, or exceeds some other system limit.
    Try fixing the code organization first. If that does not eliminate the problem, try posting the code again putting a space before and after each "<" and ">". Also be sure to preview your post to be sure it looks the way you expect.

  • Procedure created with compilation errors. help?

    SQL> create or replace procedure p_update_audit_log
    2 ( p_audit_id audit_log.audit_id%type
    3 p_grade_update audit_log.grade_update%type
    4 p_grade audit_log.grade%type
    5 sys_date
    6 p_user_id audit_log.user_id%type
    7 is
    8 BEGIN
    9 insert into audit_log (user_id, audit_id, grade, grade_update,
    10 sys_date)
    11 values (p_user_id, p_audit_id, p_grade, p_grade_update, sys_date);
    12 END p_update_audit_log;
    13
    14
    15
    16
    17
    18 /
    Warning: Procedure created with compilation errors.
    SQL> show errors
    Errors for PROCEDURE P_UPDATE_AUDIT_LOG:
    LINE/COL ERROR
    3/1 PLS-00103: Encountered the symbol "P_GRADE_UPDATE" when expecting
    one of the following:
    := ) , default character
    The symbol "," was substituted for "P_GRADE_UPDATE" to continue.
    4/1 PLS-00103: Encountered the symbol "P_GRADE" when expecting one of
    the following:
    := ) , default character
    The symbol "," was substituted for "P_GRADE" to continue.
    5/1 PLS-00103: Encountered the symbol "SYS_DATE" when expecting one
    LINE/COL ERROR
    of the following:
    := ) , default character
    The symbol ", was inserted before "SYS_DATE" to continue.
    7/1 PLS-00103: Encountered the symbol "IS" when expecting one of the
    following:
    := ) , default character
    The symbol ")" was substituted for "IS" to continue.
    Could anyone help me with this problem?

    These are syntax errors:
    Try this
    create or replace procedure p_update_audit_log
    ( p_audit_id audit_log.audit_id%type,
    p_grade_update audit_log.grade_update%type,
    p_grade audit_log.grade%type,
    sys_date DATE,
    p_user_id audit_log.user_id%type)
    is
    BEGIN
    insert into audit_log (user_id, audit_id, grade, grade_update,
    sys_date)
    values (p_user_id, p_audit_id, p_grade, p_grade_update, sys_date);
    END p_update_audit_log;

  • Error when trying to compile HTML help

    I'm using RoboHelp 7.0 on Windows XP. All of the sudden, last
    week, I start getting the following error when I try to compile
    "Fatal Error: Unexpected error from Microsoft HTML compiler." I've
    read the other posts regarding this error and deleted the .CPD file
    multiple times and tried to compile again still with no success.
    I've uninstalled and reinstalled multiple times and not had any
    better results. The other author in my office can check the project
    out of RoboSource and compile it fine. I have it on my local drive
    when trying to compile.
    I'd appreciate any ideas. It doesn't make sense that is
    something in the project since my other author can compile it fine.
    Thanks,
    Nita

    Hi, Nita,
    Do you have any other RoboHelp projects that you can try
    compiling? This may help to determine whether there's something
    slightly askew about this particular project — sounds
    unlikely if your colleague can compile without error — or
    whether the problem lies in your RoboHelp installation.
    I'd also recommend that you run MJ's Help Diagnostics,
    available from the address below. This will verify that all the
    HTML Help viewer and compiler components are properly installed and
    registered on your machine.
    http://helpware.net/downloads/index.htm#MJs
    Pete

  • Project compile to Help

    I use italized green text for the hot spot for expanded text
    and dropdowns. I have been working on a project for three months
    and compile and save a backup every night. However, today a
    compiled project makes all my expanded and dropdowns look like
    jumps in the Help. They still perform as expected, but the
    appearance has changed and not differentiated from the jumps text.
    I have selected all topics, edited the assigned the Style Sheet
    Appearance assignment and have the same result.
    Any ideas??? Thanks

    Craig,
    I had not made any changes to styles for quite a while (month
    or more). When this event occurred, I made several attempts to edit
    the topic in the latest work completed before compiling. But each
    compile resulted in the same event.
    I selected all topics in accordance to the RoboHelp Help,
    then Properties Appearances tab. I checked all the bold items and
    they were still as original. That is, the Drop-down hotspot and
    Expanding hotspot all the same; Hyperlink + color: Green, cursor:
    hand; fint-style: italic; x-text-underline: off; x-text-overline:
    off; x-text-line-through: off; font-size: 10pt.
    Expanding text; SPAN + font-style: italic; font-weight:
    normal: color: Teal; font-size: 10pt; x-text-underline: Off;
    As a matter of fact I can select the style sheet
    (HtmlHelp.css) and make some edits, but the Apply button does not
    enable. When I made the last edit prior to my original email, I did
    check the original stype sheet. I had two listed in the projects
    tab: default.css and HtmlHelp.css. I checked the edits in the
    Appearance tab and I do not remember if the Apply button was
    active, but I assume that it was since I now only have the
    HtmlHelp.css listed in the project tab Syple Sheets folder.
    I still get the expanded and drop downs appearing in the
    color Blue and underlined just as the Hyperlink.
    Any suggestions????
    Thanks, Bruce

Maybe you are looking for

  • Essentials Connector: The server is not available after upgrade from Windows 8 Pro to Windows 8.1. Pro

    Hi all As many others I am facing also connection problems with Windows Server 2012 Essentials R2 and a windows client pc. The client pc in question, with windows 8 pro, has been successfully joined through the essentials connector to the domain. All

  • Data model 3x size increase

    I have one Excel file .xlsx with one flat table size 2Mb that I imported to another Excel file .xlsx. I first imported it only to data model in Power Pivot and saved the file as .xlsx = 4Mb (without showing it in an Excel sheet). I then removed the d

  • A problem creating a Search Help against domain table dd07v...

    At present I use FM DDIF_DOMA_GET to retrieve the Domain Values for a given field/domain. I then populate a drop-down list box with these values and use in a conventional dynpro. However, what I would like to do is create a search help against the fi

  • Downloading camera raw for elements 10

    Downloading camera... I cannot use any raw files on my elements 10. I download the update (the correct one) for my elements and every time I try to open it it comes up as an error. I would like to process in raw with my elements 10 but for some reaso

  • Using OID for tnsnames saving

    Hello. I want to use OID as a single point for tnsnames saving. So, I has installed OID without WebLogic Domain from Oracle Identity Management 11.1.1.2.0 for Linux x86 64. DB for OID is 11.1.0.7.0. As it seems, OID works, "bind successfull" and etc.