Solved

deploy a session .....

Posted on 2004-09-09
5
257 Views
Last Modified: 2013-11-24
Hi Experts,

    I tried to deploy a session bean using Blazix EJB server .... HOwever it wouldn't work ....

 Here is my ejb.ini file. I also put the StockQuotesEjb.jar & StockQuotes.jar in ejbDir directory. Does anyone know what I missed ? Thanks !
-------------------------------------------------------------------------
# The EJB server configuration file

server.port: 2050
isNameServer: yes

ejb.protocol: JRMP

admin.port: 2051
admin.password: 1234567

license.file: C:\PROGRA~1\license.dat
tempDir: C:\PROGRA~1\ejbtemp

# EJB JAR files can be copied to this directory for automatic deployment
ejbDir: C:\PROGRA~1\ejbdir

# Alternate syntax for deploying EJB JAR files.
# Note:  Live deploying or re-deploying is only available with "ejbDir".
# ejbJar: <path-to-EJB-jar-file>

# dataSource.name: propsDataSource
# dataSource.propsDatasource.odbc: PropsOdbc

# ejbJar: C:\Documents and Settings\meow\My Documents\My Received Files\NewEJBtut\PropsEjb.jar
# ejb.Props.dataSource: propsDataSource
# ejb.Props.table: PropsTable

  ejbJar: C:\Documents and Settings\meow\My Documents\My Received Files\SessionTest\StockQuotesEjb.jar
0
Comment
Question by:meow00
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 12024041
What do you mean it wouldn't work? Do you get any error messages?
0
 
LVL 1

Author Comment

by:meow00
ID: 12024059
I can not even start the Blazix EJB server ..........
0
 
LVL 35

Accepted Solution

by:
girionis earned 200 total points
ID: 12024094
Could you start it before you tried to deploy the bean? What errors are you getting?
0
 
LVL 1

Author Comment

by:meow00
ID: 12025135
It is fixed by deleting *.jar in ejbDir directory ..... I don't know why ... but it works :-|

thanks for discussing with me
0
 
LVL 35

Expert Comment

by:girionis
ID: 12025559
:)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ejb stateless example 2 66
Need Help! Getting a syntax error and don't understand why 3 54
glassfish admin console 1 47
Running JavaFX on the Raspberry Pi 27 277
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question