You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by leon sun <le...@zenze.cn> on 2015/06/18 05:17:54 UTC

Fwd: 请教增添模块后访问404错误的解决方法


----- 转发的邮件 -----
发件人: "leon sun" <le...@zenze.cn>
收件人: users-cn@cloudstack.apache.org
发送时间: 星期四, 2015年 6 月 18日 上午 10:54:17
主题: 请教增添模块后访问404错误的解决方法

大家好,我在源代码中通过复制和修改新增了一个用于连接虚拟平台的模块,编译后发现正常生成了jar的包,并且通过yum安装也成功了。初始化并启动cloudstack后,发现通过http://ip:8080/client访问时报404错误,我检查了/usr/share/cloudstack-management/webapps/client下,index.jsp文件存在。若不增加新模块直接编译是可以正常访问管理界面的,所以问题应该是出在增加模块上,但是一是不知既然编译安装成功了首页也存在为何报404找不到资源的错误,二是想请教正确的增加新模块的方法是什么。谢谢。

Re: Re: 请教增添模块后访问404错误的解决方法

Posted by Rajani Karuturi <ra...@apache.org>.
(Not sure if this would help) there is a wiki page describing it
https://cwiki.apache.org/confluence/display/CLOUDSTACK/UI+Plugin+Tutorial

~Rajani

2015-06-18 12:11 GMT+05:30 刘俊朋 <li...@inspur.com>:

> Hi Daan
> leon wants to know
> 1)how to add new module in the UI
> 2)he add a new module 、compile rpm package and install it. He could not
> access it from UI, the UI reports 404 erro.
>
> ________________________________
> ------------------------------------------------------------------------
> [cid:_Foxmail.1@7631afbd-bfc6-c99c-dc98-9d2f349478f2]
> 刘俊朋
> 浪潮信息 系统软件部
> TEL 15275198583
>
>
>
> 发件人: Daan Hoogland<ma...@gmail.com>
> 发送时间: 2015-06-18 13:48
> 收件人: dev<ma...@cloudstack.apache.org>
> 主题: Re: 请教增添模块后访问404错误的解决方法
>
> devs, I let this message through in spite of the language. I don't
> fully understand Leon but to me it seems he asks how to add a module
> to the UI. Http://translate.google.com told me as much.
> Maybe someone understands better and can help him.
>
> regards,
> Daan
>
> 2015-06-18 5:17 GMT+02:00 leon sun <le...@zenze.cn>:
> >
> >
> > ----- 转发的邮件 -----
> > 发件人: "leon sun" <le...@zenze.cn>
> > 收件人: users-cn@cloudstack.apache.org
> > 发送时间: 星期四, 2015年 6 月 18日 上午 10:54:17
> > 主题: 请教增添模块后访问404错误的解决方法
> >
> >
> 大家好,我在源代码中通过复制和修改新增了一个用于连接虚拟平台的模块,编译后发现正常生成了jar的包,并且通过yum安装也成功了。初始化并启动cloudstack后,发现通过
> http://ip:8080/client
> 访问时报404错误,我检查了/usr/share/cloudstack-management/webapps/client下,index.jsp文件存在。若不增加新模块直接编译是可以正常访问管理界面的,所以问题应该是出在增加模块上,但是一是不知既然编译安装成功了首页也存在为何报404找不到资源的错误,二是想请教正确的增加新模块的方法是什么。谢谢。
>
>
>
> --
> Daan
>

Re: Re: 请教增添模块后访问404错误的解决方法

Posted by 刘俊朋 <li...@inspur.com>.
Hi Daan
leon wants to know
1)how to add new module in the UI
2)he add a new module 、compile rpm package and install it. He could not access it from UI, the UI reports 404 erro.

________________________________
------------------------------------------------------------------------
[cid:_Foxmail.1@7631afbd-bfc6-c99c-dc98-9d2f349478f2]
刘俊朋
浪潮信息 系统软件部
TEL 15275198583



发件人: Daan Hoogland<ma...@gmail.com>
发送时间: 2015-06-18 13:48
收件人: dev<ma...@cloudstack.apache.org>
主题: Re: 请教增添模块后访问404错误的解决方法

devs, I let this message through in spite of the language. I don't
fully understand Leon but to me it seems he asks how to add a module
to the UI. Http://translate.google.com told me as much.
Maybe someone understands better and can help him.

regards,
Daan

2015-06-18 5:17 GMT+02:00 leon sun <le...@zenze.cn>:
>
>
> ----- 转发的邮件 -----
> 发件人: "leon sun" <le...@zenze.cn>
> 收件人: users-cn@cloudstack.apache.org
> 发送时间: 星期四, 2015年 6 月 18日 上午 10:54:17
> 主题: 请教增添模块后访问404错误的解决方法
>
> 大家好,我在源代码中通过复制和修改新增了一个用于连接虚拟平台的模块,编译后发现正常生成了jar的包,并且通过yum安装也成功了。初始化并启动cloudstack后,发现通过http://ip:8080/client访问时报404错误,我检查了/usr/share/cloudstack-management/webapps/client下,index.jsp文件存在。若不增加新模块直接编译是可以正常访问管理界面的,所以问题应该是出在增加模块上,但是一是不知既然编译安装成功了首页也存在为何报404找不到资源的错误,二是想请教正确的增加新模块的方法是什么。谢谢。



--
Daan

Re: 请教增添模块后访问404错误的解决方法

Posted by Daan Hoogland <da...@gmail.com>.
devs, I let this message through in spite of the language. I don't
fully understand Leon but to me it seems he asks how to add a module
to the UI. Http://translate.google.com told me as much.
Maybe someone understands better and can help him.

regards,
Daan

2015-06-18 5:17 GMT+02:00 leon sun <le...@zenze.cn>:
>
>
> ----- 转发的邮件 -----
> 发件人: "leon sun" <le...@zenze.cn>
> 收件人: users-cn@cloudstack.apache.org
> 发送时间: 星期四, 2015年 6 月 18日 上午 10:54:17
> 主题: 请教增添模块后访问404错误的解决方法
>
> 大家好,我在源代码中通过复制和修改新增了一个用于连接虚拟平台的模块,编译后发现正常生成了jar的包,并且通过yum安装也成功了。初始化并启动cloudstack后,发现通过http://ip:8080/client访问时报404错误,我检查了/usr/share/cloudstack-management/webapps/client下,index.jsp文件存在。若不增加新模块直接编译是可以正常访问管理界面的,所以问题应该是出在增加模块上,但是一是不知既然编译安装成功了首页也存在为何报404找不到资源的错误,二是想请教正确的增加新模块的方法是什么。谢谢。



-- 
Daan