kamiya sei

+ Follow
since Dec 12, 2012
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kamiya sei

HI , i have application use JavaEE when I deploy , in GlassFish Server 3.1.2 (netbean) announcemtn "SEVERE: Exception while deploying the app [Radiocabs]
SEVERE: java.lang.NullPointerException
How to resolve this
thank you
I use primeface to create gui in jsf, when I run it doesn't display althought I added a library the primaface

<html xmlns="http://www.w3.org/1999/xhtml"
<title>Facelet Title</title>


specially, when I click the link xmlns:p="http://primefaces.org/ui" it announcement "The requested URL /ui was not found on this server."

11 years ago
HI .
I'm studying EJB when I create a file session bean normally and in create interface I choosed "Remote"
It announcement below :

There is no suitable project available into which Remote interface could be stored.An open Ant-based Java Class Library project is required

So What can I do to create EJB completely

K. Tsang wrote:What does the server log say?

I read it in GlassFish Server 3.1.2
SEVERE: Module type not recognized for module C:\Users\Vostro\Desktop\EJBModule1\build\classes
SEVERE: There is no installed container capable of handling this application classes
11 years ago
HI All.
an error occurred when I deploy my EJB file , I don't know what happened even though GlassFish Server has started in services

" Starting GlassFish Server 3.1.2
GlassFish Server 3.1.2 is running.
In-place deployment at C:\Users\Vostro\Desktop\EJBModule1\build\classes
deploy?DEFAULT=C:\Users\Vostro\Desktop\EJBModule1\build\classes&name=EJBModule1&force=true failed on GlassFish Server 3.1.2
Error occurred during deployment: There is no installed container capable of handling this application classes. Please see server.log for more details.
C:\Users\Vostro\Desktop\EJBModule1\nbproject\build-impl.xml:907: The module has not been deployed.
See the server log for details. "

what can I do continue ?
Thank so much.
11 years ago

Paul Clapham wrote:And what did you find in the server log when you looked there?

yes, in GlassFish Server display
SEVERE: Exception while deploying the app [EJBModule] : Archive [EJBModule] was deployed as a Java EE archive while it does not contain any valid Java EE components. Please check the packaging of the archive.
Hi all .
I have recently sended my question , maybe it risk ,so I send again
My EJB file (I am using netbean EJB Module) which is deployed it announcement
" The module has not been deployed.
See the server log for details."

Although, I attached "GlassFish Server " in library . My question how to improve it .

I have a xml file "sample.xml"

- <Employee-detail>
- <Employee name="Aalok">
- <issued-items>
<item label="USHA" type="FAN" code="1001" />
<item label="KINGSTON" type="PEN" code="1002" />

and a ReadAttributes.java file I had just quoted from this site,

Document doc = new Builder().build(new File(file));

Nodes getXML = XQueryUtil.xquery(doc, "*");

for (int i = 0; i < getXML.size(); i++) {

Node getAll = getXML.get(i);


when I run, it display 'Aalok ' of attribute value 'Employee'. If I want to display all attribute value from xml file such as 'lable, type , code 'value how to do that ??
Hi everyone !

Now, I'm learning the Jquery lesson , but I encountered a few problems while working with it

specific, this is my code called jquerydemo.jsp and demo_test.txt file , when I click <button>Get External Content</button> it will display the content in demo_test.txt file , but it don't display content. . however if I replace $("#div1").load("demo_test.txt") by alert("Hello world!") it display "hello world ", please show me !how to resolve this code

g tsuji wrote:

Nodes students = XQueryUtil.xquery(doc, "//class/student/name[class[@name='B59B']]");

but it display <name><mark>and <grade> >

That is unlikely the outcomes of it, so not even sure why you said so.

how to just get '<name>'?

thank you.
that is what I need
HI all !

I have a file called student.xml

<center name="Softech Aptech">
- <class name="B59B">
- <student>
- <class name="B560">
- <student>

in this file , I want to get 'name' in element student Who have attribute '<class name=B59B>' .So, I use XQueryUtil to call it

Nodes students = XQueryUtil.xquery(doc, "//class/student/name[class[@name='B59B']]");

but it display <name><mark>and <grade> >

can you tell me how to just get '<name>'?

Hi all .

I have a small application called class "XPath&XQuery".

and here is my code. Because it was too long so I just quoted part of the code, so there are questions I will add later

public static void Parse() {

Document doc = new Builder().build(new File("books.xml"));

Nodes students=XQueryUtil.xquery(doc, "@*");

for (int i = 0; i < students.size(); i++) {
Node book = students.get(i);

String name = book.getValue();

System.out.println("book name is " + name);

public static void main(String[] args) {

When I run it . 'attribute node' doesn't display??

Ulf Dittmer wrote:Have you ever printed out the actual value of "node.getNodeName()"? You assume what it is, but it's better to ensure that it actually is what you think it is.

By the way, there's no point in quoting a previous message if you're the next one to reply - it is assumed that that's what you're referring to.

Ok. I will check my code again . Maybe, I have mistake in this code. Thanks you !

Ulf Dittmer wrote:But you haven't actually examined its value?

I don't understand what you mean.

So, I want to show data in xml file using DOM, how to repair this code ??? Please !
HI , it's get first node in xml file. If find node equals("name"), display textcontent.